pub fn mocked_account(account_hash: AccountHash) -> Vec<(Key, StoredValue)> {
    let purse = URef::new([0u8; 32], AccessRights::READ_ADD_WRITE);
    let account = Account::create(account_hash, NamedKeys::new(), purse);
    vec![(Key::Account(account_hash), StoredValue::Account(account))]
}
/// Returns an account value paired with its key
Returns an account value paired with its key
Returns an account value paired with its key
pub fn mocked_account(account_hash: AccountHash) -> Vec<(Key, StoredValue)> {
    let purse = URef::new([0u8; 32], AccessRights::READ_ADD_WRITE);
    let account = Account::create(account_hash, NamedKeys::new(), purse);
    vec![(Key::Account(account_hash), StoredValue::Account(account))]
}
pub fn mocked_account ( account_hash : AccountHash ) -> Vec < ( Key , StoredValue ) > { let purse = URef :: new ( [ 0u8 ; 32 ] , AccessRights :: READ_ADD_WRITE ) ; let account = Account :: create ( account_hash , NamedKeys :: new ( ) , purse ) ; vec ! [ ( Key Account ( account_hash ) StoredValue Account ( account ) ) ] }
Returns an account value paired with its key
Returns an account value paired with its key
account_hash
AccountHash
account_hash
AccountHash