Skip to content
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

[pull] main from bluealloy:main #43

Open
wants to merge 285 commits into
base: main
Choose a base branch
from
Open

[pull] main from bluealloy:main #43

wants to merge 285 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented May 3, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label May 3, 2024
DaniPopes and others added 29 commits May 13, 2024 11:03
* fix(primitives): specify the optimism cfg on spec_to_generic (#1412)

* chore(EOF): rename extcall opcode/names
* feat(EOF): Add CALLF stack check

* fix tests

* jump stack check
* Revert "feat: implement EIP-2935 (#1354)"

This reverts commit 3e089f3.

* dont revert some commend changes

* Revert "fix(eip2935): Preload blockchash storage address (#1395)"

This reverts commit aeefcda.
* fix: load blockchash only from serve_window

* fix: devnet-0 blockchash behaviour
* test(precompile): add BLS test vectors

* fix(gakonst): dont blow up on bls p2_affines

* uncomment g1 msm required gas

* chore: small refactors

* rm artifacts

* add new bls test jsons

* remove fail-tests

these should be added again at some point

* fix: perform subgroup checks only on msm, pairing, and scalar multiplications

* fix docs

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: rakita <dragan0rakita@gmail.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
* chore(interpreter): optimisation for BYTE, SHL, SHR and SAR

* added previus comment in byte function

* updated pr comments
* feat: load account should return db error

* simplify
* chore: cargo update

* chore: skip tests with storage check and return error

* return println and clippy

* revert to previous println
* feat(revm): revert EIP-2935 BLOCKHASH opcode changes

* fix lint

* bump time

* return previous impl mod prague branch

* remove unused imports
* feat(optimism): Add secp256r1 precompile for Fjord

* Fix docs

* Fix nostd build

* Load fjord precompiles via optimism handler register

* Remove outdated fjord() precompile spec constructor

* Document the secp256r1 feature

* Address feedback

* Handle invalid signatures

* Update crates/precompile/src/secp256r1.rs

* Update crates/precompile/src/secp256r1.rs

* Blank return on failed signature verification

* Add test case for invalid (zero) pubkey

---------

Co-authored-by: rakita <rakita@users.noreply.github.com>
* fix: check canonical field elements

* chore: more cleanups

* remove hex, update comments

* fix more docs

* small refactor and check if fp is canonical

* doc fix
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.202 to 1.0.203.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.202...v1.0.203)

---
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>
…me (#1461)

conflict

Co-authored-by: Eric Bogard <ebo@testmachine.ai>
* Implement new L1 cost function for Fjord

* Add fastlz test

* Adds a second, more faithful adaptation of solady fastlz for fuzzing

* Fix bounds check

* Remove some unnecessary constants

* Fix some linting issues

* Add tests for parity with evm bytecode implementation of fastlz

* Replace ethers abi encode/decode with alloy

* Use rstest for parameterized testcases

* Revert change to examples

* Remove duplicate solady flz implementation

* Remove direct alloy-sol-macro dependency

* Remove unnecessary flag check

* Undo dependency reordering
* fix(Interpreter): wrong block number used

* chore(primitives): rename State to PlainState

* Restructure StorageSlot and rename PlainState to EvmState

* doc
dependabot bot and others added 30 commits September 18, 2024 11:21
Bumps [alloy-transport](https://github.com/alloy-rs/alloy) from 0.3.0 to 0.3.5.
- [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.5)

---
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>
* feat(example): deploy bytecode from stratch

* feat(example): passing constructor parameters via creation code

* chore(example): use opcode constants for example deploy

* chore(example): typo EOF
* feat: to_plain_state

* feat: extend to reverts
* feat: project restructuring

* refactor

* restructuring

* restructure

* restructure

* move revm-test bins to revme bench

* rm ethersdb and revm-test

* move kzg to wiring

* fmt, clippy, cleanup

* fix test and doc

* fix kzg-rs build

* Use hashbrown for revme

* docs fix

* fix merged change

* fmt
* feat: restructure database crate

* fix tests

* wip examples

* split examples to standalone crates
* feat: Restructuring Part3 inspector crate

* fix serde include

* fix docs
* fix contract deployment example

* database component example

* fix examples

* fix uniswap usdc swap

* fmt

* docs

* rm comment
* feat: add ReentrancySentryOOG for SSTORE

Signed-off-by: jsvisa <delweng@gmail.com>

* sstore_cost return u64 instead of Option

Signed-off-by: jsvisa <delweng@gmail.com>

* fix testcase

Signed-off-by: jsvisa <delweng@gmail.com>

---------

Signed-off-by: jsvisa <delweng@gmail.com>
* feat: Merge validation/analyzis with Bytecode

* cleanup

* enable parse and std for bytecode
* chore: refactor *copy common code

* doc link fix
* fix: make macro crate-agnostic

* fix: clippy
* feat: add support for async database

* fix: update link in docs
* feat: split test models to statetest-tests

* chore: attempt documentation

* Update Cargo.toml

* Update Cargo.toml


---------
…map (#1805)

* chore(primitives): replace HashMap re-exports with alloy_primitives::map

* chore: update methods

* chore: update

* use default hasher
* Bump evmone EOF suite

* Skip EIP-7610 tests

* Exclude before activation

Before activation is just null so skip it for now

* Remove before activation
* chore: bump alloy to 0.4.2

* fix: bump examples too
* chore: refactor *copy common code

* doc link fix

* feat: Transaction abstraction

* wip tx abstraction

* temp

* impl Transactions trait on TxEnv

* switching to new tx abstraction

* wip

* first frame creation handle

* tx validation first part

* compiling tx transition

* tx/block verification

* cleanup

* make it compile

* fix tests

* tx type in statetests

* fix docs

* fix some panics

* try to fix statetest tx type deduction

* work on optimism tx type

* optimism impl

* fmt clippy

* impl auth list and access list traits

* expection handling for invalid statetest tx

* fix op tests

* docs

* docs and test fix

* basefee check for legacy

* clippy

* default tx gas limit to 30M

* set max gas limit

* readd eip7702 validity check

* docs and cleanup

* rm std check
* feat(interpreter): impl Clone for Stack

Signed-off-by: jsvisa <delweng@gmail.com>

* apply commits and add test cases

Signed-off-by: jsvisa <delweng@gmail.com>

---------

Signed-off-by: jsvisa <delweng@gmail.com>
* chore: clean up some std feature usage

* chore: clean up some std feature flags and tests in no_std
* perf(precompile): use secp256k1 global context for ecrecover

* remove secp var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.