Skip to content

Merge upstream v19.5.0 #12

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

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

Merge upstream v19.5.0 #12

wants to merge 247 commits into from

Conversation

allnil
Copy link

@allnil allnil commented Mar 21, 2025

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 <dragan0rakita@gmail.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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] <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
…#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
omer-gen and others added 28 commits March 7, 2025 13:40
…oy#2155)

* refactor: JournalTr, JournalOutput, op using only revm crate
* typo
* docs
* feat: remove specification crate

* resolve rest of paths

* no std
…loy#2166)

* feat(handler): add MainnetContext alias generic over Database

* fix - cargo fmt

* fix - cargo fmt
* added with_ref_db fn

* workflow fixes

* Update crates/context/src/context.rs

* Update crates/context/src/context.rs

Co-authored-by: rakita <rakita@users.noreply.github.com>

* Update crates/context/src/context.rs

---------

Co-authored-by: rakita <rakita@users.noreply.github.com>
* bump: v59 release-plz update

* fix: switch order of publishing
* fix: set zero if blockhash is out of range

* fmt
* feat: decouple first_frame_input in inspector

* fix(op): fix inspection call

* rm one trait requirement
* chore: bump alloy

* fmt
* fix(op) enable proper precompiles p256

* derive from fjord
* add docs

* more docs

* add more docs

* few nits
* bump: v61 revm v20.0.0-alpha.4
* main changelog
* feat: add custom error to context

* nits

* add string
Copy link

Valgrind Results:

==4165== Cachegrind, a high-precision tracing profiler
==4165== Copyright (C) 2002-2017, and GNU GPL'd, by Nicholas Nethercote et al.
==4165== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==4165== Command: target/release/snailtracer
==4165== 
Running snailtracer example!
elapsed: 1.172976016s
==4165== 
==4165== I refs:        478,339,654

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.