Function ink_env::test::set_contract_rent_allowance[][src]

pub fn set_contract_rent_allowance<T>(
    account_id: T::AccountId,
    new_rent_allowance: T::Balance
) -> Result<()> where
    T: Environment

Sets the rent allowance of the contract account to the given rent allowance.

Errors

  • If account does not exist.
  • If the underlying account type does not match.
  • If the underlying new_rent_allowance type does not match.