diff --git a/Cargo.lock b/Cargo.lock index b97fdc9e1..6744f0079 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3606,7 +3606,7 @@ dependencies = [ [[package]] name = "evm" version = "0.39.1" -source = "git+https://github.com/rust-blockchain/evm?rev=e85c34f96e3237c09955193b41154030b78119c5#e85c34f96e3237c09955193b41154030b78119c5" +source = "git+https://github.com/rust-blockchain/evm?rev=b7b82c7e1fc57b7449d6dfa6826600de37cc1e65#b7b82c7e1fc57b7449d6dfa6826600de37cc1e65" dependencies = [ "auto_impl", "environmental", @@ -3626,7 +3626,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.39.0" -source = "git+https://github.com/rust-blockchain/evm?rev=e85c34f96e3237c09955193b41154030b78119c5#e85c34f96e3237c09955193b41154030b78119c5" +source = "git+https://github.com/rust-blockchain/evm?rev=b7b82c7e1fc57b7449d6dfa6826600de37cc1e65#b7b82c7e1fc57b7449d6dfa6826600de37cc1e65" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3637,7 +3637,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.39.0" -source = "git+https://github.com/rust-blockchain/evm?rev=e85c34f96e3237c09955193b41154030b78119c5#e85c34f96e3237c09955193b41154030b78119c5" +source = "git+https://github.com/rust-blockchain/evm?rev=b7b82c7e1fc57b7449d6dfa6826600de37cc1e65#b7b82c7e1fc57b7449d6dfa6826600de37cc1e65" dependencies = [ "environmental", "evm-core", @@ -3684,7 +3684,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.39.0" -source = "git+https://github.com/rust-blockchain/evm?rev=e85c34f96e3237c09955193b41154030b78119c5#e85c34f96e3237c09955193b41154030b78119c5" +source = "git+https://github.com/rust-blockchain/evm?rev=b7b82c7e1fc57b7449d6dfa6826600de37cc1e65#b7b82c7e1fc57b7449d6dfa6826600de37cc1e65" dependencies = [ "auto_impl", "environmental", diff --git a/modules/evm-utility/Cargo.toml b/modules/evm-utility/Cargo.toml index 7e3fb8208..f7a7a5992 100644 --- a/modules/evm-utility/Cargo.toml +++ b/modules/evm-utility/Cargo.toml @@ -9,9 +9,9 @@ sha3 = { workspace = true } sp-std = { workspace = true } -evm = { git = "https://github.com/rust-blockchain/evm", rev = "e85c34f96e3237c09955193b41154030b78119c5", default-features = false, features = ["with-codec"] } -evm-gasometer = { git = "https://github.com/rust-blockchain/evm", rev = "e85c34f96e3237c09955193b41154030b78119c5", default-features = false } -evm-runtime = { git = "https://github.com/rust-blockchain/evm", rev = "e85c34f96e3237c09955193b41154030b78119c5", default-features = false } +evm = { git = "https://github.com/rust-blockchain/evm", rev = "b7b82c7e1fc57b7449d6dfa6826600de37cc1e65", default-features = false, features = ["with-codec"] } +evm-gasometer = { git = "https://github.com/rust-blockchain/evm", rev = "b7b82c7e1fc57b7449d6dfa6826600de37cc1e65", default-features = false } +evm-runtime = { git = "https://github.com/rust-blockchain/evm", rev = "b7b82c7e1fc57b7449d6dfa6826600de37cc1e65", default-features = false } #evm = { version = "0.41.1", default-features = false, features = ["with-codec"] } #evm-gasometer = { version = "0.41.0", default-features = false } #evm-runtime = { version = "0.41.0", default-features = false } diff --git a/modules/evm/src/runner/state.rs b/modules/evm/src/runner/state.rs index 690ef9f2a..3f9e671a9 100644 --- a/modules/evm/src/runner/state.rs +++ b/modules/evm/src/runner/state.rs @@ -350,6 +350,10 @@ pub trait StackState<'config>: Backend { H256::from_slice(Keccak256::digest(self.code(address)).as_slice()) } + fn record_external_operation(&mut self, _op: crate::ExternalOperation) -> Result<(), ExitError> { + Ok(()) + } + fn record_external_dynamic_opcode_cost( &mut self, _opcode: Opcode,