Skip to content

Commit

Permalink
chore: merge with upstream v11.0.0 (#44)
Browse files Browse the repository at this point in the history
* refactor: replace U256 with u64 in BLOCKHASH (#1505)

* replace U256 -> u64

* cargo fmt

* refactor type cast to prevent panic

* refactor: replace AccessList with alloy version (#1552)

* refactor: replace AccessList with alloy version

* misc: apply review suggestion

* revert: type specification

* Revert "revert: type specification"

This reverts commit bb0a1214a19f1e86ec9b166230a7102e2a2c011d.

* Update crates/interpreter/src/gas/calc.rs

* chore: fix compile for alloydb (#1559)

* chore: use const blocks (#1522)

* chore: use const blocks

* ci

* rm new line from last commit merge

* chore(deps): bump alloy-eips from 0.1.1 to 0.1.2 (#1563)

Bumps [alloy-eips](https://github.com/alloy-rs/alloy) from 0.1.1 to 0.1.2.
- [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.1.1...v0.1.2)

---
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>

* chore(deps): bump alloy-transport from 0.1.1 to 0.1.2 (#1562)

Bumps [alloy-transport](https://github.com/alloy-rs/alloy) from 0.1.1 to 0.1.2.
- [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.1.1...v0.1.2)

---
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>

* chore(deps): bump alloy-provider from 0.1.1 to 0.1.2 (#1564)

Bumps [alloy-provider](https://github.com/alloy-rs/alloy) from 0.1.1 to 0.1.2.
- [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.1.1...v0.1.2)

---
updated-dependencies:
- dependency-name: alloy-provider
  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>

* chore(deps): bump reqwest from 0.12.4 to 0.12.5 (#1561)

Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.4 to 0.12.5.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](seanmonstar/reqwest@v0.12.4...v0.12.5)

---
updated-dependencies:
- dependency-name: reqwest
  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: add helper function to mape EVMError's Database error variant (#1567)

* feat(EOF): Add target address expansion checks (#1570)

* feat(EOF): Add target address expansion checks

* clippy

* fix(eof): ExtDelegateCall caller/target switch (#1571)

* feat(EOF): disallow ExtDelegateCall to legacy bytecode (#1572)

* Wip call ext

* feat(EOF): disallow ExtDelegateCall to legacy bytecode

* feat(Prague): Add EIP-7702 (#1565)

* feat(Prague): Skeleton for EIP-7702

* fmt

* load authorizations

* include Vec and B256

* fmt and no_std import

* Integrate alloy-eips Authorizations types

* Add box

* disable alloy

* clippy nits

* patch alloy

* bump new alloy

* chore: store tokio::runtime::Handle in ethers/alloyDB (#1557)

* store tokio::runtime::Handle in ethers/alloyDB

* update docs

* fmt

* modify constructor to accept &self in block_on

* fix

* feat: support selfdestruct for dummyhost (#1578)

* primitives: add utility function AccountInfo::from_bytecode (#1577)

* Use HandleOrRuntime to allow alloydb/ethersdb to hold a custom runtime (#1576)

* Use HandleOrRuntime to allow alloydb/ethersdb to hold a custom runtime

* Minor fix and clippy

* Clippy

* allow users to provide a runtime handle

* Update docs

* Fix slashes

* feat: add bytecode_address from CallInputs to Contract during construction. (#1568)

* Add bytecode address to Contract struct

* Explicit comment

* Add new param to additional constructor calls

* Reorder arguments to make more sense

* make optional and set to None when creation call

* Add bytecode address if TxKind is Call.

---------

Co-authored-by: Eric Bogard <[email protected]>

* docs(README): add rbuilder to used-by (#1585)

* feat(Precompiles): Throw fatal error if c-kzg is disabled (#1589)

* feat(Precompiles): Throw fatal error if c-kzg is disabled

* no_std build

* chore: bump precompile to v9.0.0 (#1590)

* chore: release (#1579)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: resolve merge conflicts

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Tuan Tran <[email protected]>
Co-authored-by: Wodann <[email protected]>
Co-authored-by: rakita <[email protected]>
Co-authored-by: DaniPopes <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Seitz <[email protected]>
Co-authored-by: chirag-bgh <[email protected]>
Co-authored-by: Tony Ke <[email protected]>
Co-authored-by: lazymio <[email protected]>
Co-authored-by: vandenbogart <[email protected]>
Co-authored-by: Eric Bogard <[email protected]>
Co-authored-by: Chris Hager <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
14 people authored Jul 12, 2024
1 parent e4bf75d commit e5d8ef9
Show file tree
Hide file tree
Showing 62 changed files with 1,324 additions and 528 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,20 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace ${{ matrix.flags }}

# test-no-std:
# name: test no_std
# runs-on: ubuntu-latest
# timeout-minutes: 30
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@stable
# with:
# targets: riscv32imac-unknown-none-elf
# - run: cargo check --target riscv32imac-unknown-none-elf --no-default-features
# check-no-std:
# name: check no_std ${{ matrix.features }}
# runs-on: ubuntu-latest
# timeout-minutes: 30
# strategy:
# fail-fast: false
# matrix:
# features: ["", "optimism"]
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@stable
# with:
# targets: riscv32imac-unknown-none-elf
# - run: cargo check --target riscv32imac-unknown-none-elf --no-default-features --features=${{ matrix.features }}

check:
name: check ${{ matrix.features }}
Expand All @@ -53,9 +57,8 @@ jobs:
features: ["", "serde", "std"]
steps:
- uses: actions/checkout@v4
- run: |
cd crates/revm
cargo check --no-default-features --features=${{ matrix.features }}
- uses: dtolnay/rust-toolchain@stable
- run: cargo check --no-default-features -p revm --features=${{ matrix.features }}

clippy:
name: clippy / ${{ matrix.network }}
Expand Down
Loading

0 comments on commit e5d8ef9

Please sign in to comment.