Skip to content

Conversation

@elijahhampton
Copy link

No description provided.

Wodann and others added 30 commits September 9, 2024 12:27
…y#1672)

* refactor: allow chain-specific configuration of Evm

* refactor: rename Transaction::transact_to and clarify docs

* refactor: remove trait bounds on Transaction super trait

* refactor: remove trait bounds from Block supertrait

* fix: clippy warnings

* fix: cargo doc

* refactor: limit trait bounds on HaltReason

* refactor: allow moving of kind

* refactor: rename Transaction::nonce to nonce_opt to signal that it's optional

* refactor: replace AccessList with alloy version

* refactor: rename gas_priority_fee to max_priority_fee_per_gas

* refactor: correct trait bound on ExecutionResult::clone

* Clone

* refactor: only allow optional nonce check via CfgEnv

* fix: revme

* refactor: derive DummyHost

* refactor: derive Clone for ExecutionResult

* refactor: remove EVMErrorForChain

* refactor: derive Clone for CfgEnvWithChainSpec

* refactor: use EVMResultGeneric

* refactor: add convenience EVMErrorForChain type alias

* feat: export OptimismBlock

* refactor: add handler constructor and Context to revm::ChainSpec

* refactor: generalise optimism implementation using traits

* fix: no-default-features

* fix: CI

* chore: Add default fn to Tx/Block traits

* Chore: rename ChainSpec to EvmWiring

* chore: clippy comments fix

* chore: rename EthEvmWiring to EthereumWiring

* chore: re add serde, restring HaltReasonTrait

* chore: move custom opcode to examples

* chore: remove op feature from test wiring

* nit use Self::EvmWiringT

* nit indents

* feat(Wiring): Add Database and EXT to EvmWiring

* some fixes

* temp

* feat: make builder compile. EnvWiring and Result Halt

* chore: cleanup rename

* nit

* fix: make string conversion complete

* fix compile

* compiles

* wip builder

* wip

* fix compile

* wip

* fix optimism test

* fix docs ci

* cleanup

* cleanup

* use core::error::Error

* cleanup

* use core error

* fix builer

* fix docs

* final doc fix

* rm alloy provider

---------

Co-authored-by: rakita <[email protected]>
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.19.0 to 1.20.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](matklad/once_cell@v1.19.0...v1.20.0)

---
updated-dependencies:
- dependency-name: once_cell
  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 [anyhow](https://github.com/dtolnay/anyhow) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.88...1.0.89)

---
updated-dependencies:
- dependency-name: anyhow
  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 [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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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] <[email protected]>
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 <[email protected]>

* sstore_cost return u64 instead of Option

Signed-off-by: jsvisa <[email protected]>

* fix testcase

Signed-off-by: jsvisa <[email protected]>

---------

Signed-off-by: jsvisa <[email protected]>
* 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
…#1808)

* feat: split test models to statetest-tests

* chore: attempt documentation

* Update Cargo.toml

* Update Cargo.toml


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

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

* chore: update methods

* chore: update

* use default hasher
FredCoen and others added 25 commits December 31, 2024 20:55
* add bytecode hash to interpreter

* fmt

* lazy setting bytecode_hash to prevent performance degradation

* move hash to extended bytecode

* remove trait bound

* Update crates/interpreter/src/interpreter/ext_bytecode.rs

* Update crates/interpreter/src/interpreter/ext_bytecode.rs

* Update crates/interpreter/src/interpreter/ext_bytecode.rs

* fix tests

* set hash for interpreter
* split inspector

* fixed errors

* fmt

* fixed failing test

* fmt

* clippy fix

* fmt
* Update precompile.md

* Update builder.md

* Update kzg.md
* chore: relax some impl and exec_with_tx

* add helper created_address

* add error to database error

* ext journal with state

* fix: handle inspector final return

* call final_return

* expose precompile addresses to Journal

* precompile addresses fn for journal

* feat: align Block trait

* fix mul

* feat: simplify transaction trait

* wip impl for TxEnv

* compiled simlified tx trait

* tweek

* add perf on access list load

* rm debug print

* op enabled. Rm Error from Tx trait

* fix tests

* rn old prague tests
* feat: bump eof validation tests

* fix(eof): dont run precompile on ext delegate call

* updates eof validation paths

* some cleanup
…loy#1965)

* feat(EIP-7623): Increase calldata cost. backport from rel/v51

* bump devnet5 tests
…#1961)

* add journalinit type

* replace from into convention with explicit helpers
…alloy#1969)

* feat(eip7702): apply latest EIP-7702 changes, backport from v52

* fix eip7702 tests
…1980)

* feat(EIP-7840): Add blob schedule to execution client configuration files

* fix test

* no_std include vec

* doc
* core: blst reprice, remove g1/g2 mul

* fmt

* rm old bls tests
* feat: extract and export `estimate_tx_compressed_size`

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

* fmt
…1995)

* fix(revme): statetest remove redundant json output

* fix(revme): Statetest stop exec when print output is true
* fix: bumps alloy version for provider compat

* fix: bump examples
* fix: deduplicate validate_initial_tx_gas API

* misc: apply review suggestions
* feat: EthHandler trait

* work work

* frame contexts

* inspector compiled

* transact_main and transact_main_commit

* Generalize InterpreterTypes

* big cleanup, rm all partial handlers

* compile

* Some cleanup

* some cleanup

* Erc20 example, need to fix logic

* fix erc20 example

* cleanup and testing

* fix eip7702 order, pass all devnet tests

* fix compilation

* docs
Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, the change is not about CODECOPY but about EXTCODECOPY. Hane wrote wrong opcode in the issue (have edited issue rn
), but if you go to the link you can see the change ethereum/EIPs#9248

And can you make a PR on top of release/v52 branch. And the line is here:

EIP7702_MAGIC_BYTES.clone()

@elijahhampton elijahhampton changed the base branch from main to release/v52 January 23, 2025 17:08
@elijahhampton
Copy link
Author

Hey, the change is not about CODECOPY but about EXTCODECOPY. Hane wrote wrong opcode in the issue (have edited issue rn ), but if you go to the link you can see the change ethereum/EIPs#9248

And can you make a PR on top of release/v52 branch. And the line is here:

EIP7702_MAGIC_BYTES.clone()

I created another PR here: #2016 to avoid potential problems from resolving the conflicts.

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.