diff --git a/BREAKING_CHANGES.md b/BREAKING_CHANGES.md index 1c6bd20..4fa7b39 100644 --- a/BREAKING_CHANGES.md +++ b/BREAKING_CHANGES.md @@ -12,6 +12,12 @@ Entries are split by audience. A change appears under `### For Validators` when Compare and release-notes links resolve once the corresponding tag is published at [`circlefin/arc-node`](https://github.com/circlefin/arc-node). +## [v0.8.5] + +**Changes:** [v0.8.4...v0.8.5](https://github.com/circlefin/arc-node/compare/v0.8.4...v0.8.5) -- [release notes](https://github.com/circlefin/arc-node/releases/tag/v0.8.5) + +No breaking changes in this release. + ## [v0.8.4] **Changes:** [v0.8.3...v0.8.4](https://github.com/circlefin/arc-node/compare/v0.8.3...v0.8.4) -- [release notes](https://github.com/circlefin/arc-node/releases/tag/v0.8.4) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40670be..69775eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to arc-node are documented in this file. +## [v0.8.5] + +**Changes:** [v0.8.4...v0.8.5](https://github.com/circlefin/arc-node/compare/v0.8.4...v0.8.5) -- [release notes](https://github.com/circlefin/arc-node/releases/tag/v0.8.5) + +This release has no hardfork activation and no database migration. Because it corrects cached execution state, operators should upgrade promptly rather than running mixed versions for an extended period. + +### Fixes + +- [EL] Fix the execution cache discarding an account that a block deletes under EIP-161 and then recreates within the same block, which left the account's pre-deletion storage and account info cached and allowed a later read to serve a stale value. The execution layer now builds on `circlefin/arc-reth` v2.2.0-arc.2, which is v2.2.0-arc.1 plus the upstream execution-cache fix ([paradigmxyz/reth PR 28148](https://github.com/paradigmxyz/reth/pull/28148)) + ## [v0.8.4] **Changes:** [v0.8.3...v0.8.4](https://github.com/circlefin/arc-node/compare/v0.8.3...v0.8.4) -- [release notes](https://github.com/circlefin/arc-node/releases/tag/v0.8.4) diff --git a/Cargo.lock b/Cargo.lock index 0da5a2c..ee05e74 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1400,6 +1400,7 @@ dependencies = [ "reth-ethereum", "reth-ethereum-engine-primitives", "reth-ethereum-primitives", + "reth-execution-cache", "reth-node-api", "reth-node-builder", "reth-node-core", @@ -10037,7 +10038,7 @@ checksum = "1e061d1b48cb8d38042de4ae0a7a6401009d6143dc80d2e2d6f31f0bdd6470c7" [[package]] name = "reth-basic-payload-builder" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10064,7 +10065,7 @@ dependencies = [ [[package]] name = "reth-chain-state" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10096,7 +10097,7 @@ dependencies = [ [[package]] name = "reth-chainspec" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-chains", "alloy-consensus", @@ -10116,7 +10117,7 @@ dependencies = [ [[package]] name = "reth-cli" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-genesis", "clap", @@ -10129,7 +10130,7 @@ dependencies = [ [[package]] name = "reth-cli-commands" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-chains", "alloy-consensus", @@ -10212,7 +10213,7 @@ dependencies = [ [[package]] name = "reth-cli-runner" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "reth-tasks", "tokio", @@ -10222,7 +10223,7 @@ dependencies = [ [[package]] name = "reth-cli-util" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-primitives", @@ -10271,7 +10272,7 @@ dependencies = [ [[package]] name = "reth-config" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "eyre", "humantime-serde", @@ -10287,7 +10288,7 @@ dependencies = [ [[package]] name = "reth-consensus" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -10300,7 +10301,7 @@ dependencies = [ [[package]] name = "reth-consensus-common" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10313,7 +10314,7 @@ dependencies = [ [[package]] name = "reth-consensus-debug-client" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10339,7 +10340,7 @@ dependencies = [ [[package]] name = "reth-db" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "derive_more", @@ -10368,7 +10369,7 @@ dependencies = [ [[package]] name = "reth-db-api" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -10394,7 +10395,7 @@ dependencies = [ [[package]] name = "reth-db-common" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-genesis", @@ -10424,7 +10425,7 @@ dependencies = [ [[package]] name = "reth-db-models" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-primitives", @@ -10439,7 +10440,7 @@ dependencies = [ [[package]] name = "reth-discv4" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -10464,7 +10465,7 @@ dependencies = [ [[package]] name = "reth-discv5" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -10488,7 +10489,7 @@ dependencies = [ [[package]] name = "reth-dns-discovery" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "dashmap", @@ -10512,7 +10513,7 @@ dependencies = [ [[package]] name = "reth-downloaders" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10547,7 +10548,7 @@ dependencies = [ [[package]] name = "reth-e2e-test-utils" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10604,7 +10605,7 @@ dependencies = [ [[package]] name = "reth-ecies" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "aes", "alloy-primitives", @@ -10632,7 +10633,7 @@ dependencies = [ [[package]] name = "reth-engine-local" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -10655,7 +10656,7 @@ dependencies = [ [[package]] name = "reth-engine-primitives" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10680,7 +10681,7 @@ dependencies = [ [[package]] name = "reth-engine-tree" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eip7928", @@ -10737,7 +10738,7 @@ dependencies = [ [[package]] name = "reth-engine-util" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-rpc-types-engine", @@ -10765,7 +10766,7 @@ dependencies = [ [[package]] name = "reth-era" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10781,7 +10782,7 @@ dependencies = [ [[package]] name = "reth-era-downloader" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "bytes", @@ -10797,7 +10798,7 @@ dependencies = [ [[package]] name = "reth-era-utils" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -10819,7 +10820,7 @@ dependencies = [ [[package]] name = "reth-errors" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "reth-consensus", "reth-execution-errors", @@ -10830,7 +10831,7 @@ dependencies = [ [[package]] name = "reth-eth-wire" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-chains", "alloy-primitives", @@ -10859,7 +10860,7 @@ dependencies = [ [[package]] name = "reth-eth-wire-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-chains", "alloy-consensus", @@ -10884,7 +10885,7 @@ dependencies = [ [[package]] name = "reth-ethereum" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-rpc-types-engine", "alloy-rpc-types-eth", @@ -10924,7 +10925,7 @@ dependencies = [ [[package]] name = "reth-ethereum-cli" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "clap", "eyre", @@ -10947,7 +10948,7 @@ dependencies = [ [[package]] name = "reth-ethereum-consensus" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -10963,7 +10964,7 @@ dependencies = [ [[package]] name = "reth-ethereum-engine-primitives" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-primitives", @@ -10979,7 +10980,7 @@ dependencies = [ [[package]] name = "reth-ethereum-forks" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eip2124", "alloy-hardforks", @@ -10993,7 +10994,7 @@ dependencies = [ [[package]] name = "reth-ethereum-payload-builder" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11023,7 +11024,7 @@ dependencies = [ [[package]] name = "reth-ethereum-primitives" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11037,7 +11038,7 @@ dependencies = [ [[package]] name = "reth-etl" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "rayon", "reth-db-api", @@ -11047,7 +11048,7 @@ dependencies = [ [[package]] name = "reth-evm" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11071,7 +11072,7 @@ dependencies = [ [[package]] name = "reth-evm-ethereum" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11091,7 +11092,7 @@ dependencies = [ [[package]] name = "reth-execution-cache" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "fixed-cache", @@ -11109,7 +11110,7 @@ dependencies = [ [[package]] name = "reth-execution-errors" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-evm", "alloy-primitives", @@ -11122,7 +11123,7 @@ dependencies = [ [[package]] name = "reth-execution-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11141,7 +11142,7 @@ dependencies = [ [[package]] name = "reth-exex" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11179,7 +11180,7 @@ dependencies = [ [[package]] name = "reth-exex-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-primitives", @@ -11193,7 +11194,7 @@ dependencies = [ [[package]] name = "reth-fs-util" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "serde", "serde_json", @@ -11203,7 +11204,7 @@ dependencies = [ [[package]] name = "reth-invalid-block-hooks" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -11231,7 +11232,7 @@ dependencies = [ [[package]] name = "reth-ipc" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "bytes", "futures", @@ -11251,7 +11252,7 @@ dependencies = [ [[package]] name = "reth-libmdbx" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "bitflags 2.11.0", "byteorder", @@ -11268,7 +11269,7 @@ dependencies = [ [[package]] name = "reth-mdbx-sys" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "bindgen", "cc", @@ -11277,7 +11278,7 @@ dependencies = [ [[package]] name = "reth-metrics" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "futures", "metrics", @@ -11290,7 +11291,7 @@ dependencies = [ [[package]] name = "reth-net-banlist" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "ipnet", @@ -11299,7 +11300,7 @@ dependencies = [ [[package]] name = "reth-net-nat" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "futures-util", "if-addrs 0.14.0", @@ -11313,7 +11314,7 @@ dependencies = [ [[package]] name = "reth-network" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11371,7 +11372,7 @@ dependencies = [ [[package]] name = "reth-network-api" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -11396,7 +11397,7 @@ dependencies = [ [[package]] name = "reth-network-p2p" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11419,7 +11420,7 @@ dependencies = [ [[package]] name = "reth-network-peers" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -11434,7 +11435,7 @@ dependencies = [ [[package]] name = "reth-network-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eip2124", "humantime-serde", @@ -11448,7 +11449,7 @@ dependencies = [ [[package]] name = "reth-nippy-jar" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "anyhow", "bincode", @@ -11465,7 +11466,7 @@ dependencies = [ [[package]] name = "reth-node-api" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-rpc-types-engine", "eyre", @@ -11489,7 +11490,7 @@ dependencies = [ [[package]] name = "reth-node-builder" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11557,7 +11558,7 @@ dependencies = [ [[package]] name = "reth-node-core" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11612,7 +11613,7 @@ dependencies = [ [[package]] name = "reth-node-ethereum" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-network", @@ -11650,7 +11651,7 @@ dependencies = [ [[package]] name = "reth-node-ethstats" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -11674,7 +11675,7 @@ dependencies = [ [[package]] name = "reth-node-events" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11698,7 +11699,7 @@ dependencies = [ [[package]] name = "reth-node-metrics" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "bytes", "eyre", @@ -11722,7 +11723,7 @@ dependencies = [ [[package]] name = "reth-node-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "reth-chainspec", "reth-db-api", @@ -11734,7 +11735,7 @@ dependencies = [ [[package]] name = "reth-payload-builder" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -11758,7 +11759,7 @@ dependencies = [ [[package]] name = "reth-payload-builder-primitives" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "pin-project", "reth-payload-primitives", @@ -11770,7 +11771,7 @@ dependencies = [ [[package]] name = "reth-payload-primitives" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11794,7 +11795,7 @@ dependencies = [ [[package]] name = "reth-payload-validator" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-rpc-types-engine", @@ -11837,7 +11838,7 @@ dependencies = [ [[package]] name = "reth-provider" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11883,7 +11884,7 @@ dependencies = [ [[package]] name = "reth-prune" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -11912,7 +11913,7 @@ dependencies = [ [[package]] name = "reth-prune-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "arbitrary", @@ -11928,7 +11929,7 @@ dependencies = [ [[package]] name = "reth-revm" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "alloy-rlp", @@ -11943,7 +11944,7 @@ dependencies = [ [[package]] name = "reth-rpc" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-dyn-abi", @@ -12020,7 +12021,7 @@ dependencies = [ [[package]] name = "reth-rpc-api" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-genesis", @@ -12050,7 +12051,7 @@ dependencies = [ [[package]] name = "reth-rpc-builder" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-network", "alloy-provider", @@ -12093,7 +12094,7 @@ dependencies = [ [[package]] name = "reth-rpc-convert" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-evm", @@ -12113,7 +12114,7 @@ dependencies = [ [[package]] name = "reth-rpc-engine-api" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-primitives", @@ -12144,7 +12145,7 @@ dependencies = [ [[package]] name = "reth-rpc-eth-api" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-dyn-abi", @@ -12190,7 +12191,7 @@ dependencies = [ [[package]] name = "reth-rpc-eth-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -12238,7 +12239,7 @@ dependencies = [ [[package]] name = "reth-rpc-layer" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-rpc-types-engine", "http", @@ -12252,7 +12253,7 @@ dependencies = [ [[package]] name = "reth-rpc-server-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-primitives", @@ -12283,7 +12284,7 @@ dependencies = [ [[package]] name = "reth-stages" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -12335,7 +12336,7 @@ dependencies = [ [[package]] name = "reth-stages-api" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-primitives", @@ -12363,7 +12364,7 @@ dependencies = [ [[package]] name = "reth-stages-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "arbitrary", @@ -12377,7 +12378,7 @@ dependencies = [ [[package]] name = "reth-static-file" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "parking_lot", @@ -12397,7 +12398,7 @@ dependencies = [ [[package]] name = "reth-static-file-types" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "clap", @@ -12412,7 +12413,7 @@ dependencies = [ [[package]] name = "reth-storage-api" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -12436,7 +12437,7 @@ dependencies = [ [[package]] name = "reth-storage-errors" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eips 2.0.4", "alloy-primitives", @@ -12454,7 +12455,7 @@ dependencies = [ [[package]] name = "reth-tasks" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "crossbeam-utils", "dashmap", @@ -12475,7 +12476,7 @@ dependencies = [ [[package]] name = "reth-testing-utils" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -12491,7 +12492,7 @@ dependencies = [ [[package]] name = "reth-tokio-util" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "tokio", "tokio-stream", @@ -12501,7 +12502,7 @@ dependencies = [ [[package]] name = "reth-tracing" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "clap", "eyre", @@ -12518,7 +12519,7 @@ dependencies = [ [[package]] name = "reth-tracing-otlp" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "clap", "eyre", @@ -12535,7 +12536,7 @@ dependencies = [ [[package]] name = "reth-transaction-pool" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -12582,7 +12583,7 @@ dependencies = [ [[package]] name = "reth-trie" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-eips 2.0.4", @@ -12608,7 +12609,7 @@ dependencies = [ [[package]] name = "reth-trie-common" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-consensus", "alloy-primitives", @@ -12635,7 +12636,7 @@ dependencies = [ [[package]] name = "reth-trie-db" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "metrics", @@ -12655,7 +12656,7 @@ dependencies = [ [[package]] name = "reth-trie-parallel" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-eip7928", "alloy-evm", @@ -12683,7 +12684,7 @@ dependencies = [ [[package]] name = "reth-trie-sparse" version = "2.2.0" -source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.1#1502324ef3260cd39d0e5dd2da2e418ab865c46b" +source = "git+https://github.com/circlefin/arc-reth?tag=v2.2.0-arc.2#508cbdf7d6ba49b4ce735d678863897067fa381a" dependencies = [ "alloy-primitives", "alloy-rlp", diff --git a/Cargo.toml b/Cargo.toml index 846b8fb..e797db7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -171,55 +171,55 @@ rand = { version = "0.8.5", features = ["std_rng", "small_rng"] } # rand 8 for secp256k1 redb = "2.6.0" reqwest = { version = "0.13", default-features = false } -reth-basic-payload-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-chainspec = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-cli = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-cli-commands = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } +reth-basic-payload-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-chainspec = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-cli = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-cli-commands = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } reth-codecs = { version = "0.3.1" } -reth-consensus = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-consensus-common = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-db = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-db-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-e2e-test-utils = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-engine-primitives = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-errors = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-ethereum = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-ethereum-engine-primitives = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-ethereum-forks = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-ethereum-payload-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-ethereum-primitives = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-evm = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-evm-ethereum = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-execution-cache = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-fs-util = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-ipc = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-network = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-network-peers = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-node-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-node-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-node-core = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-node-ethereum = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-node-metrics = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-payload-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-payload-primitives = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } +reth-consensus = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-consensus-common = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-db = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-db-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-e2e-test-utils = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-engine-primitives = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-errors = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-ethereum = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-ethereum-engine-primitives = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-ethereum-forks = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-ethereum-payload-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-ethereum-primitives = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-evm = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-evm-ethereum = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-execution-cache = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-fs-util = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-ipc = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-network = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-network-peers = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-node-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-node-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-node-core = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-node-ethereum = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-node-metrics = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-payload-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-payload-primitives = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } reth-primitives-traits = { version = "0.3.1", default-features = false } -reth-provider = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-prune-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-revm = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-rpc = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-rpc-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-rpc-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-rpc-eth-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-rpc-eth-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-rpc-server-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-stages-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-static-file = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-static-file-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-storage-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1", default-features = false } -reth-tasks = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-tracing = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-transaction-pool = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } -reth-trie-parallel = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.1" } +reth-provider = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-prune-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-revm = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-rpc = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-rpc-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-rpc-builder = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-rpc-eth-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-rpc-eth-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-rpc-server-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-stages-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-static-file = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-static-file-types = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-storage-api = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2", default-features = false } +reth-tasks = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-tracing = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-transaction-pool = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } +reth-trie-parallel = { git = "https://github.com/circlefin/arc-reth", tag = "v2.2.0-arc.2" } # revm revm = { version = "38.0.0", default-features = false } diff --git a/crates/execution-e2e/Cargo.toml b/crates/execution-e2e/Cargo.toml index ebecf13..69f2e1e 100644 --- a/crates/execution-e2e/Cargo.toml +++ b/crates/execution-e2e/Cargo.toml @@ -59,6 +59,7 @@ tracing.workspace = true [dev-dependencies] alloy-signer.workspace = true arc-precompiles = { path = "../precompiles", features = ["integration", "test-utils"] } +reth-execution-cache.workspace = true reth-tracing.workspace = true revm-bytecode.workspace = true rstest.workspace = true diff --git a/crates/execution-e2e/tests/e2e/eip161_empty_account_clearing.rs b/crates/execution-e2e/tests/e2e/eip161_empty_account_clearing.rs index 02e4cd6..06e29e3 100644 --- a/crates/execution-e2e/tests/e2e/eip161_empty_account_clearing.rs +++ b/crates/execution-e2e/tests/e2e/eip161_empty_account_clearing.rs @@ -23,9 +23,13 @@ //! empty accounts in the trie — fails here with a state-root divergence rather //! than silently forking the network. -use alloy_primitives::{address, Address, U256}; -use alloy_rpc_types_eth::TransactionRequest; +use alloy_primitives::{address, keccak256, Address, Bytes, B256, U256}; +use alloy_rpc_types_eth::{TransactionInput, TransactionRequest}; +use alloy_signer::Signer; +use alloy_signer_local::PrivateKeySigner; +use alloy_sol_types::{sol, SolCall, SolStruct}; use arc_execution_e2e::{ArcSetup, ArcTestNode, TxKind}; +use arc_precompiles::helpers::NATIVE_FIAT_TOKEN_ADDRESS; use eyre::Result; use reth_provider::{AccountReader, StateProviderFactory}; @@ -33,6 +37,78 @@ use reth_provider::{AccountReader, StateProviderFactory}; /// leaves it empty (nonce 0, balance 0, no code). const FRESH_EOA: Address = address!("0x00000000000000000000000000000000e1610000"); +sol! { + function DOMAIN_SEPARATOR() external view returns (bytes32); + + struct TransferWithAuthorization { + address from; + address to; + uint256 value; + uint256 validAfter; + uint256 validBefore; + bytes32 nonce; + } + + function transferWithAuthorization( + address from, + address to, + uint256 value, + uint256 validAfter, + uint256 validBefore, + bytes32 nonce, + bytes signature + ) external; +} + +/// Builds an EIP-3009 authorization that drains `value` from `signer` without +/// incrementing the signer's account nonce. +pub(crate) async fn signed_drain_calldata( + node: &ArcTestNode, + signer: &PrivateKeySigner, + to: Address, + value: U256, +) -> Result { + let ret = node + .call(TransactionRequest { + to: Some(TxKind::Call(NATIVE_FIAT_TOKEN_ADDRESS)), + input: TransactionInput::new(Bytes::from(DOMAIN_SEPARATORCall {}.abi_encode())), + ..Default::default() + }) + .await?; + let domain_separator = DOMAIN_SEPARATORCall::abi_decode_returns(&ret)?; + + let auth = TransferWithAuthorization { + from: signer.address(), + to, + value, + validAfter: U256::ZERO, + validBefore: U256::MAX, + nonce: B256::repeat_byte(0x11), + }; + let digest = keccak256( + [ + [0x19u8, 0x01u8].as_slice(), + domain_separator.as_slice(), + auth.eip712_hash_struct().as_slice(), + ] + .concat(), + ); + let sig = signer.sign_hash(&digest).await?; + + Ok(Bytes::from( + transferWithAuthorizationCall { + from: auth.from, + to: auth.to, + value: auth.value, + validAfter: auth.validAfter, + validBefore: auth.validBefore, + nonce: auth.nonce, + signature: Bytes::copy_from_slice(&sig.as_bytes()), + } + .abi_encode(), + )) +} + /// A zero-value transaction to a fresh EOA touches the recipient but leaves it /// empty. The touched empty account is cleared, never persisted as an empty trie /// entry — the behavior is spec-fixed (Spurious Dragon), identical before and diff --git a/crates/execution-e2e/tests/e2e/execution_cache_recreated_account.rs b/crates/execution-e2e/tests/e2e/execution_cache_recreated_account.rs new file mode 100644 index 0000000..901342b --- /dev/null +++ b/crates/execution-e2e/tests/e2e/execution_cache_recreated_account.rs @@ -0,0 +1,191 @@ +// Copyright 2026 Circle Internet Group, Inc. All rights reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! The execution cache must hold post-block storage for an account that a block +//! deletes under EIP-161 and then recreates through an EIP-7702 delegation. + +use crate::eip161_empty_account_clearing::signed_drain_calldata; +use alloy_eips::eip7702::Authorization; +use alloy_network::ReceiptResponse; +use alloy_primitives::{address, hex, Address, Bytes, B256, U256}; +use alloy_rpc_types_eth::{TransactionInput, TransactionRequest}; +use alloy_signer::SignerSync; +use alloy_signer_local::PrivateKeySigner; +use arc_execution_config::chain_ids::LOCALDEV_CHAIN_ID; +use arc_execution_e2e::{ArcSetup, ArcTestNode, TxKind}; +use arc_precompiles::helpers::NATIVE_FIAT_TOKEN_ADDRESS; +use eyre::Result; +use reth_execution_cache::{CachedStatus, ExecutionCache}; +use reth_provider::{BlockHashReader, StateProvider, StateProviderFactory}; +use std::convert::Infallible; + +/// Slot the delegate code writes. +const SLOT: U256 = U256::from_limbs([1, 0, 0, 0]); + +/// Value the delegate code writes to [`SLOT`]. +const WRITTEN: U256 = U256::from_limbs([7, 0, 0, 0]); + +/// Receives the drained balance. +const DRAIN_DESTINATION: Address = address!("0x00000000000000000000000000000000ca5e0001"); + +/// Init code that deploys `PUSH1 7 PUSH1 1 SSTORE STOP`. +const DELEGATE_INIT_CODE: [u8; 15] = hex!("656007600155006000526006601af3"); + +/// Block N drains an EOA to empty (EIP-161 deletes it), then recreates it with a +/// delegation whose code writes [`SLOT`]. A prewarm read of the slot against the +/// parent state caches zero; applying block N's state must replace it. +#[tokio::test] +async fn recreated_account_storage_replaces_prewarmed_cache_entry() -> Result<()> { + reth_tracing::init_test_tracing(); + + let mut node = ArcTestNode::start(ArcSetup::new()).await?; + let funder = node.wallet_signer(0)?; + let eoa = PrivateKeySigner::random(); + + let delegate = funder + .address() + .create(node.nonce(funder.address(), None).await?); + let deploy_tx = node + .send_tx( + funder.clone(), + TransactionRequest { + from: Some(funder.address()), + to: Some(TxKind::Create), + input: TransactionInput::new(Bytes::from_static(&DELEGATE_INIT_CODE)), + gas: Some(200_000), + ..Default::default() + }, + ) + .await?; + let fund_tx = node + .send_tx( + funder.clone(), + TransactionRequest { + from: Some(funder.address()), + to: Some(TxKind::Call(eoa.address())), + value: Some(U256::from(1_000_000_000_000_000_000u64)), + ..Default::default() + }, + ) + .await?; + node.produce_block().await?; + assert!(node.get_receipt(deploy_tx).await?.status()); + assert!(node.get_receipt(fund_tx).await?.status()); + assert_eq!( + node.get_receipt(deploy_tx).await?.contract_address(), + Some(delegate), + "delegate was not deployed at the expected address" + ); + + let drain_calldata = + signed_drain_calldata(&node, &eoa, DRAIN_DESTINATION, U256::from(1_000_000u64)).await?; + let drain_tx = node + .send_tx( + funder.clone(), + TransactionRequest { + from: Some(funder.address()), + to: Some(TxKind::Call(NATIVE_FIAT_TOKEN_ADDRESS)), + input: TransactionInput::new(drain_calldata), + gas: Some(500_000), + ..Default::default() + }, + ) + .await?; + let authorization = Authorization { + chain_id: U256::from(LOCALDEV_CHAIN_ID), + address: delegate, + nonce: 0, + }; + let signature = eoa.sign_hash_sync(&authorization.signature_hash())?; + let recreate_tx = node + .send_tx( + funder.clone(), + TransactionRequest { + from: Some(funder.address()), + to: Some(TxKind::Call(eoa.address())), + authorization_list: Some(vec![authorization.into_signed(signature)]), + gas: Some(200_000), + ..Default::default() + }, + ) + .await?; + node.produce_block().await?; + let drain_receipt = node.get_receipt(drain_tx).await?; + let recreate_receipt = node.get_receipt(recreate_tx).await?; + assert!(drain_receipt.status(), "drain reverted"); + assert!(recreate_receipt.status(), "recreate reverted"); + let block_n = recreate_receipt + .block_number + .ok_or_else(|| eyre::eyre!("recreate receipt is missing its block number"))?; + assert_eq!( + drain_receipt.block_number, + Some(block_n), + "drain and recreate must share a block" + ); + assert_eq!( + node.storage_at(eoa.address(), SLOT, None).await?, + B256::from(WRITTEN) + ); + + let provider = node.node.inner.provider(); + let block_state = provider + .canonical_in_memory_state() + .state_by_number(block_n) + .ok_or_else(|| eyre::eyre!("block {block_n} is not in memory"))?; + let bundle = &block_state.block_ref().execution_output.state; + let account = bundle + .account(&eoa.address()) + .ok_or_else(|| eyre::eyre!("block {block_n} did not change the EOA"))?; + assert!(account.was_destroyed(), "EIP-161 did not delete the EOA"); + assert!( + account.info.is_some(), + "the delegation did not recreate the EOA" + ); + assert!( + account + .original_info + .as_ref() + .is_none_or(|info| info.is_empty_code_hash()), + "the EOA had code before block {block_n}" + ); + + let cache = ExecutionCache::new(1_000_000); + let parent_hash = provider + .block_hash(block_n - 1)? + .ok_or_else(|| eyre::eyre!("block {} is not known", block_n - 1))?; + let parent = provider.state_by_block_hash(parent_hash)?; + // Prewarm runs the delegation against the parent state and fills the cache on miss. + let prewarmed = + cache.get_or_try_insert_storage_with(eoa.address(), B256::from(SLOT), || { + parent + .storage(eoa.address(), B256::from(SLOT)) + .map(Option::unwrap_or_default) + })?; + assert!(matches!(prewarmed, CachedStatus::NotCached(v) if v.is_zero())); + + cache + .insert_state(bundle) + .map_err(|()| eyre::eyre!("insert_state rejected block {block_n}"))?; + + let cached = cache.get_or_try_insert_storage_with(eoa.address(), B256::from(SLOT), || { + Ok::<_, Infallible>(U256::MAX) + })?; + assert!( + matches!(cached, CachedStatus::Cached(v) if v == WRITTEN), + "execution cache holds {cached:?} for the recreated EOA's slot, database holds {WRITTEN}" + ); + Ok(()) +} diff --git a/crates/execution-e2e/tests/e2e/main.rs b/crates/execution-e2e/tests/e2e/main.rs index ccc3b50..29f2858 100644 --- a/crates/execution-e2e/tests/e2e/main.rs +++ b/crates/execution-e2e/tests/e2e/main.rs @@ -33,6 +33,7 @@ mod eip7708_payload_validation; mod eip7708_precompile; mod eip7708_zero_address; mod evict_unincludable_txs; +mod execution_cache_recreated_account; mod gas_limit_validation; mod hardfork_transition; mod helpers;