-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(EOF): Validate code access in stack #1659
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Valgrind Results:
|
Closed
Closed
Merged
lightsing
added a commit
to scroll-tech/revm
that referenced
this pull request
Aug 19, 2024
* chore(eof): simplify magic checks (bluealloy#1633) * perf(eof): avoid some allocations (bluealloy#1632) * perf(eof): avoid some allocations * Update crates/primitives/src/bytecode/eof.rs * chore: fix some typos & remove useless Arc::clone (bluealloy#1621) * chore: fix some typos * chore: remove useless Arc::clone * refactor: use `is_zero` for `U256` and `B256` (bluealloy#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 (bluealloy#1640) * chore: Renamed some city name (bluealloy#1645) * perf: avoid cloning original_bytes (bluealloy#1646) * fix(eof): deny static context in EOFCREATE (bluealloy#1644) * feat: use batch bn256 pair operation (bluealloy#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 (bluealloy#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 (bluealloy#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](dtolnay/thiserror@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.0 to 1.38.1 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(EOF): Overflow on num_sections (bluealloy#1656) * fix(EOF): Overflow on num_sections * fix test * fmt/clippy * feat(EOF): EOF Validation add code type and sub container tracker (bluealloy#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 (bluealloy#1658) * fix(EOF): Validate code access in stack (bluealloy#1659) * wip: test * fix(EOF): Validate code access in stack * add code access * feat(EOF): Add EOF validation in revme bytecode cmd (bluealloy#1660) * chore(clippy): 1.80 rust clippy list paragraph ident (bluealloy#1661) * feat(EOF): Add non-returning CALLF/JUMPF checks (bluealloy#1663) * feat(EOF): Add non-returning CALLF/JUMPF checks * fix tests * fix(EOF): returning to non-returning jumpf, enable valition error (bluealloy#1664) * fix: add DATACOPY to OpCode::modifies_memory (bluealloy#1639) * chore(eof): Add opcodes that expand memory (bluealloy#1665) * fix(statetest): make bytecode analyzed (bluealloy#1666) * chore(deps): bump serde_json from 1.0.120 to 1.0.121 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.1 to 1.39.2 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump blst from 0.3.12 to 0.3.13 (bluealloy#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](supranational/blst@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] <support@github.com> 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 (bluealloy#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](serde-rs/json@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump regex from 1.10.5 to 1.10.6 (bluealloy#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](rust-lang/regex@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rstest from 0.21.0 to 0.22.0 (bluealloy#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](la10736/rstest@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add EOF Layout Fuzz Loop to `revme bytecode` (bluealloy#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 (bluealloy#1673) * docs: improve `InstructionResult` documentation * chore: clean up * Add OP-Granite hardfork, limiting bn256Pairing input size (bluealloy#1685) * Add OP-Granite hardfork, limiting bn256Pairing input size * Move optimism-specific bn128 precompile * feat: check for typos in CI (bluealloy#1686) Co-authored-by: adria0 <adria0@nowhere> * feat(EOF): add evmone test suite (bluealloy#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 (bluealloy#1690) * chore: release (bluealloy#1683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: tag v41 revm v13.0.0 (bluealloy#1692) * fix(CI): types check (bluealloy#1693) * fix(CI): types check * Typos --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Co-authored-by: jakevin <jakevingoo@gmail.com> Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Co-authored-by: ioterw <iotrwewe12@protonmail.com> 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 <rakita@users.noreply.github.com> Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com> Co-authored-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Léo Vincent <28714795+leovct@users.noreply.github.com> Co-authored-by: Brian Bland <brian.t.bland@gmail.com> Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com> Co-authored-by: adria0 <adria0@nowhere> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
lightsing
added a commit
to scroll-tech/revm
that referenced
this pull request
Sep 3, 2024
* chore(eof): simplify magic checks (bluealloy#1633) * perf(eof): avoid some allocations (bluealloy#1632) * perf(eof): avoid some allocations * Update crates/primitives/src/bytecode/eof.rs * chore: fix some typos & remove useless Arc::clone (bluealloy#1621) * chore: fix some typos * chore: remove useless Arc::clone * refactor: use `is_zero` for `U256` and `B256` (bluealloy#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 (bluealloy#1640) * chore: Renamed some city name (bluealloy#1645) * perf: avoid cloning original_bytes (bluealloy#1646) * fix(eof): deny static context in EOFCREATE (bluealloy#1644) * feat: use batch bn256 pair operation (bluealloy#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 (bluealloy#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 (bluealloy#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](dtolnay/thiserror@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.0 to 1.38.1 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(EOF): Overflow on num_sections (bluealloy#1656) * fix(EOF): Overflow on num_sections * fix test * fmt/clippy * feat(EOF): EOF Validation add code type and sub container tracker (bluealloy#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 (bluealloy#1658) * fix(EOF): Validate code access in stack (bluealloy#1659) * wip: test * fix(EOF): Validate code access in stack * add code access * feat(EOF): Add EOF validation in revme bytecode cmd (bluealloy#1660) * chore(clippy): 1.80 rust clippy list paragraph ident (bluealloy#1661) * feat(EOF): Add non-returning CALLF/JUMPF checks (bluealloy#1663) * feat(EOF): Add non-returning CALLF/JUMPF checks * fix tests * fix(EOF): returning to non-returning jumpf, enable valition error (bluealloy#1664) * fix: add DATACOPY to OpCode::modifies_memory (bluealloy#1639) * chore(eof): Add opcodes that expand memory (bluealloy#1665) * fix(statetest): make bytecode analyzed (bluealloy#1666) * chore(deps): bump serde_json from 1.0.120 to 1.0.121 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.1 to 1.39.2 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump blst from 0.3.12 to 0.3.13 (bluealloy#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](supranational/blst@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] <support@github.com> 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 (bluealloy#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](serde-rs/json@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump regex from 1.10.5 to 1.10.6 (bluealloy#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](rust-lang/regex@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rstest from 0.21.0 to 0.22.0 (bluealloy#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](la10736/rstest@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add EOF Layout Fuzz Loop to `revme bytecode` (bluealloy#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 (bluealloy#1673) * docs: improve `InstructionResult` documentation * chore: clean up * Add OP-Granite hardfork, limiting bn256Pairing input size (bluealloy#1685) * Add OP-Granite hardfork, limiting bn256Pairing input size * Move optimism-specific bn128 precompile * feat: check for typos in CI (bluealloy#1686) Co-authored-by: adria0 <adria0@nowhere> * feat(EOF): add evmone test suite (bluealloy#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 (bluealloy#1690) * chore: release (bluealloy#1683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: tag v41 revm v13.0.0 (bluealloy#1692) * fix(CI): types check (bluealloy#1693) * fix(CI): types check * Typos * chore(deps): bump alloy-provider from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> 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 (bluealloy#1680)" (bluealloy#1696) This reverts commit 0a5be93. * chore(deps): bump alloy-transport from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump enumn from 0.1.13 to 0.1.14 (bluealloy#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](dtolnay/enumn@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * doc: update some docs related to state (bluealloy#1711) * chore: clean up some journalstate docs (bluealloy#1712) * chore(deps): bump bytes from 1.6.1 to 1.7.1 (bluealloy#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](tokio-rs/bytes@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: switch gas check order in blake2 precompile (bluealloy#1718) * chore(deps): bump serde from 1.0.204 to 1.0.209 (bluealloy#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](serde-rs/serde@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: fix spelling issues (bluealloy#1715) * Update memory.md * Update bits.md * Update kzg.md * Update documentation/src/crates/primitives/kzg.md Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * Update bits.md --------- Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * feat: c-kzg bump, cleanup on kzgsetting (bluealloy#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 (bluealloy#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 (bluealloy#1727) * fix: cast block number to u64 and not usize * clippy * feat(eip7702): Impl newest version of EIP (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#1722) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog (bluealloy#1730) * fix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Co-authored-by: jakevin <jakevingoo@gmail.com> Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Co-authored-by: ioterw <iotrwewe12@protonmail.com> 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 <rakita@users.noreply.github.com> Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com> Co-authored-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Léo Vincent <28714795+leovct@users.noreply.github.com> Co-authored-by: Brian Bland <brian.t.bland@gmail.com> Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com> Co-authored-by: adria0 <adria0@nowhere> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Prestwich <james@prestwi.ch> Co-authored-by: Oliver <onbjerg@users.noreply.github.com> Co-authored-by: HAPPY <pcy190@126.com> Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com> Co-authored-by: Bhargav Annem <bhargav.annem@gmail.com>
lightsing
added a commit
to scroll-tech/revm
that referenced
this pull request
Oct 29, 2024
* chore(eof): simplify magic checks (bluealloy#1633) * perf(eof): avoid some allocations (bluealloy#1632) * perf(eof): avoid some allocations * Update crates/primitives/src/bytecode/eof.rs * chore: fix some typos & remove useless Arc::clone (bluealloy#1621) * chore: fix some typos * chore: remove useless Arc::clone * refactor: use `is_zero` for `U256` and `B256` (bluealloy#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 (bluealloy#1640) * chore: Renamed some city name (bluealloy#1645) * perf: avoid cloning original_bytes (bluealloy#1646) * fix(eof): deny static context in EOFCREATE (bluealloy#1644) * feat: use batch bn256 pair operation (bluealloy#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 (bluealloy#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 (bluealloy#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](dtolnay/thiserror@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.0 to 1.38.1 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(EOF): Overflow on num_sections (bluealloy#1656) * fix(EOF): Overflow on num_sections * fix test * fmt/clippy * feat(EOF): EOF Validation add code type and sub container tracker (bluealloy#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 (bluealloy#1658) * fix(EOF): Validate code access in stack (bluealloy#1659) * wip: test * fix(EOF): Validate code access in stack * add code access * feat(EOF): Add EOF validation in revme bytecode cmd (bluealloy#1660) * chore(clippy): 1.80 rust clippy list paragraph ident (bluealloy#1661) * feat(EOF): Add non-returning CALLF/JUMPF checks (bluealloy#1663) * feat(EOF): Add non-returning CALLF/JUMPF checks * fix tests * fix(EOF): returning to non-returning jumpf, enable valition error (bluealloy#1664) * fix: add DATACOPY to OpCode::modifies_memory (bluealloy#1639) * chore(eof): Add opcodes that expand memory (bluealloy#1665) * fix(statetest): make bytecode analyzed (bluealloy#1666) * chore(deps): bump serde_json from 1.0.120 to 1.0.121 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.1 to 1.39.2 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump blst from 0.3.12 to 0.3.13 (bluealloy#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](supranational/blst@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] <support@github.com> 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 (bluealloy#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](serde-rs/json@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump regex from 1.10.5 to 1.10.6 (bluealloy#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](rust-lang/regex@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rstest from 0.21.0 to 0.22.0 (bluealloy#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](la10736/rstest@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add EOF Layout Fuzz Loop to `revme bytecode` (bluealloy#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 (bluealloy#1673) * docs: improve `InstructionResult` documentation * chore: clean up * Add OP-Granite hardfork, limiting bn256Pairing input size (bluealloy#1685) * Add OP-Granite hardfork, limiting bn256Pairing input size * Move optimism-specific bn128 precompile * feat: check for typos in CI (bluealloy#1686) Co-authored-by: adria0 <adria0@nowhere> * feat(EOF): add evmone test suite (bluealloy#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 (bluealloy#1690) * chore: release (bluealloy#1683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: tag v41 revm v13.0.0 (bluealloy#1692) * fix(CI): types check (bluealloy#1693) * fix(CI): types check * Typos * chore(deps): bump alloy-provider from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> 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 (bluealloy#1680)" (bluealloy#1696) This reverts commit 0a5be93. * chore(deps): bump alloy-transport from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump enumn from 0.1.13 to 0.1.14 (bluealloy#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](dtolnay/enumn@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * doc: update some docs related to state (bluealloy#1711) * chore: clean up some journalstate docs (bluealloy#1712) * chore(deps): bump bytes from 1.6.1 to 1.7.1 (bluealloy#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](tokio-rs/bytes@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: switch gas check order in blake2 precompile (bluealloy#1718) * chore(deps): bump serde from 1.0.204 to 1.0.209 (bluealloy#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](serde-rs/serde@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: fix spelling issues (bluealloy#1715) * Update memory.md * Update bits.md * Update kzg.md * Update documentation/src/crates/primitives/kzg.md Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * Update bits.md --------- Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * feat: c-kzg bump, cleanup on kzgsetting (bluealloy#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 (bluealloy#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 (bluealloy#1727) * fix: cast block number to u64 and not usize * clippy * feat(eip7702): Impl newest version of EIP (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#1722) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog (bluealloy#1730) * bump to newest eof eest tests pr-756 (bluealloy#1733) * chore: bump kzg-rs version (bluealloy#1734) * chore: Bump new logo (bluealloy#1735) * chore: release (bluealloy#1729) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog * fix conflict --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Co-authored-by: jakevin <jakevingoo@gmail.com> Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Co-authored-by: ioterw <iotrwewe12@protonmail.com> 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 <rakita@users.noreply.github.com> Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com> Co-authored-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Léo Vincent <28714795+leovct@users.noreply.github.com> Co-authored-by: Brian Bland <brian.t.bland@gmail.com> Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com> Co-authored-by: adria0 <adria0@nowhere> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Prestwich <james@prestwi.ch> Co-authored-by: Oliver <onbjerg@users.noreply.github.com> Co-authored-by: HAPPY <pcy190@126.com> Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com> Co-authored-by: Bhargav Annem <bhargav.annem@gmail.com> Co-authored-by: rakita <dragan0rakita@gmail.com>
lightsing
added a commit
to scroll-tech/revm
that referenced
this pull request
Oct 29, 2024
* chore(eof): simplify magic checks (bluealloy#1633) * perf(eof): avoid some allocations (bluealloy#1632) * perf(eof): avoid some allocations * Update crates/primitives/src/bytecode/eof.rs * chore: fix some typos & remove useless Arc::clone (bluealloy#1621) * chore: fix some typos * chore: remove useless Arc::clone * refactor: use `is_zero` for `U256` and `B256` (bluealloy#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 (bluealloy#1640) * chore: Renamed some city name (bluealloy#1645) * perf: avoid cloning original_bytes (bluealloy#1646) * fix(eof): deny static context in EOFCREATE (bluealloy#1644) * feat: use batch bn256 pair operation (bluealloy#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 (bluealloy#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 (bluealloy#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](dtolnay/thiserror@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.0 to 1.38.1 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(EOF): Overflow on num_sections (bluealloy#1656) * fix(EOF): Overflow on num_sections * fix test * fmt/clippy * feat(EOF): EOF Validation add code type and sub container tracker (bluealloy#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 (bluealloy#1658) * fix(EOF): Validate code access in stack (bluealloy#1659) * wip: test * fix(EOF): Validate code access in stack * add code access * feat(EOF): Add EOF validation in revme bytecode cmd (bluealloy#1660) * chore(clippy): 1.80 rust clippy list paragraph ident (bluealloy#1661) * feat(EOF): Add non-returning CALLF/JUMPF checks (bluealloy#1663) * feat(EOF): Add non-returning CALLF/JUMPF checks * fix tests * fix(EOF): returning to non-returning jumpf, enable valition error (bluealloy#1664) * fix: add DATACOPY to OpCode::modifies_memory (bluealloy#1639) * chore(eof): Add opcodes that expand memory (bluealloy#1665) * fix(statetest): make bytecode analyzed (bluealloy#1666) * chore(deps): bump serde_json from 1.0.120 to 1.0.121 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.1 to 1.39.2 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump blst from 0.3.12 to 0.3.13 (bluealloy#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](supranational/blst@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] <support@github.com> 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 (bluealloy#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](serde-rs/json@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump regex from 1.10.5 to 1.10.6 (bluealloy#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](rust-lang/regex@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rstest from 0.21.0 to 0.22.0 (bluealloy#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](la10736/rstest@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add EOF Layout Fuzz Loop to `revme bytecode` (bluealloy#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 (bluealloy#1673) * docs: improve `InstructionResult` documentation * chore: clean up * Add OP-Granite hardfork, limiting bn256Pairing input size (bluealloy#1685) * Add OP-Granite hardfork, limiting bn256Pairing input size * Move optimism-specific bn128 precompile * feat: check for typos in CI (bluealloy#1686) Co-authored-by: adria0 <adria0@nowhere> * feat(EOF): add evmone test suite (bluealloy#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 (bluealloy#1690) * chore: release (bluealloy#1683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: tag v41 revm v13.0.0 (bluealloy#1692) * fix(CI): types check (bluealloy#1693) * fix(CI): types check * Typos * chore(deps): bump alloy-provider from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> 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 (bluealloy#1680)" (bluealloy#1696) This reverts commit 0a5be93. * chore(deps): bump alloy-transport from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump enumn from 0.1.13 to 0.1.14 (bluealloy#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](dtolnay/enumn@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * doc: update some docs related to state (bluealloy#1711) * chore: clean up some journalstate docs (bluealloy#1712) * chore(deps): bump bytes from 1.6.1 to 1.7.1 (bluealloy#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](tokio-rs/bytes@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: switch gas check order in blake2 precompile (bluealloy#1718) * chore(deps): bump serde from 1.0.204 to 1.0.209 (bluealloy#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](serde-rs/serde@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: fix spelling issues (bluealloy#1715) * Update memory.md * Update bits.md * Update kzg.md * Update documentation/src/crates/primitives/kzg.md Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * Update bits.md --------- Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * feat: c-kzg bump, cleanup on kzgsetting (bluealloy#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 (bluealloy#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 (bluealloy#1727) * fix: cast block number to u64 and not usize * clippy * feat(eip7702): Impl newest version of EIP (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#1722) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog (bluealloy#1730) * bump to newest eof eest tests pr-756 (bluealloy#1733) * chore: bump kzg-rs version (bluealloy#1734) * chore: Bump new logo (bluealloy#1735) * chore: release (bluealloy#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 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.39.2 to 1.40.0 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump reqwest from 0.12.5 to 0.12.7 (bluealloy#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](seanmonstar/reqwest@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] <support@github.com> 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 (bluealloy#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](alloy-rs/rlp@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add test for `revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord` (bluealloy#1743) * Add test for revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord * Fix lint * fix(inspector): always call selfdestruct if entry is made (bluealloy#1746) Signed-off-by: jsvisa <delweng@gmail.com> * chore: add gitattributes linguist-vendored for tests (bluealloy#1750) * chore: add `.gitattributes` (bluealloy#1751) * Test l1 gas used fjord (bluealloy#1749) * Fix docs * Verify calculation of data gas cost for tx in fjord block * feat(statetest): enable EOF in Prague tests (bluealloy#1753) * feat(statetest): enable EOF in Prague tests * statetest json PragueEOF to Prague * chore: make clippy happy (bluealloy#1755) * chore(revm): elided lifetime has a name Signed-off-by: jsvisa <delweng@gmail.com> * clipy: map to inspect Signed-off-by: jsvisa <delweng@gmail.com> * fix all clippy warnings Signed-off-by: jsvisa <delweng@gmail.com> * typo Signed-off-by: jsvisa <delweng@gmail.com> --------- Signed-off-by: jsvisa <delweng@gmail.com> * chore(deps): bump secp256k1 from 0.29.0 to 0.29.1 (bluealloy#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](rust-bitcoin/rust-secp256k1@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] <support@github.com> 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 (bluealloy#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](alloy-rs/core@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump anyhow from 1.0.86 to 1.0.87 (bluealloy#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](dtolnay/anyhow@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] <support@github.com> 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 (bluealloy#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](alloy-rs/core@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> 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] <support@github.com> Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Co-authored-by: jakevin <jakevingoo@gmail.com> Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Co-authored-by: ioterw <iotrwewe12@protonmail.com> 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 <rakita@users.noreply.github.com> Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com> Co-authored-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Léo Vincent <28714795+leovct@users.noreply.github.com> Co-authored-by: Brian Bland <brian.t.bland@gmail.com> Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com> Co-authored-by: adria0 <adria0@nowhere> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Prestwich <james@prestwi.ch> Co-authored-by: Oliver <onbjerg@users.noreply.github.com> Co-authored-by: HAPPY <pcy190@126.com> Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com> Co-authored-by: Bhargav Annem <bhargav.annem@gmail.com> Co-authored-by: rakita <dragan0rakita@gmail.com> Co-authored-by: Emilia Hane <emiliaha95@gmail.com> Co-authored-by: Delweng <delweng@gmail.com> Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
lightsing
added a commit
to scroll-tech/revm
that referenced
this pull request
Oct 29, 2024
* chore(eof): simplify magic checks (bluealloy#1633) * perf(eof): avoid some allocations (bluealloy#1632) * perf(eof): avoid some allocations * Update crates/primitives/src/bytecode/eof.rs * chore: fix some typos & remove useless Arc::clone (bluealloy#1621) * chore: fix some typos * chore: remove useless Arc::clone * refactor: use `is_zero` for `U256` and `B256` (bluealloy#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 (bluealloy#1640) * chore: Renamed some city name (bluealloy#1645) * perf: avoid cloning original_bytes (bluealloy#1646) * fix(eof): deny static context in EOFCREATE (bluealloy#1644) * feat: use batch bn256 pair operation (bluealloy#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 (bluealloy#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 (bluealloy#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](dtolnay/thiserror@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.0 to 1.38.1 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(EOF): Overflow on num_sections (bluealloy#1656) * fix(EOF): Overflow on num_sections * fix test * fmt/clippy * feat(EOF): EOF Validation add code type and sub container tracker (bluealloy#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 (bluealloy#1658) * fix(EOF): Validate code access in stack (bluealloy#1659) * wip: test * fix(EOF): Validate code access in stack * add code access * feat(EOF): Add EOF validation in revme bytecode cmd (bluealloy#1660) * chore(clippy): 1.80 rust clippy list paragraph ident (bluealloy#1661) * feat(EOF): Add non-returning CALLF/JUMPF checks (bluealloy#1663) * feat(EOF): Add non-returning CALLF/JUMPF checks * fix tests * fix(EOF): returning to non-returning jumpf, enable valition error (bluealloy#1664) * fix: add DATACOPY to OpCode::modifies_memory (bluealloy#1639) * chore(eof): Add opcodes that expand memory (bluealloy#1665) * fix(statetest): make bytecode analyzed (bluealloy#1666) * chore(deps): bump serde_json from 1.0.120 to 1.0.121 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.1 to 1.39.2 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump blst from 0.3.12 to 0.3.13 (bluealloy#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](supranational/blst@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] <support@github.com> 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 (bluealloy#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](serde-rs/json@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump regex from 1.10.5 to 1.10.6 (bluealloy#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](rust-lang/regex@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rstest from 0.21.0 to 0.22.0 (bluealloy#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](la10736/rstest@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add EOF Layout Fuzz Loop to `revme bytecode` (bluealloy#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 (bluealloy#1673) * docs: improve `InstructionResult` documentation * chore: clean up * Add OP-Granite hardfork, limiting bn256Pairing input size (bluealloy#1685) * Add OP-Granite hardfork, limiting bn256Pairing input size * Move optimism-specific bn128 precompile * feat: check for typos in CI (bluealloy#1686) Co-authored-by: adria0 <adria0@nowhere> * feat(EOF): add evmone test suite (bluealloy#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 (bluealloy#1690) * chore: release (bluealloy#1683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: tag v41 revm v13.0.0 (bluealloy#1692) * fix(CI): types check (bluealloy#1693) * fix(CI): types check * Typos * chore(deps): bump alloy-provider from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> 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 (bluealloy#1680)" (bluealloy#1696) This reverts commit 0a5be93. * chore(deps): bump alloy-transport from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump enumn from 0.1.13 to 0.1.14 (bluealloy#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](dtolnay/enumn@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * doc: update some docs related to state (bluealloy#1711) * chore: clean up some journalstate docs (bluealloy#1712) * chore(deps): bump bytes from 1.6.1 to 1.7.1 (bluealloy#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](tokio-rs/bytes@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: switch gas check order in blake2 precompile (bluealloy#1718) * chore(deps): bump serde from 1.0.204 to 1.0.209 (bluealloy#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](serde-rs/serde@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: fix spelling issues (bluealloy#1715) * Update memory.md * Update bits.md * Update kzg.md * Update documentation/src/crates/primitives/kzg.md Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * Update bits.md --------- Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * feat: c-kzg bump, cleanup on kzgsetting (bluealloy#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 (bluealloy#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 (bluealloy#1727) * fix: cast block number to u64 and not usize * clippy * feat(eip7702): Impl newest version of EIP (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#1722) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog (bluealloy#1730) * bump to newest eof eest tests pr-756 (bluealloy#1733) * chore: bump kzg-rs version (bluealloy#1734) * chore: Bump new logo (bluealloy#1735) * chore: release (bluealloy#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 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.39.2 to 1.40.0 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump reqwest from 0.12.5 to 0.12.7 (bluealloy#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](seanmonstar/reqwest@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] <support@github.com> 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 (bluealloy#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](alloy-rs/rlp@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add test for `revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord` (bluealloy#1743) * Add test for revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord * Fix lint * fix(inspector): always call selfdestruct if entry is made (bluealloy#1746) Signed-off-by: jsvisa <delweng@gmail.com> * chore: add gitattributes linguist-vendored for tests (bluealloy#1750) * chore: add `.gitattributes` (bluealloy#1751) * Test l1 gas used fjord (bluealloy#1749) * Fix docs * Verify calculation of data gas cost for tx in fjord block * feat(statetest): enable EOF in Prague tests (bluealloy#1753) * feat(statetest): enable EOF in Prague tests * statetest json PragueEOF to Prague * chore: make clippy happy (bluealloy#1755) * chore(revm): elided lifetime has a name Signed-off-by: jsvisa <delweng@gmail.com> * clipy: map to inspect Signed-off-by: jsvisa <delweng@gmail.com> * fix all clippy warnings Signed-off-by: jsvisa <delweng@gmail.com> * typo Signed-off-by: jsvisa <delweng@gmail.com> --------- Signed-off-by: jsvisa <delweng@gmail.com> * chore(deps): bump secp256k1 from 0.29.0 to 0.29.1 (bluealloy#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](rust-bitcoin/rust-secp256k1@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] <support@github.com> 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 (bluealloy#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](alloy-rs/core@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump anyhow from 1.0.86 to 1.0.87 (bluealloy#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](dtolnay/anyhow@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] <support@github.com> 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 (bluealloy#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](alloy-rs/core@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: release-plz update * chore: release v44 bump main CHANGELOG * feat: Add holocene to OP spec (bluealloy#1794) * add holocene to spec * add holocene in precompile * add cfg optimism to HOLOCENE * feat(primitives): implement map module bluealloy#743 for v45 (bluealloy#1806) * bump: release-plz update (bluealloy#1807) * bump primitives * bump: release-plz update --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Co-authored-by: jakevin <jakevingoo@gmail.com> Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Co-authored-by: ioterw <iotrwewe12@protonmail.com> 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 <rakita@users.noreply.github.com> Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com> Co-authored-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Léo Vincent <28714795+leovct@users.noreply.github.com> Co-authored-by: Brian Bland <brian.t.bland@gmail.com> Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com> Co-authored-by: adria0 <adria0@nowhere> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Prestwich <james@prestwi.ch> Co-authored-by: Oliver <onbjerg@users.noreply.github.com> Co-authored-by: HAPPY <pcy190@126.com> Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com> Co-authored-by: Bhargav Annem <bhargav.annem@gmail.com> Co-authored-by: rakita <dragan0rakita@gmail.com> Co-authored-by: Emilia Hane <emiliaha95@gmail.com> Co-authored-by: Delweng <delweng@gmail.com> Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com> Co-authored-by: cody-wang-cb <cody.wang@coinbase.com>
lightsing
added a commit
to scroll-tech/revm
that referenced
this pull request
Oct 29, 2024
* chore(eof): simplify magic checks (bluealloy#1633) * perf(eof): avoid some allocations (bluealloy#1632) * perf(eof): avoid some allocations * Update crates/primitives/src/bytecode/eof.rs * chore: fix some typos & remove useless Arc::clone (bluealloy#1621) * chore: fix some typos * chore: remove useless Arc::clone * refactor: use `is_zero` for `U256` and `B256` (bluealloy#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 (bluealloy#1640) * chore: Renamed some city name (bluealloy#1645) * perf: avoid cloning original_bytes (bluealloy#1646) * fix(eof): deny static context in EOFCREATE (bluealloy#1644) * feat: use batch bn256 pair operation (bluealloy#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 (bluealloy#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 (bluealloy#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](dtolnay/thiserror@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.0 to 1.38.1 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(EOF): Overflow on num_sections (bluealloy#1656) * fix(EOF): Overflow on num_sections * fix test * fmt/clippy * feat(EOF): EOF Validation add code type and sub container tracker (bluealloy#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 (bluealloy#1658) * fix(EOF): Validate code access in stack (bluealloy#1659) * wip: test * fix(EOF): Validate code access in stack * add code access * feat(EOF): Add EOF validation in revme bytecode cmd (bluealloy#1660) * chore(clippy): 1.80 rust clippy list paragraph ident (bluealloy#1661) * feat(EOF): Add non-returning CALLF/JUMPF checks (bluealloy#1663) * feat(EOF): Add non-returning CALLF/JUMPF checks * fix tests * fix(EOF): returning to non-returning jumpf, enable valition error (bluealloy#1664) * fix: add DATACOPY to OpCode::modifies_memory (bluealloy#1639) * chore(eof): Add opcodes that expand memory (bluealloy#1665) * fix(statetest): make bytecode analyzed (bluealloy#1666) * chore(deps): bump serde_json from 1.0.120 to 1.0.121 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.1 to 1.39.2 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump blst from 0.3.12 to 0.3.13 (bluealloy#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](supranational/blst@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] <support@github.com> 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 (bluealloy#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](serde-rs/json@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump regex from 1.10.5 to 1.10.6 (bluealloy#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](rust-lang/regex@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rstest from 0.21.0 to 0.22.0 (bluealloy#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](la10736/rstest@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add EOF Layout Fuzz Loop to `revme bytecode` (bluealloy#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 (bluealloy#1673) * docs: improve `InstructionResult` documentation * chore: clean up * Add OP-Granite hardfork, limiting bn256Pairing input size (bluealloy#1685) * Add OP-Granite hardfork, limiting bn256Pairing input size * Move optimism-specific bn128 precompile * feat: check for typos in CI (bluealloy#1686) Co-authored-by: adria0 <adria0@nowhere> * feat(EOF): add evmone test suite (bluealloy#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 (bluealloy#1690) * chore: release (bluealloy#1683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: tag v41 revm v13.0.0 (bluealloy#1692) * fix(CI): types check (bluealloy#1693) * fix(CI): types check * Typos * chore(deps): bump alloy-provider from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> 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 (bluealloy#1680)" (bluealloy#1696) This reverts commit 0a5be93. * chore(deps): bump alloy-transport from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump enumn from 0.1.13 to 0.1.14 (bluealloy#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](dtolnay/enumn@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * doc: update some docs related to state (bluealloy#1711) * chore: clean up some journalstate docs (bluealloy#1712) * chore(deps): bump bytes from 1.6.1 to 1.7.1 (bluealloy#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](tokio-rs/bytes@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: switch gas check order in blake2 precompile (bluealloy#1718) * chore(deps): bump serde from 1.0.204 to 1.0.209 (bluealloy#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](serde-rs/serde@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: fix spelling issues (bluealloy#1715) * Update memory.md * Update bits.md * Update kzg.md * Update documentation/src/crates/primitives/kzg.md Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * Update bits.md --------- Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * feat: c-kzg bump, cleanup on kzgsetting (bluealloy#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 (bluealloy#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 (bluealloy#1727) * fix: cast block number to u64 and not usize * clippy * feat(eip7702): Impl newest version of EIP (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#1722) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog (bluealloy#1730) * bump to newest eof eest tests pr-756 (bluealloy#1733) * chore: bump kzg-rs version (bluealloy#1734) * chore: Bump new logo (bluealloy#1735) * chore: release (bluealloy#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 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.39.2 to 1.40.0 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump reqwest from 0.12.5 to 0.12.7 (bluealloy#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](seanmonstar/reqwest@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] <support@github.com> 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 (bluealloy#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](alloy-rs/rlp@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add test for `revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord` (bluealloy#1743) * Add test for revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord * Fix lint * fix(inspector): always call selfdestruct if entry is made (bluealloy#1746) Signed-off-by: jsvisa <delweng@gmail.com> * chore: add gitattributes linguist-vendored for tests (bluealloy#1750) * chore: add `.gitattributes` (bluealloy#1751) * Test l1 gas used fjord (bluealloy#1749) * Fix docs * Verify calculation of data gas cost for tx in fjord block * feat(statetest): enable EOF in Prague tests (bluealloy#1753) * feat(statetest): enable EOF in Prague tests * statetest json PragueEOF to Prague * chore: make clippy happy (bluealloy#1755) * chore(revm): elided lifetime has a name Signed-off-by: jsvisa <delweng@gmail.com> * clipy: map to inspect Signed-off-by: jsvisa <delweng@gmail.com> * fix all clippy warnings Signed-off-by: jsvisa <delweng@gmail.com> * typo Signed-off-by: jsvisa <delweng@gmail.com> --------- Signed-off-by: jsvisa <delweng@gmail.com> * chore(deps): bump secp256k1 from 0.29.0 to 0.29.1 (bluealloy#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](rust-bitcoin/rust-secp256k1@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] <support@github.com> 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 (bluealloy#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](alloy-rs/core@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump anyhow from 1.0.86 to 1.0.87 (bluealloy#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](dtolnay/anyhow@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] <support@github.com> 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 (bluealloy#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](alloy-rs/core@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: release-plz update * chore: release v44 bump main CHANGELOG * feat: Add holocene to OP spec (bluealloy#1794) * add holocene to spec * add holocene in precompile * add cfg optimism to HOLOCENE * feat(primitives): implement map module bluealloy#743 for v45 (bluealloy#1806) * bump: release-plz update (bluealloy#1807) * bump primitives * bump: release-plz update * feat(EIP-7702): devnet-4 changes (bluealloy#1821) * feat(EIP-7702): devnet-4 changes * add new test suite * fix test * check parity in revme, remove invalid auth tx tests * fix clippy * feat: Rename PRAGUE_EOF to OSAKA (bluealloy#1822) * chore: bump newest primitives (bluealloy#1823) * Rename PRAGUE_EOF to OSAKA * bump newest primitives * feat: EIP-7702 Add u8 validity (bluealloy#1824) * chore: remove test u8 check (bluealloy#1825) * chore: Bump v46 versions (bluealloy#1826) --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Co-authored-by: jakevin <jakevingoo@gmail.com> Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Co-authored-by: ioterw <iotrwewe12@protonmail.com> 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 <rakita@users.noreply.github.com> Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com> Co-authored-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Léo Vincent <28714795+leovct@users.noreply.github.com> Co-authored-by: Brian Bland <brian.t.bland@gmail.com> Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com> Co-authored-by: adria0 <adria0@nowhere> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Prestwich <james@prestwi.ch> Co-authored-by: Oliver <onbjerg@users.noreply.github.com> Co-authored-by: HAPPY <pcy190@126.com> Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com> Co-authored-by: Bhargav Annem <bhargav.annem@gmail.com> Co-authored-by: rakita <dragan0rakita@gmail.com> Co-authored-by: Emilia Hane <emiliaha95@gmail.com> Co-authored-by: Delweng <delweng@gmail.com> Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com> Co-authored-by: cody-wang-cb <cody.wang@coinbase.com>
lightsing
added a commit
to scroll-tech/revm
that referenced
this pull request
Oct 29, 2024
* chore(eof): simplify magic checks (bluealloy#1633) * perf(eof): avoid some allocations (bluealloy#1632) * perf(eof): avoid some allocations * Update crates/primitives/src/bytecode/eof.rs * chore: fix some typos & remove useless Arc::clone (bluealloy#1621) * chore: fix some typos * chore: remove useless Arc::clone * refactor: use `is_zero` for `U256` and `B256` (bluealloy#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 (bluealloy#1640) * chore: Renamed some city name (bluealloy#1645) * perf: avoid cloning original_bytes (bluealloy#1646) * fix(eof): deny static context in EOFCREATE (bluealloy#1644) * feat: use batch bn256 pair operation (bluealloy#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 (bluealloy#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 (bluealloy#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](dtolnay/thiserror@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.0 to 1.38.1 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(EOF): Overflow on num_sections (bluealloy#1656) * fix(EOF): Overflow on num_sections * fix test * fmt/clippy * feat(EOF): EOF Validation add code type and sub container tracker (bluealloy#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 (bluealloy#1658) * fix(EOF): Validate code access in stack (bluealloy#1659) * wip: test * fix(EOF): Validate code access in stack * add code access * feat(EOF): Add EOF validation in revme bytecode cmd (bluealloy#1660) * chore(clippy): 1.80 rust clippy list paragraph ident (bluealloy#1661) * feat(EOF): Add non-returning CALLF/JUMPF checks (bluealloy#1663) * feat(EOF): Add non-returning CALLF/JUMPF checks * fix tests * fix(EOF): returning to non-returning jumpf, enable valition error (bluealloy#1664) * fix: add DATACOPY to OpCode::modifies_memory (bluealloy#1639) * chore(eof): Add opcodes that expand memory (bluealloy#1665) * fix(statetest): make bytecode analyzed (bluealloy#1666) * chore(deps): bump serde_json from 1.0.120 to 1.0.121 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.38.1 to 1.39.2 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump blst from 0.3.12 to 0.3.13 (bluealloy#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](supranational/blst@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] <support@github.com> 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 (bluealloy#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](serde-rs/json@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump regex from 1.10.5 to 1.10.6 (bluealloy#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](rust-lang/regex@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump rstest from 0.21.0 to 0.22.0 (bluealloy#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](la10736/rstest@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add EOF Layout Fuzz Loop to `revme bytecode` (bluealloy#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 (bluealloy#1673) * docs: improve `InstructionResult` documentation * chore: clean up * Add OP-Granite hardfork, limiting bn256Pairing input size (bluealloy#1685) * Add OP-Granite hardfork, limiting bn256Pairing input size * Move optimism-specific bn128 precompile * feat: check for typos in CI (bluealloy#1686) Co-authored-by: adria0 <adria0@nowhere> * feat(EOF): add evmone test suite (bluealloy#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 (bluealloy#1690) * chore: release (bluealloy#1683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: tag v41 revm v13.0.0 (bluealloy#1692) * fix(CI): types check (bluealloy#1693) * fix(CI): types check * Typos * chore(deps): bump alloy-provider from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> 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 (bluealloy#1680)" (bluealloy#1696) This reverts commit 0a5be93. * chore(deps): bump alloy-transport from 0.2.0 to 0.2.1 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump enumn from 0.1.13 to 0.1.14 (bluealloy#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](dtolnay/enumn@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * doc: update some docs related to state (bluealloy#1711) * chore: clean up some journalstate docs (bluealloy#1712) * chore(deps): bump bytes from 1.6.1 to 1.7.1 (bluealloy#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](tokio-rs/bytes@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: switch gas check order in blake2 precompile (bluealloy#1718) * chore(deps): bump serde from 1.0.204 to 1.0.209 (bluealloy#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](serde-rs/serde@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: fix spelling issues (bluealloy#1715) * Update memory.md * Update bits.md * Update kzg.md * Update documentation/src/crates/primitives/kzg.md Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * Update bits.md --------- Co-authored-by: Oliver <onbjerg@users.noreply.github.com> * feat: c-kzg bump, cleanup on kzgsetting (bluealloy#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 (bluealloy#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 (bluealloy#1727) * fix: cast block number to u64 and not usize * clippy * feat(eip7702): Impl newest version of EIP (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#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 (bluealloy#1722) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * bump: main changelog (bluealloy#1730) * bump to newest eof eest tests pr-756 (bluealloy#1733) * chore: bump kzg-rs version (bluealloy#1734) * chore: Bump new logo (bluealloy#1735) * chore: release (bluealloy#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 (bluealloy#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](serde-rs/json@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tokio from 1.39.2 to 1.40.0 (bluealloy#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](tokio-rs/tokio@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump reqwest from 0.12.5 to 0.12.7 (bluealloy#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](seanmonstar/reqwest@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] <support@github.com> 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 (bluealloy#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](alloy-rs/rlp@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add test for `revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord` (bluealloy#1743) * Add test for revm::optimism::L1BlockInfo::calculate_tx_l1_cost_fjord * Fix lint * fix(inspector): always call selfdestruct if entry is made (bluealloy#1746) Signed-off-by: jsvisa <delweng@gmail.com> * chore: add gitattributes linguist-vendored for tests (bluealloy#1750) * chore: add `.gitattributes` (bluealloy#1751) * Test l1 gas used fjord (bluealloy#1749) * Fix docs * Verify calculation of data gas cost for tx in fjord block * feat(statetest): enable EOF in Prague tests (bluealloy#1753) * feat(statetest): enable EOF in Prague tests * statetest json PragueEOF to Prague * chore: make clippy happy (bluealloy#1755) * chore(revm): elided lifetime has a name Signed-off-by: jsvisa <delweng@gmail.com> * clipy: map to inspect Signed-off-by: jsvisa <delweng@gmail.com> * fix all clippy warnings Signed-off-by: jsvisa <delweng@gmail.com> * typo Signed-off-by: jsvisa <delweng@gmail.com> --------- Signed-off-by: jsvisa <delweng@gmail.com> * chore(deps): bump secp256k1 from 0.29.0 to 0.29.1 (bluealloy#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](rust-bitcoin/rust-secp256k1@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] <support@github.com> 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 (bluealloy#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](alloy-rs/core@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump anyhow from 1.0.86 to 1.0.87 (bluealloy#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](dtolnay/anyhow@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] <support@github.com> 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 (bluealloy#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](alloy-rs/core@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] <support@github.com> 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 (bluealloy#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](alloy-rs/alloy@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: release-plz update * chore: release v44 bump main CHANGELOG * feat: Add holocene to OP spec (bluealloy#1794) * add holocene to spec * add holocene in precompile * add cfg optimism to HOLOCENE * feat(primitives): implement map module bluealloy#743 for v45 (bluealloy#1806) * bump: release-plz update (bluealloy#1807) * bump primitives * bump: release-plz update * feat(EIP-7702): devnet-4 changes (bluealloy#1821) * feat(EIP-7702): devnet-4 changes * add new test suite * fix test * check parity in revme, remove invalid auth tx tests * fix clippy * feat: Rename PRAGUE_EOF to OSAKA (bluealloy#1822) * chore: bump newest primitives (bluealloy#1823) * Rename PRAGUE_EOF to OSAKA * bump newest primitives * feat: EIP-7702 Add u8 validity (bluealloy#1824) * chore: remove test u8 check (bluealloy#1825) * chore: Bump v46 versions (bluealloy#1826) * bump: alloy-eip7702 * release-plz update * bump major version number --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Co-authored-by: jakevin <jakevingoo@gmail.com> Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com> Co-authored-by: ioterw <iotrwewe12@protonmail.com> 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 <rakita@users.noreply.github.com> Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com> Co-authored-by: Danno Ferrin <danno@numisight.com> Co-authored-by: Léo Vincent <28714795+leovct@users.noreply.github.com> Co-authored-by: Brian Bland <brian.t.bland@gmail.com> Co-authored-by: adria0.eth <5526331+adria0@users.noreply.github.com> Co-authored-by: adria0 <adria0@nowhere> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: James Prestwich <james@prestwi.ch> Co-authored-by: Oliver <onbjerg@users.noreply.github.com> Co-authored-by: HAPPY <pcy190@126.com> Co-authored-by: Elias Rad <146735585+nnsW3@users.noreply.github.com> Co-authored-by: Bhargav Annem <bhargav.annem@gmail.com> Co-authored-by: rakita <dragan0rakita@gmail.com> Co-authored-by: Emilia Hane <emiliaha95@gmail.com> Co-authored-by: Delweng <delweng@gmail.com> Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com> Co-authored-by: cody-wang-cb <cody.wang@coinbase.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Found here: ipsilon/eof#146 (comment)
Bug was introduced few commits before #1648