diff --git a/src/lib.rs b/src/lib.rs index b9b779c..32e16d5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -54,8 +54,8 @@ pub trait LifeBondingContract: // NEEDS TO BE USED AS STORAGE WAS NOT IMPLEMENTED // DEVNET - self.total_bond_amount() - .set(BigUint::from(1313800000000000000000u128)); + // self.total_bond_amount() + // .set(BigUint::from(1313800000000000000000u128)); // MAINNET // self.total_bond_amount() diff --git a/src/life_bonding_sc_proxy.rs b/src/life_bonding_sc_proxy.rs index 9d9fa49..2f441e2 100644 --- a/src/life_bonding_sc_proxy.rs +++ b/src/life_bonding_sc_proxy.rs @@ -804,7 +804,7 @@ where } #[type_abi] -#[derive(TopEncode, TopDecode, NestedDecode, NestedEncode)] +#[derive(TopEncode, TopDecode, NestedDecode, NestedEncode, ManagedVecItem)] pub struct Refund where Api: ManagedTypeApi,