fix(dep): update and lock revm (#1681)

This commit is contained in:
Roman Krasiuk
2023-03-09 12:43:56 +02:00
committed by GitHub
parent e494011819
commit d0b1e0aa02
3 changed files with 8 additions and 9 deletions

9
Cargo.lock generated
View File

@ -5161,7 +5161,7 @@ dependencies = [
[[package]]
name = "revm"
version = "3.0.0"
source = "git+https://github.com/bluealloy/revm#f2656b7eac6fab1cb872268bb7d0dda4b5d3aa85"
source = "git+https://github.com/bluealloy/revm?rev=b1208fee#b1208feed9cb5957dc4f1d0bda6419bcbfc6e6e8"
dependencies = [
"auto_impl",
"revm-interpreter",
@ -5171,9 +5171,8 @@ dependencies = [
[[package]]
name = "revm-interpreter"
version = "1.0.0"
source = "git+https://github.com/bluealloy/revm#f2656b7eac6fab1cb872268bb7d0dda4b5d3aa85"
source = "git+https://github.com/bluealloy/revm?rev=b1208fee#b1208feed9cb5957dc4f1d0bda6419bcbfc6e6e8"
dependencies = [
"bitvec 1.0.1",
"derive_more",
"enumn",
"revm-primitives",
@ -5183,7 +5182,7 @@ dependencies = [
[[package]]
name = "revm-precompile"
version = "2.0.0"
source = "git+https://github.com/bluealloy/revm#f2656b7eac6fab1cb872268bb7d0dda4b5d3aa85"
source = "git+https://github.com/bluealloy/revm?rev=b1208fee#b1208feed9cb5957dc4f1d0bda6419bcbfc6e6e8"
dependencies = [
"k256",
"num",
@ -5199,7 +5198,7 @@ dependencies = [
[[package]]
name = "revm-primitives"
version = "1.0.0"
source = "git+https://github.com/bluealloy/revm#f2656b7eac6fab1cb872268bb7d0dda4b5d3aa85"
source = "git+https://github.com/bluealloy/revm?rev=b1208fee#b1208feed9cb5957dc4f1d0bda6419bcbfc6e6e8"
dependencies = [
"arbitrary",
"auto_impl",

View File

@ -47,7 +47,7 @@ inherits = "release"
debug = true
[patch.crates-io]
revm = { git = "https://github.com/bluealloy/revm" }
revm-primitives = { git = "https://github.com/bluealloy/revm" }
revm = { git = "https://github.com/bluealloy/revm", rev = "b1208fee" }
revm-primitives = { git = "https://github.com/bluealloy/revm", rev = "b1208fee" }
# patched for quantity U256 responses <https://github.com/recmo/uint/issues/224>
ruint = { git = "https://github.com/paradigmxyz/uint" }

View File

@ -232,9 +232,9 @@ where
(ret, address, remaining_gas, out)
}
fn selfdestruct(&mut self) {
fn selfdestruct(&mut self, contract: Address, target: Address) {
call_inspectors!(inspector, [&mut self.custom_print_tracer], {
Inspector::<DB>::selfdestruct(inspector);
Inspector::<DB>::selfdestruct(inspector, contract, target);
});
}
}