From 4c81d34dedb1749cf0f6b1b346444c9a03a79f57 Mon Sep 17 00:00:00 2001 From: Akase Haruka Date: Tue, 29 Oct 2024 15:59:40 +0800 Subject: [PATCH] chore: v44 upgrade (#31) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(eof): simplify magic checks (#1633) * perf(eof): avoid some allocations (#1632) * perf(eof): avoid some allocations * Update crates/primitives/src/bytecode/eof.rs * chore: fix some typos & remove useless Arc::clone (#1621) * chore: fix some typos * chore: remove useless Arc::clone * refactor: use `is_zero` for `U256` and `B256` (#1638) * refactor: use is_zero for U256 and B256 * fmt * Update crates/interpreter/src/instructions/arithmetic.rs Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * fix deref * move import --------- Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * feat(interpreter): derive traits on FunctionStack (#1640) * chore: Renamed some city name (#1645) * perf: avoid cloning original_bytes (#1646) * fix(eof): deny static context in EOFCREATE (#1644) * feat: use batch bn256 pair operation (#1643) * feat: use batch bn256 pair operation We are currently not taking advantage of the batch pair operation from the `bn` library for the pairing check precompile. This yields a ~27% speedup on the existing bench: ``` Crypto Precompile benchmarks/precompile bench | ecpairing precompile time: [2.2389 ms 2.2441 ms 2.2495 ms] change: [-27.689% -27.469% -27.227%] (p = 0.00 < 0.05) Performance has improved. ``` * use with_capacity * import vec * feat(EOF): implement std::error::Error trait for EofValidationError and EofError (#1649) * feat: implement Error trait for EofValidationError * feat: implement Error trait for EofError * fix: remove unused import * fix: remove format macro * chore(deps): bump thiserror from 1.0.62 to 1.0.63 (#1651) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.62 to 1.0.63. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.0 to 1.38.1 (#1650) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.38.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(EOF): Overflow on num_sections (#1656) * fix(EOF): Overflow on num_sections * fix test * fmt/clippy * feat(EOF): EOF Validation add code type and sub container tracker (#1648) * feat(EOF): EOF Validation add code type and sub container tracker * fix * omit tests * fix some things, bump test suite * fix(EOF): Overflow on num_sections * cleanup fmt * clippy * fix tests * Run EOF validation tests * fix(statetest): Add back Merge spec (#1658) * fix(EOF): Validate code access in stack (#1659) * wip: test * fix(EOF): Validate code access in stack * add code access * feat(EOF): Add EOF validation in revme bytecode cmd (#1660) * chore(clippy): 1.80 rust clippy list paragraph ident (#1661) * feat(EOF): Add non-returning CALLF/JUMPF checks (#1663) * feat(EOF): Add non-returning CALLF/JUMPF checks * fix tests * fix(EOF): returning to non-returning jumpf, enable valition error (#1664) * fix: add DATACOPY to OpCode::modifies_memory (#1639) * chore(eof): Add opcodes that expand memory (#1665) * fix(statetest): make bytecode analyzed (#1666) * chore(deps): bump serde_json from 1.0.120 to 1.0.121 (#1667) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.120 to 1.0.121. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.1 to 1.39.2 (#1668) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.1 to 1.39.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.39.2) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump blst from 0.3.12 to 0.3.13 (#1669) Bumps [blst](https://github.com/supranational/blst) from 0.3.12 to 0.3.13. - [Release notes](https://github.com/supranational/blst/releases) - [Commits](https://github.com/supranational/blst/compare/v0.3.12...v0.3.13) --- updated-dependencies: - dependency-name: blst dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump serde_json from 1.0.121 to 1.0.122 (#1678) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.121 to 1.0.122. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.121...v1.0.122) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump alloy-eips from 0.2.0 to 0.2.1 (#1679) Bumps [alloy-eips](https://github.com/alloy-rs/alloy) from 0.2.0 to 0.2.1. - [Release notes](https://github.com/alloy-rs/alloy/releases) - [Changelog](https://github.com/alloy-rs/alloy/blob/main/CHANGELOG.md) - [Commits](https://github.com/alloy-rs/alloy/compare/v0.2.0...v0.2.1) --- updated-dependencies: - dependency-name: alloy-eips dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump regex from 1.10.5 to 1.10.6 (#1682) Bumps [regex](https://github.com/rust-lang/regex) from 1.10.5 to 1.10.6. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rstest from 0.21.0 to 0.22.0 (#1681) Bumps [rstest](https://github.com/la10736/rstest) from 0.21.0 to 0.22.0. - [Release notes](https://github.com/la10736/rstest/releases) - [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md) - [Commits](https://github.com/la10736/rstest/compare/v0.21.0...v0.22.0) --- updated-dependencies: - dependency-name: rstest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add EOF Layout Fuzz Loop to `revme bytecode` (#1677) * Add EOF Layout Fuzz Loop to `bytecode` Update `revme` so that when `bytecode` is called without arguments it goes into the standard * Add size check in fuzzer * code format * chore: introduce bytecode initcode/runtime cli flags * docs: improve `InstructionResult` documentation (#1673) * docs: improve `InstructionResult` documentation * chore: clean up * Add OP-Granite hardfork, limiting bn256Pairing input size (#1685) * Add OP-Granite hardfork, limiting bn256Pairing input size * Move optimism-specific bn128 precompile * feat: check for typos in CI (#1686) Co-authored-by: adria0 * feat(EOF): add evmone test suite (#1689) * feat(EOF): add evmone test suite * pass all tests * multiple paths for eof-validations * path to eest eof validations tests * feat(EOF): Run EOF tests from eth/tests (#1690) * chore: release (#1683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: tag v41 revm v13.0.0 (#1692) * fix(CI): types check (#1693) * fix(CI): types check * Typos * chore(deps): bump alloy-provider from 0.2.0 to 0.2.1 (#1680) Bumps [alloy-provider](https://github.com/alloy-rs/alloy) from 0.2.0 to 0.2.1. - [Release notes](https://github.com/alloy-rs/alloy/releases) - [Changelog](https://github.com/alloy-rs/alloy/blob/main/CHANGELOG.md) - [Commits](https://github.com/alloy-rs/alloy/compare/v0.2.0...v0.2.1) --- updated-dependencies: - dependency-name: alloy-provider dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Revert "chore(deps): bump alloy-provider from 0.2.0 to 0.2.1 (#1680)" (#1696) This reverts commit 0a5be93f56ffd1cf2e450426c5bc2aac015b2042. * chore(deps): bump alloy-transport from 0.2.0 to 0.2.1 (#1698) Bumps [alloy-transport](https://github.com/alloy-rs/alloy) from 0.2.0 to 0.2.1. - [Release notes](https://github.com/alloy-rs/alloy/releases) - [Changelog](https://github.com/alloy-rs/alloy/blob/main/CHANGELOG.md) - [Commits](https://github.com/alloy-rs/alloy/compare/v0.2.0...v0.2.1) --- updated-dependencies: - dependency-name: alloy-transport dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump enumn from 0.1.13 to 0.1.14 (#1701) Bumps [enumn](https://github.com/dtolnay/enumn) from 0.1.13 to 0.1.14. - [Release notes](https://github.com/dtolnay/enumn/releases) - [Commits](https://github.com/dtolnay/enumn/compare/0.1.13...0.1.14) --- updated-dependencies: - dependency-name: enumn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * doc: update some docs related to state (#1711) * chore: clean up some journalstate docs (#1712) * chore(deps): bump bytes from 1.6.1 to 1.7.1 (#1700) Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.6.1 to 1.7.1. - [Release notes](https://github.com/tokio-rs/bytes/releases) - [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/bytes/compare/v1.6.1...v1.7.1) --- updated-dependencies: - dependency-name: bytes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: switch gas check order in blake2 precompile (#1718) * chore(deps): bump serde from 1.0.204 to 1.0.209 (#1717) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.204 to 1.0.209. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.209) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: fix spelling issues (#1715) * Update memory.md * Update bits.md * Update kzg.md * Update documentation/src/crates/primitives/kzg.md Co-authored-by: Oliver * Update bits.md --------- Co-authored-by: Oliver * feat: c-kzg bump, cleanup on kzgsetting (#1719) * chore: bump c-kzg v2.0.0 * feat: cleanup c-kzg kzgsetting * rm kzg-rs from no_std check * chore: bump `kzg-rs` version (#1726) * chore: bump `kzg-rs` version * fix: remove serde req * ci: check `kzg-rs` in no-std mode * chore: update kzg-rs dep * Update .github/workflows/ci.yml * Update .github/workflows/ci.yml * chore: cast block number to u64 and not usize (#1727) * fix: cast block number to u64 and not usize * clippy * feat(eip7702): Impl newest version of EIP (#1695) * latest eip7702 wip * add code loading handler * WIP adding is_delegate_cold flag * feat: add StateLoad and Eip7702CodeLoad * feat: add gas accounting among other things * clippy,fmt, op test * path to latest alloy-eips * comment eip7702 decode tests * Eip7702 format starts with 0xEF0100 * typo * fix(eip7702): fix empty or eip7702 code check * Type Eip7702s to Eip7702 * Corrent comments * switch new and new_raw Eip7702Bytecode * propagate last commit * nit: rename fn * fix(eip7702): set delegated code on call (#1706) * type change, return eip7702 raw on Bytecode::bytecode * eip7702 delegation test * Cleanup, refactor sstore gas calc * doc * chore: add AuthList json format * fix initial eip7702 gas, fix eip7702 refund on revert * small refactor * fix refund cnt * error handling, EIP-3607 fix, wip on auth validity * add auth validity check, fix EIP-3607 fix * switch tests * missing comment * fix tests * rm println * remove skip of required fields * docs, test meta dat * chore(deps): bump alloy and primitives (#1725) * latest eip7702 wip * add code loading handler * WIP adding is_delegate_cold flag * feat: add StateLoad and Eip7702CodeLoad * feat: add gas accounting among other things * clippy,fmt, op test * path to latest alloy-eips * comment eip7702 decode tests * Eip7702 format starts with 0xEF0100 * typo * fix(eip7702): fix empty or eip7702 code check * Type Eip7702s to Eip7702 * Corrent comments * switch new and new_raw Eip7702Bytecode * propagate last commit * nit: rename fn * fix(eip7702): set delegated code on call (#1706) * type change, return eip7702 raw on Bytecode::bytecode * eip7702 delegation test * Cleanup, refactor sstore gas calc * doc * chore: add AuthList json format * chore(deps): bump alloy * fix initial eip7702 gas, fix eip7702 refund on revert * small refactor * fix refund cnt * error handling, EIP-3607 fix, wip on auth validity * rm patches * add auth validity check, fix EIP-3607 fix * switch tests * missing comment * fix tests * rm println * remove skip of required fields * docs, test meta dat * chore: release (#1722) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog (#1730) * bump to newest eof eest tests pr-756 (#1733) * chore: bump kzg-rs version (#1734) * chore: Bump new logo (#1735) * chore: release (#1729) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog * funding.json * chore(deps): bump serde_json from 1.0.122 to 1.0.127 (#1737) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.122 to 1.0.127. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.122...1.0.127) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.39.2 to 1.40.0 (#1739) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.39.2 to 1.40.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.40.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump reqwest from 0.12.5 to 0.12.7 (#1740) Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.5 to 0.12.7. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.5...v0.12.7) --- updated-dependencies: - dependency-name: reqwest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump alloy-rlp from 0.3.7 to 0.3.8 (#1738) Bumps [alloy-rlp](https://github.com/alloy-rs/rlp) from 0.3.7 to 0.3.8. - [Changelog](https://github.com/alloy-rs/rlp/blob/main/CHANGELOG.md) - [Commits](https://github.com/alloy-rs/rlp/compare/v0.3.7...v0.3.8) --- updated-dependencies: - dependency-name: alloy-rlp dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add test for `revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord` (#1743) * Add test for revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord * Fix lint * fix(inspector): always call selfdestruct if entry is made (#1746) Signed-off-by: jsvisa * chore: add gitattributes linguist-vendored for tests (#1750) * chore: add `.gitattributes` (#1751) * Test l1 gas used fjord (#1749) * Fix docs * Verify calculation of data gas cost for tx in fjord block * feat(statetest): enable EOF in Prague tests (#1753) * feat(statetest): enable EOF in Prague tests * statetest json PragueEOF to Prague * chore: make clippy happy (#1755) * chore(revm): elided lifetime has a name Signed-off-by: jsvisa * clipy: map to inspect Signed-off-by: jsvisa * fix all clippy warnings Signed-off-by: jsvisa * typo Signed-off-by: jsvisa --------- Signed-off-by: jsvisa * chore(deps): bump secp256k1 from 0.29.0 to 0.29.1 (#1758) Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) from 0.29.0 to 0.29.1. - [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/secp256k1-0.29.1/CHANGELOG.md) - [Commits](https://github.com/rust-bitcoin/rust-secp256k1/compare/secp256k1-0.29.0...secp256k1-0.29.1) --- updated-dependencies: - dependency-name: secp256k1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump alloy-primitives from 0.8.0 to 0.8.2 (#1761) Bumps [alloy-primitives](https://github.com/alloy-rs/core) from 0.8.0 to 0.8.2. - [Release notes](https://github.com/alloy-rs/core/releases) - [Changelog](https://github.com/alloy-rs/core/blob/main/CHANGELOG.md) - [Commits](https://github.com/alloy-rs/core/compare/v0.8.0...v0.8.2) --- updated-dependencies: - dependency-name: alloy-primitives dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump anyhow from 1.0.86 to 1.0.87 (#1760) Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.86 to 1.0.87. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.87) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump alloy-sol-types from 0.8.0 to 0.8.2 (#1762) Bumps [alloy-sol-types](https://github.com/alloy-rs/core) from 0.8.0 to 0.8.2. - [Release notes](https://github.com/alloy-rs/core/releases) - [Changelog](https://github.com/alloy-rs/core/blob/main/CHANGELOG.md) - [Commits](https://github.com/alloy-rs/core/compare/v0.8.0...v0.8.2) --- updated-dependencies: - dependency-name: alloy-sol-types dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump alloy-provider from 0.3.0 to 0.3.1 (#1759) Bumps [alloy-provider](https://github.com/alloy-rs/alloy) from 0.3.0 to 0.3.1. - [Release notes](https://github.com/alloy-rs/alloy/releases) - [Changelog](https://github.com/alloy-rs/alloy/blob/main/CHANGELOG.md) - [Commits](https://github.com/alloy-rs/alloy/compare/v0.3.0...v0.3.1) --- updated-dependencies: - dependency-name: alloy-provider dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: release-plz update * chore: release v44 bump main CHANGELOG --------- Signed-off-by: dependabot[bot] Signed-off-by: jsvisa Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Co-authored-by: jakevin Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Co-authored-by: ioterw Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com> Co-authored-by: PA <50184410+peyha@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: rakita Co-authored-by: Arsenii Kulikov Co-authored-by: Danno Ferrin Co-authored-by: Léo Vincent <28714795+leovct@users.noreply.github.com> Co-authored-by: Brian Bland Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com> Co-authored-by: adria0 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Prestwich Co-authored-by: Oliver Co-authored-by: HAPPY Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com> Co-authored-by: Bhargav Annem Co-authored-by: rakita Co-authored-by: Emilia Hane Co-authored-by: Delweng Co-authored-by: Roman Krasiuk Co-authored-by: Emilia Hane --- .gitattributes | 3 + CHANGELOG.md | 34 ++-- Cargo.lock | 154 +++++++----------- bins/revm-test/CHANGELOG.md | 107 ++++++++++++ bins/revm-test/Cargo.toml | 4 +- bins/revme/CHANGELOG.md | 6 + bins/revme/Cargo.toml | 4 +- bins/revme/src/cmd/statetest/models/spec.rs | 2 - bins/revme/src/cmd/statetest/runner.rs | 12 +- crates/interpreter/CHANGELOG.md | 6 + crates/interpreter/Cargo.toml | 4 +- crates/interpreter/src/function_stack.rs | 6 +- .../src/instructions/arithmetic.rs | 2 + crates/precompile/CHANGELOG.md | 6 + crates/precompile/Cargo.toml | 4 +- crates/precompile/src/hash.rs | 18 +- crates/primitives/CHANGELOG.md | 6 + crates/primitives/Cargo.toml | 4 +- crates/revm/CHANGELOG.md | 15 ++ crates/revm/Cargo.toml | 12 +- .../revm/src/context/context_precompiles.rs | 2 +- crates/revm/src/db/states/account_status.rs | 13 ++ crates/revm/src/evm.rs | 11 +- crates/revm/src/inspector/handler_register.rs | 29 ++-- crates/revm/src/optimism/l1block.rs | 38 ++++- funding.json | 5 + tests/eof_suite/eest/fixtures.ini | 27 --- 27 files changed, 359 insertions(+), 175 deletions(-) create mode 100644 .gitattributes create mode 100644 funding.json delete mode 100644 tests/eof_suite/eest/fixtures.ini diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..2bb6dcc6de --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +assets/** linguist-vendored +documentation/** linguist-vendored +tests/** linguist-vendored \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ec0a83025..611feda0f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,29 @@ Because this is workspace with multi libraries, tags will be simplified, and with this document you can match version of project with git tag. +# v44 tag +date: 18.09.2024 + +Small maintenance release. +Code can be found in release/v44 branch. +Fixes bug with Inspector selfdestruct not called every time, and enabled PRAGUE_EOF in statetest for PRAGUE tests. + +* `revme`: 0.10.1 -> 0.10.2 +* `revm`: 14.0.1 -> 14.0.2 +* `revm-interpreter`: 10.0.1 -> 10.0.2 +* `revm-primitives`: 9.0.1 -> 9.0.2 +* `revm-precompile`: 11.0.1 -> 11.0.2 +* `revm-test`: 0.1.0 + # v43 tag date: 30.08.2024 Logo change and doc fix. -* revm: 14.0.0 -> 14.0.1 -* revm-interpreter: 10.0.0 -> 10.0.1 -* revm-primitives: 9.0.0 -> 9.0.1 -* revm-precompile: 11.0.0 -> 11.0.1 -* revme: 0.10.0 -> 0.10.1 +* `revm`: 14.0.0 -> 14.0.1 +* `revm-interpreter`: 10.0.0 -> 10.0.1 +* `revm-primitives`: 9.0.0 -> 9.0.1 +* `revm-precompile`: 11.0.0 -> 11.0.1 +* `revme`: 0.10.0 -> 0.10.1 # v42 tag date: 29.08.2024 @@ -17,11 +31,11 @@ date: 29.08.2024 new EIP-7702 implemented. Passing all EOF and EIP-7702 tests. Preparation for devnet-3. -* revme: 0.9.0 -> 0.10.0 -* revm: 13.0.0 -> 14.0.0 -* revm-interpreter: 9.0.0 -> 10.0.0 -* revm-primitives: 8.0.0 -> 9.0.0 -* revm-precompile: 10.0.0 -> 11.0.0 +* `revme`: 0.9.0 -> 0.10.0 +* `revm`: 13.0.0 -> 14.0.0 +* `revm-interpreter`: 9.0.0 -> 10.0.0 +* `revm-primitives`: 8.0.0 -> 9.0.0 +* `revm-precompile`: 10.0.0 -> 11.0.0 # v41 tag date: 08.08.2024 diff --git a/Cargo.lock b/Cargo.lock index 8c4454b41b..70f31dc996 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -123,8 +123,9 @@ dependencies = [ [[package]] name = "alloy-json-abi" -version = "0.8.0" -source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31a0f0d51db8a1a30a4d98a9f90e090a94c8f44cb4d9eafc7e03aa6d00aae984" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -181,8 +182,9 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "0.8.0" -source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8edae627382349b56cd6a7a2106f4fd69b243a9233e560c55c2e03cabb7e1d3c" dependencies = [ "alloy-rlp", "arbitrary", @@ -190,17 +192,23 @@ dependencies = [ "cfg-if", "const-hex", "derive_arbitrary", - "derive_more 0.99.18", + "derive_more 1.0.0", + "foldhash", "getrandom", + "hashbrown 0.15.0", "hex-literal", + "indexmap", "itoa", "k256", "keccak-asm", + "paste", "proptest", "proptest-derive", "rand", "ruint", + "rustc-hash", "serde", + "sha3", "tiny-keccak", ] @@ -340,25 +348,12 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "0.8.0" -source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" -dependencies = [ - "alloy-sol-macro-expander 0.8.0", - "alloy-sol-macro-input 0.8.0", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 2.0.79", -] - -[[package]] -name = "alloy-sol-macro" -version = "0.8.7" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "661c516eb1fa3294cc7f2fb8955b3b609d639c282ac81a4eedb14d3046db503a" +checksum = "841eabaa4710f719fddbc24c95d386eae313f07e6da4babc25830ee37945be0c" dependencies = [ - "alloy-sol-macro-expander 0.8.7", - "alloy-sol-macro-input 0.8.7", + "alloy-sol-macro-expander", + "alloy-sol-macro-input", "proc-macro-error2", "proc-macro2", "quote", @@ -367,28 +362,11 @@ dependencies = [ [[package]] name = "alloy-sol-macro-expander" -version = "0.8.0" -source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" -dependencies = [ - "alloy-sol-macro-input 0.8.0", - "const-hex", - "heck 0.5.0", - "indexmap", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 2.0.79", - "syn-solidity 0.8.0", - "tiny-keccak", -] - -[[package]] -name = "alloy-sol-macro-expander" -version = "0.8.7" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecbabb8fc3d75a0c2cea5215be22e7a267e3efde835b0f2a8922f5e3f5d47683" +checksum = "6672337f19d837b9f7073c45853aeb528ed9f7dd6a4154ce683e9e5cb7794014" dependencies = [ - "alloy-sol-macro-input 0.8.7", + "alloy-sol-macro-input", "const-hex", "heck 0.5.0", "indexmap", @@ -396,29 +374,15 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.79", - "syn-solidity 0.8.7", + "syn-solidity", "tiny-keccak", ] [[package]] name = "alloy-sol-macro-input" -version = "0.8.0" -source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" -dependencies = [ - "const-hex", - "dunce", - "heck 0.5.0", - "proc-macro2", - "quote", - "syn 2.0.79", - "syn-solidity 0.8.0", -] - -[[package]] -name = "alloy-sol-macro-input" -version = "0.8.7" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16517f2af03064485150d89746b8ffdcdbc9b6eeb3d536fb66efd7c2846fbc75" +checksum = "0dff37dd20bfb118b777c96eda83b2067f4226d2644c5cfa00187b3bc01770ba" dependencies = [ "const-hex", "dunce", @@ -426,13 +390,14 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.79", - "syn-solidity 0.8.7", + "syn-solidity", ] [[package]] name = "alloy-sol-type-parser" -version = "0.8.0" -source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b853d42292dbb159671a3edae3b2750277ff130f32b726fe07dc2b17aa6f2b5" dependencies = [ "serde", "winnow", @@ -440,12 +405,13 @@ dependencies = [ [[package]] name = "alloy-sol-types" -version = "0.8.0" -source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa828bb1b9a6dc52208fbb18084fb9ce2c30facc2bfda6a5d922349b4990354f" dependencies = [ "alloy-json-abi", "alloy-primitives", - "alloy-sol-macro 0.8.0", + "alloy-sol-macro", "const-hex", "serde", ] @@ -1040,12 +1006,6 @@ version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" -[[package]] -name = "convert_case" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" - [[package]] name = "core-foundation" version = "0.9.4" @@ -1227,10 +1187,8 @@ version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ - "convert_case", "proc-macro2", "quote", - "rustc_version 0.4.1", "syn 2.0.79", ] @@ -1869,6 +1827,7 @@ dependencies = [ "allocator-api2", "equivalent", "foldhash", + "serde", ] [[package]] @@ -2178,8 +2137,10 @@ version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ + "arbitrary", "equivalent", "hashbrown 0.15.0", + "serde", ] [[package]] @@ -3047,6 +3008,7 @@ dependencies = [ "libc", "rand_chacha", "rand_core", + "serde", ] [[package]] @@ -3227,7 +3189,7 @@ dependencies = [ [[package]] name = "revm" -version = "14.0.1" +version = "14.0.2" dependencies = [ "alloy-eips", "alloy-provider", @@ -3253,7 +3215,7 @@ dependencies = [ [[package]] name = "revm-interpreter" -version = "10.0.1" +version = "10.0.2" dependencies = [ "bincode", "cfg-if", @@ -3267,7 +3229,7 @@ dependencies = [ [[package]] name = "revm-precompile" -version = "11.0.1" +version = "11.0.2" dependencies = [ "aurora-engine-modexp", "blst", @@ -3293,7 +3255,7 @@ dependencies = [ [[package]] name = "revm-primitives" -version = "9.0.1" +version = "9.0.2" dependencies = [ "alloy-eips", "alloy-primitives", @@ -3315,7 +3277,7 @@ dependencies = [ name = "revm-test" version = "0.1.0" dependencies = [ - "alloy-sol-macro 0.8.7", + "alloy-sol-macro", "alloy-sol-types", "bytes", "eyre", @@ -3327,7 +3289,7 @@ dependencies = [ [[package]] name = "revme" -version = "0.10.1" +version = "0.10.2" dependencies = [ "alloy-rlp", "hash-db", @@ -3484,6 +3446,15 @@ version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +[[package]] +name = "rustc-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" +dependencies = [ + "rand", +] + [[package]] name = "rustc-hex" version = "2.1.0" @@ -4073,20 +4044,9 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.8.0" -source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" -dependencies = [ - "paste", - "proc-macro2", - "quote", - "syn 2.0.79", -] - -[[package]] -name = "syn-solidity" -version = "0.8.7" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e7b52ad118b2153644eea95c6fc740b6c1555b2344fdab763fc9de4075f665" +checksum = "16320d4a2021ba1a32470b3759676114a918885e9800e68ad60f2c67969fba62" dependencies = [ "paste", "proc-macro2", @@ -5026,3 +4986,13 @@ dependencies = [ "quote", "syn 2.0.79", ] + +[[patch.unused]] +name = "alloy-primitives" +version = "0.8.0" +source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" + +[[patch.unused]] +name = "alloy-sol-types" +version = "0.8.0" +source = "git+https://github.com/scroll-tech/alloy-core?branch=v0.8.0#4642d710a73aec9513222db586498951f84534cd" diff --git a/bins/revm-test/CHANGELOG.md b/bins/revm-test/CHANGELOG.md index 19d50a211f..85b1666228 100644 --- a/bins/revm-test/CHANGELOG.md +++ b/bins/revm-test/CHANGELOG.md @@ -6,6 +6,113 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.0](https://github.com/bluealloy/revm/releases/tag/revm-test-v0.1.0) - 2024-09-18 + +### Added + +- EOF (Ethereum Object Format) ([#1143](https://github.com/bluealloy/revm/pull/1143)) +- add tests for shift instructions ([#1254](https://github.com/bluealloy/revm/pull/1254)) +- EvmBuilder and External Contexts ([#888](https://github.com/bluealloy/revm/pull/888)) +- separate initial checks ([#486](https://github.com/bluealloy/revm/pull/486)) +- revm-interpreter created ([#320](https://github.com/bluealloy/revm/pull/320)) +- *(interpreter)* Unify instruction fn signature ([#283](https://github.com/bluealloy/revm/pull/283)) +- Migrate `primitive_types::U256` to `ruint::Uint<256, 4>` ([#239](https://github.com/bluealloy/revm/pull/239)) +- Introduce ByteCode format, Update Readme ([#156](https://github.com/bluealloy/revm/pull/156)) + +### Fixed + +- *(eof)* fixture 2 tests ([#1550](https://github.com/bluealloy/revm/pull/1550)) +- *(clippy)* fix some clippy lints + +### Other + +- *(deps)* bump alloy-sol-types from 0.8.0 to 0.8.2 ([#1762](https://github.com/bluealloy/revm/pull/1762)) +- release ([#1729](https://github.com/bluealloy/revm/pull/1729)) +- release ([#1722](https://github.com/bluealloy/revm/pull/1722)) +- *(deps)* bump alloy and primitives ([#1725](https://github.com/bluealloy/revm/pull/1725)) +- *(deps)* bump bytes from 1.6.1 to 1.7.1 ([#1700](https://github.com/bluealloy/revm/pull/1700)) +- tag v41 revm v13.0.0 ([#1692](https://github.com/bluealloy/revm/pull/1692)) +- release ([#1683](https://github.com/bluealloy/revm/pull/1683)) +- *(deps)* bump regex from 1.10.5 to 1.10.6 ([#1682](https://github.com/bluealloy/revm/pull/1682)) +- bump versions bcs of primitives ([#1631](https://github.com/bluealloy/revm/pull/1631)) +- release ([#1620](https://github.com/bluealloy/revm/pull/1620)) +- *(deps)* bump alloy-sol-types from 0.7.6 to 0.7.7 ([#1614](https://github.com/bluealloy/revm/pull/1614)) +- *(deps)* bump alloy-sol-macro from 0.7.6 to 0.7.7 ([#1613](https://github.com/bluealloy/revm/pull/1613)) +- release ([#1579](https://github.com/bluealloy/revm/pull/1579)) +- release ([#1548](https://github.com/bluealloy/revm/pull/1548)) +- replace TransactTo with TxKind ([#1542](https://github.com/bluealloy/revm/pull/1542)) +- *(deps)* bump regex from 1.10.4 to 1.10.5 ([#1502](https://github.com/bluealloy/revm/pull/1502)) +- release ([#1261](https://github.com/bluealloy/revm/pull/1261)) +- *(interpreter)* rewrite gas accounting for memory expansion ([#1361](https://github.com/bluealloy/revm/pull/1361)) +- revert snailtracer without microbench ([#1259](https://github.com/bluealloy/revm/pull/1259)) +- release ([#1231](https://github.com/bluealloy/revm/pull/1231)) +- *(deps)* bump other alloy deps 0.7.0 ([#1252](https://github.com/bluealloy/revm/pull/1252)) +- *(deps)* bump regex from 1.10.3 to 1.10.4 ([#1223](https://github.com/bluealloy/revm/pull/1223)) +- *(deps)* bump bytes from 1.5.0 to 1.6.0 ([#1224](https://github.com/bluealloy/revm/pull/1224)) +- release ([#1175](https://github.com/bluealloy/revm/pull/1175)) +- tag v32 revm v7.1.0 ([#1176](https://github.com/bluealloy/revm/pull/1176)) +- release ([#1125](https://github.com/bluealloy/revm/pull/1125)) +- *(deps)* bump alloy-sol-types from 0.6.3 to 0.6.4 ([#1148](https://github.com/bluealloy/revm/pull/1148)) +- *(deps)* bump alloy-sol-macro from 0.6.3 to 0.6.4 ([#1136](https://github.com/bluealloy/revm/pull/1136)) +- release tag v30 revm v6.1.0 ([#1100](https://github.com/bluealloy/revm/pull/1100)) +- clippy cleanup ([#1112](https://github.com/bluealloy/revm/pull/1112)) +- *(deps)* bump alloy-sol-types from 0.6.2 to 0.6.3 ([#1103](https://github.com/bluealloy/revm/pull/1103)) +- release ([#1082](https://github.com/bluealloy/revm/pull/1082)) +- *(deps)* bump alloy-sol-macro from 0.6.2 to 0.6.3 ([#1094](https://github.com/bluealloy/revm/pull/1094)) +- license date and revm docs ([#1080](https://github.com/bluealloy/revm/pull/1080)) +- release ([#1067](https://github.com/bluealloy/revm/pull/1067)) +- tag v27, revm v4.0.0 release ([#1061](https://github.com/bluealloy/revm/pull/1061)) +- *(deps)* bump eyre from 0.6.11 to 0.6.12 ([#1051](https://github.com/bluealloy/revm/pull/1051)) +- *(deps)* bump alloy-sol-types from 0.6.0 to 0.6.2 ([#1035](https://github.com/bluealloy/revm/pull/1035)) +- *(deps)* bump alloy-sol-macro from 0.6.0 to 0.6.2 ([#1013](https://github.com/bluealloy/revm/pull/1013)) +- chore(Test) : const to static ([#1016](https://github.com/bluealloy/revm/pull/1016)) +- Burntpix criterion bench ([#1004](https://github.com/bluealloy/revm/pull/1004)) +- Instruction table ([#759](https://github.com/bluealloy/revm/pull/759)) +- rewrite revm-test as a criterion bench ([#579](https://github.com/bluealloy/revm/pull/579)) +- optimize stack usage for recursive `call` and `create` programs ([#522](https://github.com/bluealloy/revm/pull/522)) +- Bump v24, revm v3.3.0 ([#476](https://github.com/bluealloy/revm/pull/476)) +- Release v23, revm v3.2.0 ([#464](https://github.com/bluealloy/revm/pull/464)) +- Release v22, revm v3.1.1 ([#460](https://github.com/bluealloy/revm/pull/460)) +- v21, revm v3.1.0 ([#444](https://github.com/bluealloy/revm/pull/444)) +- remove gas blocks ([#391](https://github.com/bluealloy/revm/pull/391)) +- *(deps)* bump bytes from 1.3.0 to 1.4.0 ([#355](https://github.com/bluealloy/revm/pull/355)) +- Bump v20, changelog ([#350](https://github.com/bluealloy/revm/pull/350)) +- includes to libs ([#338](https://github.com/bluealloy/revm/pull/338)) +- Creating revm-primitives, revm better errors and db components ([#334](https://github.com/bluealloy/revm/pull/334)) +- Cleanup, move hot fields toggether in Interpreter ([#321](https://github.com/bluealloy/revm/pull/321)) +- native bits ([#278](https://github.com/bluealloy/revm/pull/278)) +- *(release)* Bump revm and precompiles versions +- Bump primitive_types. Add statetest spec +- Bump revm v2.1.0 ([#224](https://github.com/bluealloy/revm/pull/224)) +- revm bump v2.0.0, precompile bump v1.1.1 ([#212](https://github.com/bluealloy/revm/pull/212)) +- Cfg choose create analysis, option on bytecode size limit ([#210](https://github.com/bluealloy/revm/pull/210)) +- Cargo sort. Bump lib versions ([#208](https://github.com/bluealloy/revm/pull/208)) +- Return `ExecutionResult`, which includes `gas_refunded` ([#169](https://github.com/bluealloy/revm/pull/169)) +- Bytecode hash, remove override_spec, ([#165](https://github.com/bluealloy/revm/pull/165)) +- revm bump 1.8. update libs. snailtracer rename ([#159](https://github.com/bluealloy/revm/pull/159)) +- v6 changelog, bump versions +- Big Refactor. Machine to Interpreter. refactor instructions. call/create struct ([#52](https://github.com/bluealloy/revm/pull/52)) +- [revm] pop_top and unsafe comments ([#51](https://github.com/bluealloy/revm/pull/51)) +- [precompiles] remove unused borsh +- [recompl] Bump precompile deps, cargo sort on workspace +- [revm] output log. Stetetest test log output. fmt +- Bump versions, Changelogs, fmt, revm readme, clippy. +- [revm] Run test multiple times. fmt, BenchmarkDB +- Multiple changes: web3 db, debugger initial commit, precompile load +- Memory to usize, clippy,fmt +- wip optimize i256 +- TEMP switch stacks H256 with U256 +- [revm] some perfs +- [revm] Perfs stack pop. Benchmark snailtracer. +- [revm] cleanup +- fmt +- EVM Interface changed. Inspector called separately +- Bump revm v0.3.0. README updated +- DB ref mut polished +- And now we debug +- [revm] Interface. Inspector added, Env cleanup. revm-test passes +- Rename bin to bins + ## [0.1.0](https://github.com/bluealloy/revm/releases/tag/revm-test-v0.1.0) - 2024-08-30 ### Added diff --git a/bins/revm-test/Cargo.toml b/bins/revm-test/Cargo.toml index d545cdb794..031f0251cc 100644 --- a/bins/revm-test/Cargo.toml +++ b/bins/revm-test/Cargo.toml @@ -7,10 +7,10 @@ edition = "2021" [dependencies] bytes = "1.7" hex = "0.4" -revm = { path = "../../crates/revm", version = "14.0.1", default-features=false } +revm = { path = "../../crates/revm", version = "14.0.2", default-features=false } microbench = "0.5" alloy-sol-macro = "0.8.0" -alloy-sol-types = "0.8.0" +alloy-sol-types = "0.8.2" regex = "1.10.6" eyre = "0.6.12" diff --git a/bins/revme/CHANGELOG.md b/bins/revme/CHANGELOG.md index 938ef259b5..6f579c7eb9 100644 --- a/bins/revme/CHANGELOG.md +++ b/bins/revme/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.10.2](https://github.com/bluealloy/revm/compare/revme-v0.10.1...revme-v0.10.2) - 2024-09-18 + +### Added + +- *(statetest)* enable EOF in Prague tests ([#1753](https://github.com/bluealloy/revm/pull/1753)) + ## [0.10.1](https://github.com/bluealloy/revm/compare/revme-v0.10.0...revme-v0.10.1) - 2024-08-30 ### Other diff --git a/bins/revme/Cargo.toml b/bins/revme/Cargo.toml index bb698f1015..1bf8d616cf 100644 --- a/bins/revme/Cargo.toml +++ b/bins/revme/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["ethereum", "evm"] license = "MIT" repository = "https://github.com/bluealloy/revm" description = "Rust Ethereum Virtual Machine Executable" -version = "0.10.1" +version = "0.10.2" [dependencies] hash-db = "0.15" @@ -15,7 +15,7 @@ hashbrown = "0.14" indicatif = "0.17" microbench = "0.5" plain_hasher = "0.2" -revm = { path = "../../crates/revm", version = "14.0.1", default-features = false, features = [ +revm = { path = "../../crates/revm", version = "14.0.2", default-features = false, features = [ "ethersdb", "std", "serde-json", diff --git a/bins/revme/src/cmd/statetest/models/spec.rs b/bins/revme/src/cmd/statetest/models/spec.rs index f33ad68f6e..e3fde73da5 100644 --- a/bins/revme/src/cmd/statetest/models/spec.rs +++ b/bins/revme/src/cmd/statetest/models/spec.rs @@ -25,7 +25,6 @@ pub enum SpecName { Shanghai, Cancun, Prague, - PragueEOF, Osaka, // SKIPPED #[serde(other)] Unknown, @@ -49,7 +48,6 @@ impl SpecName { Self::Shanghai => SpecId::SHANGHAI, Self::Cancun => SpecId::CANCUN, Self::Prague => SpecId::PRAGUE, - Self::PragueEOF => SpecId::PRAGUE_EOF, Self::ByzantiumToConstantinopleAt5 | Self::Constantinople => { panic!("Overridden with PETERSBURG") } diff --git a/bins/revme/src/cmd/statetest/runner.rs b/bins/revme/src/cmd/statetest/runner.rs index 87aac29cae..ec5f29f79b 100644 --- a/bins/revme/src/cmd/statetest/runner.rs +++ b/bins/revme/src/cmd/statetest/runner.rs @@ -342,7 +342,17 @@ pub fn execute_test_suite( continue; } - let spec_id = spec_name.to_spec_id(); + // Enable EOF in Prague tests. + let spec_id = if spec_name == SpecName::Prague { + SpecId::PRAGUE_EOF + } else { + spec_name.to_spec_id() + }; + + if spec_id.is_enabled_in(SpecId::MERGE) && env.block.prevrandao.is_none() { + // if spec is merge and prevrandao is not set, set it to default + env.block.prevrandao = Some(B256::default()); + } if spec_id.is_enabled_in(SpecId::MERGE) && env.block.prevrandao.is_none() { // if spec is merge and prevrandao is not set, set it to default diff --git a/crates/interpreter/CHANGELOG.md b/crates/interpreter/CHANGELOG.md index ddcf245bb0..7319a6ec19 100644 --- a/crates/interpreter/CHANGELOG.md +++ b/crates/interpreter/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [10.0.2](https://github.com/bluealloy/revm/compare/revm-interpreter-v10.0.1...revm-interpreter-v10.0.2) - 2024-09-18 + +### Other + +- make clippy happy ([#1755](https://github.com/bluealloy/revm/pull/1755)) + ## [10.0.1](https://github.com/bluealloy/revm/compare/revm-interpreter-v10.0.0...revm-interpreter-v10.0.1) - 2024-08-30 ### Other diff --git a/crates/interpreter/Cargo.toml b/crates/interpreter/Cargo.toml index fc32c8d534..14f30cf0a3 100644 --- a/crates/interpreter/Cargo.toml +++ b/crates/interpreter/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "revm", "interpreter"] license = "MIT" name = "revm-interpreter" repository = "https://github.com/bluealloy/revm" -version = "10.0.1" +version = "10.0.2" readme = "../../README.md" [package.metadata.docs.rs] @@ -22,7 +22,7 @@ rust_2018_idioms = "deny" all = "warn" [dependencies] -revm-primitives = { path = "../primitives", version = "9.0.1", default-features = false } +revm-primitives = { path = "../primitives", version = "9.0.2", default-features = false } cfg-if = "1.0" paste = { version = "1.0", optional = true } diff --git a/crates/interpreter/src/function_stack.rs b/crates/interpreter/src/function_stack.rs index 3363577266..400283ccdb 100644 --- a/crates/interpreter/src/function_stack.rs +++ b/crates/interpreter/src/function_stack.rs @@ -51,9 +51,9 @@ impl FunctionStack { /// Pops a frame from the stack and sets current_code_idx to the popped frame's idx. pub fn pop(&mut self) -> Option { - self.return_stack.pop().inspect(|frame| { - self.current_code_idx = frame.idx; - }) + self.return_stack + .pop() + .inspect(|frame| self.current_code_idx = frame.idx) } /// Sets current_code_idx, this is needed for JUMPF opcode. diff --git a/crates/interpreter/src/instructions/arithmetic.rs b/crates/interpreter/src/instructions/arithmetic.rs index 9b34aa14f9..da11b79b9c 100644 --- a/crates/interpreter/src/instructions/arithmetic.rs +++ b/crates/interpreter/src/instructions/arithmetic.rs @@ -69,6 +69,8 @@ pub fn exp(interpreter: &mut Interpreter, _host: & *op2 = op1.pow(*op2); } +/// Implements the `SIGNEXTEND` opcode as defined in the Ethereum Yellow Paper. +/// /// In the yellow paper `SIGNEXTEND` is defined to take two inputs, we will call them /// `x` and `y`, and produce one output. The first `t` bits of the output (numbering from the /// left, starting from 0) are equal to the `t`-th bit of `y`, where `t` is equal to diff --git a/crates/precompile/CHANGELOG.md b/crates/precompile/CHANGELOG.md index a574aa4040..f4385b2100 100644 --- a/crates/precompile/CHANGELOG.md +++ b/crates/precompile/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [11.0.2](https://github.com/bluealloy/revm/compare/revm-precompile-v11.0.1...revm-precompile-v11.0.2) - 2024-09-18 + +### Other + +- make clippy happy ([#1755](https://github.com/bluealloy/revm/pull/1755)) + ## [11.0.1](https://github.com/bluealloy/revm/compare/revm-precompile-v11.0.0...revm-precompile-v11.0.1) - 2024-08-30 ### Other diff --git a/crates/precompile/Cargo.toml b/crates/precompile/Cargo.toml index d63a801f7f..3e8331f6d5 100644 --- a/crates/precompile/Cargo.toml +++ b/crates/precompile/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "revm", "precompiles"] license = "MIT" name = "revm-precompile" repository = "https://github.com/bluealloy/revm" -version = "11.0.1" +version = "11.0.2" readme = "../../README.md" [package.metadata.docs.rs] @@ -22,7 +22,7 @@ rust_2018_idioms = "deny" all = "warn" [dependencies] -revm-primitives = { path = "../primitives", version = "9.0.1", default-features = false } +revm-primitives = { path = "../primitives", version = "9.0.2", default-features = false } once_cell = { version = "1.19", default-features = false, features = ["alloc"] } # ecRecover diff --git a/crates/precompile/src/hash.rs b/crates/precompile/src/hash.rs index 440f277bf0..2be7f4621a 100644 --- a/crates/precompile/src/hash.rs +++ b/crates/precompile/src/hash.rs @@ -31,9 +31,12 @@ pub const RIPEMD160_PRE_BERNOULLI: PrecompileWithAddress = PrecompileWithAddress }), ); -/// See: -/// See: -/// See: +/// Computes the SHA-256 hash of the input data. +/// +/// This function follows specifications defined in the following references: +/// - [Ethereum Yellow Paper](https://ethereum.github.io/yellowpaper/paper.pdf) +/// - [Solidity Documentation on Mathematical and Cryptographic Functions](https://docs.soliditylang.org/en/develop/units-and-global-variables.html#mathematical-and-cryptographic-functions) +/// - [Address 0x02](https://etherscan.io/address/0000000000000000000000000000000000000002) pub fn sha256_run(input: &Bytes, gas_limit: u64) -> PrecompileResult { let cost = calc_linear_cost_u32(input.len(), 60, 12); if cost > gas_limit { @@ -44,9 +47,12 @@ pub fn sha256_run(input: &Bytes, gas_limit: u64) -> PrecompileResult { } } -/// See: -/// See: -/// See: +/// Computes the RIPEMD-160 hash of the input data. +/// +/// This function follows specifications defined in the following references: +/// - [Ethereum Yellow Paper](https://ethereum.github.io/yellowpaper/paper.pdf) +/// - [Solidity Documentation on Mathematical and Cryptographic Functions](https://docs.soliditylang.org/en/develop/units-and-global-variables.html#mathematical-and-cryptographic-functions) +/// - [Address 03](https://etherscan.io/address/0000000000000000000000000000000000000003) pub fn ripemd160_run(input: &Bytes, gas_limit: u64) -> PrecompileResult { let gas_used = calc_linear_cost_u32(input.len(), 600, 120); if gas_used > gas_limit { diff --git a/crates/primitives/CHANGELOG.md b/crates/primitives/CHANGELOG.md index 5f280a5308..f78b79f5a5 100644 --- a/crates/primitives/CHANGELOG.md +++ b/crates/primitives/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [9.0.2](https://github.com/bluealloy/revm/compare/revm-primitives-v9.0.1...revm-primitives-v9.0.2) - 2024-09-18 + +### Other + +- *(deps)* bump alloy-primitives from 0.8.0 to 0.8.2 ([#1761](https://github.com/bluealloy/revm/pull/1761)) + ## [9.0.1](https://github.com/bluealloy/revm/compare/revm-primitives-v9.0.0...revm-primitives-v9.0.1) - 2024-08-30 ### Other diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 61cfe2bbb1..df3640bc92 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "revm", "types"] license = "MIT" name = "revm-primitives" repository = "https://github.com/bluealloy/revm" -version = "9.0.1" +version = "9.0.2" readme = "../../README.md" [package.metadata.docs.rs] @@ -23,7 +23,7 @@ all = "warn" [dependencies] alloy-eips = { version = "0.3", default-features = false, features = ["k256"] } -alloy-primitives = { version = "0.8.0", default-features = false, features = [ +alloy-primitives = { version = "0.8.2", default-features = false, features = [ "rlp", ] } hashbrown = "0.14" diff --git a/crates/revm/CHANGELOG.md b/crates/revm/CHANGELOG.md index 3810eda0a1..aab95a07dc 100644 --- a/crates/revm/CHANGELOG.md +++ b/crates/revm/CHANGELOG.md @@ -6,6 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [14.0.2](https://github.com/bluealloy/revm/compare/revm-v14.0.1...revm-v14.0.2) - 2024-09-18 + +### Fixed + +- *(inspector)* always call selfdestruct if entry is made ([#1746](https://github.com/bluealloy/revm/pull/1746)) + +### Other + +- *(deps)* bump alloy-sol-types from 0.8.0 to 0.8.2 ([#1762](https://github.com/bluealloy/revm/pull/1762)) +- *(deps)* bump anyhow from 1.0.86 to 1.0.87 ([#1760](https://github.com/bluealloy/revm/pull/1760)) +- make clippy happy ([#1755](https://github.com/bluealloy/revm/pull/1755)) +- Test l1 gas used fjord ([#1749](https://github.com/bluealloy/revm/pull/1749)) +- Add test for `revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord` ([#1743](https://github.com/bluealloy/revm/pull/1743)) +- *(deps)* bump tokio from 1.39.2 to 1.40.0 ([#1739](https://github.com/bluealloy/revm/pull/1739)) + ## [14.0.1](https://github.com/bluealloy/revm/compare/revm-v14.0.0...revm-v14.0.1) - 2024-08-30 ### Other diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index e90f19e9b2..ada36685fd 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -6,7 +6,7 @@ keywords = ["no_std", "ethereum", "evm", "revm"] license = "MIT" name = "revm" repository = "https://github.com/bluealloy/revm" -version = "14.0.1" +version = "14.0.2" readme = "../../README.md" [package.metadata.docs.rs] @@ -23,8 +23,8 @@ all = "warn" [dependencies] # revm -revm-interpreter = { path = "../interpreter", version = "10.0.1", default-features = false } -revm-precompile = { path = "../precompile", version = "11.0.1", default-features = false } +revm-interpreter = { path = "../interpreter", version = "10.0.2", default-features = false } +revm-precompile = { path = "../precompile", version = "11.0.2", default-features = false } # misc auto_impl = { version = "1.2", default-features = false } @@ -41,7 +41,7 @@ serde_json = { version = "1.0", default-features = false, features = [ ], optional = true } # ethersdb -tokio = { version = "1.39", features = [ +tokio = { version = "1.40", features = [ "rt-multi-thread", "macros", ], optional = true } @@ -54,11 +54,11 @@ alloy-eips = { version = "0.3", optional = true, default-features = false } alloy-transport = { version = "0.3", optional = true, default-features = false } [dev-dependencies] -alloy-sol-types = { version = "0.8.0", default-features = false, features = [ +alloy-sol-types = { version = "0.8.2", default-features = false, features = [ "std", ] } ethers-contract = { version = "2.0.14", default-features = false } -anyhow = "1.0.83" +anyhow = "1.0.87" criterion = "0.5" indicatif = "0.17" reqwest = { version = "0.12" } diff --git a/crates/revm/src/context/context_precompiles.rs b/crates/revm/src/context/context_precompiles.rs index f674093535..f3fa881a14 100644 --- a/crates/revm/src/context/context_precompiles.rs +++ b/crates/revm/src/context/context_precompiles.rs @@ -95,7 +95,7 @@ impl ContextPrecompiles { /// Returns precompiles addresses. #[inline] - pub fn addresses<'a>(&'a self) -> Box + 'a> { + pub fn addresses<'a>(&'a self) -> Box + 'a> { match self.inner { PrecompilesCow::StaticRef(inner) => Box::new(inner.addresses()), PrecompilesCow::Owned(ref inner) => Box::new(inner.keys()), diff --git a/crates/revm/src/db/states/account_status.rs b/crates/revm/src/db/states/account_status.rs index 5902ed9819..6f0d8e7f78 100644 --- a/crates/revm/src/db/states/account_status.rs +++ b/crates/revm/src/db/states/account_status.rs @@ -1,6 +1,19 @@ +/// AccountStatus represents the various states an account can be in after being loaded from the database. +/// /// After account get loaded from database it can be in a lot of different states /// while we execute multiple transaction and even blocks over account that is in memory. /// This structure models all possible states that account can be in. +/// +/// # Variants +/// +/// - `LoadedNotExisting`: the account has been loaded but does not exist. +/// - `Loaded`: the account has been loaded and exists. +/// - `LoadedEmptyEIP161`: the account is loaded and empty, as per EIP-161. +/// - `InMemoryChange`: there are changes in the account that exist only in memory. +/// - `Changed`: the account has been modified. +/// - `Destroyed`: the account has been destroyed. +/// - `DestroyedChanged`: the account has been destroyed and then modified. +/// - `DestroyedAgain`: the account has been destroyed again. #[derive(Clone, Copy, Default, Debug, PartialEq, Eq, Hash)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] pub enum AccountStatus { diff --git a/crates/revm/src/evm.rs b/crates/revm/src/evm.rs index 55781adddd..ab34469ce4 100644 --- a/crates/revm/src/evm.rs +++ b/crates/revm/src/evm.rs @@ -199,9 +199,7 @@ impl Evm<'_, EXT, DB> { .handler .validation() .initial_tx_gas(&self.context.evm.env) - .inspect_err(|_| { - self.clear(); - })?; + .inspect_err(|_e| self.clear())?; let output = self.transact_preverified_inner(initial_gas_spend); let output = self.handler.post_execution().end(&mut self.context, output); self.clear(); @@ -227,9 +225,9 @@ impl Evm<'_, EXT, DB> { /// This function will validate the transaction. #[inline] pub fn transact(&mut self) -> EVMResult { - let initial_gas_spend = self.preverify_transaction_inner().inspect_err(|_| { - self.clear(); - })?; + let initial_gas_spend = self + .preverify_transaction_inner() + .inspect_err(|_e| self.clear())?; let output = self.transact_preverified_inner(initial_gas_spend); let output = self.handler.post_execution().end(&mut self.context, output); @@ -366,6 +364,7 @@ impl Evm<'_, EXT, DB> { } } }; + // Starts the main running loop. let mut result = match first_frame_or_result { FrameOrResult::Frame(first_frame) => self.run_the_loop(first_frame)?, diff --git a/crates/revm/src/inspector/handler_register.rs b/crates/revm/src/inspector/handler_register.rs index 599ab9fc6a..4f28508f61 100644 --- a/crates/revm/src/inspector/handler_register.rs +++ b/crates/revm/src/inspector/handler_register.rs @@ -67,16 +67,25 @@ pub fn inspector_handle_register>( // execute selfdestruct prev(interpreter, host); // check if selfdestruct was successful and if journal entry is made. - if let Some(JournalEntry::AccountDestroyed { - address, - target, - had_balance, - .. - }) = host.evm.journaled_state.journal.last().unwrap().last() - { - host.external - .get_inspector() - .selfdestruct(*address, *target, *had_balance); + match host.evm.journaled_state.journal.last().unwrap().last() { + Some(JournalEntry::AccountDestroyed { + address, + target, + had_balance, + .. + }) => { + host.external + .get_inspector() + .selfdestruct(*address, *target, *had_balance); + } + Some(JournalEntry::BalanceTransfer { + from, to, balance, .. + }) => { + host.external + .get_inspector() + .selfdestruct(*from, *to, *balance); + } + _ => {} } }); diff --git a/crates/revm/src/optimism/l1block.rs b/crates/revm/src/optimism/l1block.rs index 86e32850fa..d7195c456b 100644 --- a/crates/revm/src/optimism/l1block.rs +++ b/crates/revm/src/optimism/l1block.rs @@ -244,7 +244,7 @@ impl L1BlockInfo { #[cfg(test)] mod tests { use super::*; - use crate::primitives::bytes; + use crate::primitives::{bytes, hex}; #[test] fn test_data_gas_non_zero_bytes() { @@ -410,4 +410,40 @@ mod tests { let gas_cost = l1_block_info.calculate_tx_l1_cost(&input, SpecId::FJORD); assert_eq!(gas_cost, U256::ZERO); } + + #[test] + fn calculate_tx_l1_cost_fjord() { + // rig + + // L1 block info for OP mainnet fjord block 124665056 + // + let l1_block_info = L1BlockInfo { + l1_base_fee: U256::from(1055991687), + l1_base_fee_scalar: U256::from(5227), + l1_blob_base_fee_scalar: Some(U256::from(1014213)), + l1_blob_base_fee: Some(U256::from(1)), + ..Default::default() // l1 fee overhead (l1 gas used) deprecated since Fjord + }; + + // second tx in OP mainnet Fjord block 124665056 + // + const TX: &[u8] = &hex!("02f904940a8303fba78401d6d2798401db2b6d830493e0943e6f4f7866654c18f536170780344aa8772950b680b904246a761202000000000000000000000000087000a300de7200382b55d40045000000e5d60e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000022482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000120000000000000000000000000dc6ff44d5d932cbd77b52e5612ba0529dc6226f1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000044095ea7b300000000000000000000000021c4928109acb0659a88ae5329b5374a3024694c0000000000000000000000000000000000000000000000049b9ca9a6943400000000000000000000000000000000000000000000000000000000000000000000000000000000000021c4928109acb0659a88ae5329b5374a3024694c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000024b6b55f250000000000000000000000000000000000000000000000049b9ca9a694340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000415ec214a3950bea839a7e6fbb0ba1540ac2076acd50820e2d5ef83d0902cdffb24a47aff7de5190290769c4f0a9c6fabf63012986a0d590b1b571547a8c7050ea1b00000000000000000000000000000000000000000000000000000000000000c080a06db770e6e25a617fe9652f0958bd9bd6e49281a53036906386ed39ec48eadf63a07f47cf51a4a40b4494cf26efc686709a9b03939e20ee27e59682f5faa536667e"); + + // l1 gas used for tx and l1 fee for tx, from OP mainnet block scanner + // https://optimistic.etherscan.io/tx/0x1059e8004daff32caa1f1b1ef97fe3a07a8cf40508f5b835b66d9420d87c4a4a + let expected_data_gas = U256::from(4471); + let expected_l1_fee = U256::from_be_bytes(hex!( + "00000000000000000000000000000000000000000000000000000005bf1ab43d" + )); + + // test + + let data_gas = l1_block_info.data_gas(TX, SpecId::FJORD); + + assert_eq!(data_gas, expected_data_gas); + + let l1_fee = l1_block_info.calculate_tx_l1_cost_fjord(TX); + + assert_eq!(l1_fee, expected_l1_fee) + } } diff --git a/funding.json b/funding.json new file mode 100644 index 0000000000..372ec73e9c --- /dev/null +++ b/funding.json @@ -0,0 +1,5 @@ +{ + "opRetro": { + "projectId": "0xb2d109759fe14e11ac5cc100ab6006321ebdd7ffdefbd2efac93a002105f8e92" + } +} diff --git a/tests/eof_suite/eest/fixtures.ini b/tests/eof_suite/eest/fixtures.ini deleted file mode 100644 index a9a2e7acf1..0000000000 --- a/tests/eof_suite/eest/fixtures.ini +++ /dev/null @@ -1,27 +0,0 @@ -; This file describes fixture build properties - -[fixtures] -timestamp = 2024-07-19T21:21:31.600594 -build = eip7692-prague -ref = refs/tags/eip7692-prague@v1.0.7 -commit = fdeacb52a58e29e5a0e82cf27b44d235ab14eaa9 -command_line_args = fill -n 0 --evm-bin=evmtool --fork=PragueEIP7692 ./tests/prague/eip7692_eof_v1 --output=fixtures_eip7692-prague.tar.gz --build-name eip7692-prague - -[packages] -pytest = 7.4.4 -pluggy = 1.5.0 - -[plugins] -html = 4.1.1 -xdist = 3.6.1 -metadata = 3.1.1 - -[tools] -t8n = Hyperledger Besu evm 24.7-develop-30c96c7 -solc = 0.8.21+commit.d9974bed.Linux.gpp - -[environment] -python = 3.11.9 -platform = Linux-6.5.0-1023-azure-x86_64-with-glibc2.35 -ci = true -