Skip to content

Conversation

@wadagso-gertjaap
Copy link

Rebased our changes onto upstream v54 to pull in the latest changes

DaniPopes and others added 30 commits July 17, 2024 15:32
* perf(eof): avoid some allocations

* Update crates/primitives/src/bytecode/eof.rs
* chore: fix some typos

* chore: remove useless Arc::clone
* refactor: use is_zero for U256 and B256

* fmt

* Update crates/interpreter/src/instructions/arithmetic.rs

Co-authored-by: DaniPopes <[email protected]>

* fix deref

* move import

---------

Co-authored-by: DaniPopes <[email protected]>
* 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
…nd EofError (bluealloy#1649)

* feat: implement Error trait for EofValidationError

* feat: implement Error trait for EofError

* fix: remove unused import

* fix: remove format macro
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(EOF): Overflow on num_sections

* fix test

* fmt/clippy
…uealloy#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
* wip: test

* fix(EOF): Validate code access in stack

* add code access
* feat(EOF): Add non-returning CALLF/JUMPF checks

* fix tests
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
shemnon and others added 26 commits October 28, 2024 10:41
* Osaka Activation

Accept Osaka in unit tests and eof validation tests.

* update test cases

* remove evmone (they are all Prague based)
* remove evmone exclusions
* use [email protected] for eest
* port in EXTDELEGATE precompile fix

* fmt

* Leave space for arbitrary forks in eof validation

* only count validated tests

* remove references to test directories that are not valid with current specs

* refactor flow slightly

* clippy

* fmt
…loy#1845)

* perf(precompile): use secp256k1 global context for ecrecover

* remove secp var
* feat: to_plain_state

* feat: extend to reverts

Co-authored-by: James Prestwich <[email protected]>
* chore: remove Parity re-export

* bump eip7702
* perf(CacheAccount): remove unneeded clone

* perf(TransitionAccount): remove unneeded clone
* feat: eip-7623

* remove double iteration on data
* chore: bump alloy-eip7702

* clippy

* bump tests and fix auth chain_id check bug

* remove prints

* feat: apply latest EIP-7702 changes

* fmt

* bump alloy
* feat: eip7691 fraction update

* reitroduce max blob check for tx for cancun

* nit
* chore: eip7702 chainid u256 change

* feat: remove g1/g2 mul, shift address

* bump tests

* rm test with non empty storage

* no std

* rm obsolete tests
* bump: alloy core and use PrimitiveSignature

* bump version
* feat: handle isthmus operator fee

* fix: inverse if condition
* chore: optimize tx l1 fetches

* add std box
* fix(op): move l1block loading to verification

* clear full l1block data
* feat(EIP-7623): adjuct floor gas check order

* serde default
* feat(EIP-7623): adjuct floor gas check order

* serde default

* chore: bump v54 revm v19.3.0
@maurermi
Copy link
Collaborator

Looks like there are some merge conflicts to deal with here, but all good with rebasing this in

@wadagso-gertjaap
Copy link
Author

Opened a new PR for this - #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.