diff --git a/frame/evm/src/tests.rs b/frame/evm/src/tests.rs index d858df293c..80636648d9 100644 --- a/frame/evm/src/tests.rs +++ b/frame/evm/src/tests.rs @@ -703,13 +703,11 @@ mod storage_growth_test { let result = create_test_contract(PROOF_SIZE_TEST_CALLEE_CONTRACT_BYTECODE, gas_limit) .expect("create succeeds"); - // Assert that the legacy gas is lower than the gas limit. - assert!(result.used_gas.standard < U256::from(gas_limit)); assert_eq!( result.exit_reason, crate::ExitReason::Error(crate::ExitError::OutOfGas) ); - assert_eq!(result.used_gas.effective.as_u64(), 78485); + assert_eq!(result.used_gas.effective.as_u64(), 80000); // Assert that the contract entry does not exists in the storage. assert!(!AccountCodes::::contains_key(result.value)); });