From b3c6ae6453f8728abc23dd9ad9eef1f89aaa06ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Chuda=C5=9B?= Date: Wed, 1 Nov 2023 14:56:37 +0100 Subject: [PATCH] trying_to_create_implicit_account fee for eth-implicit --- integration-tests/src/tests/standard_cases/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/integration-tests/src/tests/standard_cases/mod.rs b/integration-tests/src/tests/standard_cases/mod.rs index e7cd20cc8b4..5fbc75d9076 100644 --- a/integration-tests/src/tests/standard_cases/mod.rs +++ b/integration-tests/src/tests/standard_cases/mod.rs @@ -414,7 +414,6 @@ pub fn trying_to_create_implicit_account(node: impl Node, public_key: PublicKey) ) .unwrap(); - let fail_cost = fee_helper.create_account_transfer_full_key_cost_fail_on_create_account(); let create_account_fee = fee_helper.cfg().fee(ActionCosts::create_account).send_fee(false); let add_access_key_fee = fee_helper .cfg() @@ -423,10 +422,12 @@ pub fn trying_to_create_implicit_account(node: impl Node, public_key: PublicKey) let cost = match receiver_id.get_account_type() { AccountType::NearImplicitAccount => { - fail_cost + fee_helper.gas_to_balance(create_account_fee + add_access_key_fee) + fee_helper.create_account_transfer_full_key_cost_fail_on_create_account() + + fee_helper.gas_to_balance(create_account_fee + add_access_key_fee) } AccountType::EthImplicitAccount => { - fail_cost + fee_helper.gas_to_balance(create_account_fee) + fee_helper.create_account_transfer_cost_fail_on_create_account() + + fee_helper.gas_to_balance(create_account_fee) } AccountType::NamedAccount => std::panic!("must be implicit"), };