Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
f5cc71d
feat: implement precompile contract for opBNB (#6)
j75689 May 21, 2024
4be2578
fix: cometbft contract (#21)
j75689 May 27, 2024
deb253b
chore: fix ci issues (#22)
forcodedancing May 30, 2024
42c4038
feat: introduce opBNB Haber fork (#26)
j75689 Jun 3, 2024
7c1d81e
chore: add pr template (#24)
forcodedancing Jun 4, 2024
8307578
Merge branch 'refs/heads/upstream' into develop
pythonberg1997 Jun 4, 2024
b4c100b
resolve merge conflicts
pythonberg1997 Jun 4, 2024
cd1ce9b
Merge pull request #28 from bnb-chain/roshan/merge-upstream
unclezoro Jun 5, 2024
bc30717
feat: add support for BSC (#31)
pythonberg1997 Jun 18, 2024
cd1ae53
Merge branch 'refs/heads/upstream' into parlia
pythonberg1997 Jun 19, 2024
88cc933
chore: resolve merge conflicts
pythonberg1997 Jun 19, 2024
e7e3479
Merge pull request #34 from bnb-chain/roshan/parlia
unclezoro Jun 19, 2024
63b8ab8
Merge tag 'v37' into develop
forcodedancing Jun 25, 2024
5a1e473
Merge pull request #38 from bnb-chain/merge_v37
unclezoro Jun 25, 2024
e1124e4
upgrade: add `HaberFix` for bsc (#39)
pythonberg1997 Jun 27, 2024
e4bf75d
fix: fix the hardforks' order (#43)
yutianwu Jul 8, 2024
c7cac63
Merge branch 'refs/heads/develop' into merge-v11.0.0
pythonberg1997 Jul 10, 2024
fa5328b
chore: resolve merge conflicts
pythonberg1997 Jul 10, 2024
0fceb63
Merge pull request #47 from pythonberg1997/merge-v11.0.0
unclezoro Jul 12, 2024
8a18176
feat: add bohr hardfork for bsc (#49)
yutianwu Jul 31, 2024
d30e986
bump: main CHANGELOG (#1592)
rakita Jul 8, 2024
4ef7272
chore: Rename gas_price to gas_limit for precompile args (#1593)
sergerad Jul 10, 2024
6f7912b
chore(revm): defer bytecode load (#1588)
lightsing Jul 10, 2024
db2cbe0
chore(deps): bump bitflags from 2.5.0 to 2.6.0 (#1583)
dependabot[bot] Jul 10, 2024
27c37ff
chore(deps): bump serde from 1.0.203 to 1.0.204 (#1586)
dependabot[bot] Jul 10, 2024
f025f4b
chore(deps): bump serde_json from 1.0.117 to 1.0.120 (#1587)
dependabot[bot] Jul 10, 2024
c5015fb
feat: use `kzg-rs` for kzg point evaluation (#1558)
0xWOLAND Jul 10, 2024
aae840e
chore: Refactor code, and check if precompile for create collision (#…
rakita Jul 10, 2024
48409bc
fix(EOF): MIN_CALLEE_GAS light failure, static-mode check (#1599)
rakita Jul 10, 2024
19cb8a8
refactor: load_account -> warm_preloaded_addresses (#1584)
hack3r-0m Jul 10, 2024
c5544b3
fix: missing kzg_settings if kzg-rs feature enabled (#1601)
jtguibas Jul 10, 2024
939cef6
test(GeneralState): skip fewer specs (#1603)
hai-rise Jul 11, 2024
5bc25e6
refactor: group optimism invalid txn errors (#1604)
hack3r-0m Jul 11, 2024
a4c91df
fix(EOF): Use cfg code size limit for eofcreate (#1606)
rakita Jul 12, 2024
85d1d90
feat(EOF): Bytecode::new_raw supports EOF, new_raw_checked added (#1607)
rakita Jul 12, 2024
e5d84f8
fix: allow non-static lifetime in HandleRegisterBox (#1608)
Wodann Jul 12, 2024
ac80c2d
feat: pass interpreter into Inspector::log (#1610)
klkvr Jul 15, 2024
2caaaf5
chore(deps): bump thiserror from 1.0.61 to 1.0.62 (#1611)
dependabot[bot] Jul 15, 2024
64f26f6
chore(deps): bump alloy-primitives from 0.7.6 to 0.7.7 (#1612)
dependabot[bot] Jul 15, 2024
2040dc1
chore(deps): bump alloy-sol-macro from 0.7.6 to 0.7.7 (#1613)
dependabot[bot] Jul 15, 2024
5d37d43
fix: correctly calculate eofcreate address (#1619)
klkvr Jul 16, 2024
5626435
chore(deps): bump alloy-sol-types from 0.7.6 to 0.7.7 (#1614)
dependabot[bot] Jul 16, 2024
1a216cc
fix(eip7702): Add tests and fix some bugs (#1605)
rakita Jul 16, 2024
6b28fb8
feat(eof): cli eof-validation (#1622)
rakita Jul 16, 2024
f6b6f3e
chore: bump alloy deps (#1623)
rakita Jul 16, 2024
5d9b95a
chore: release (#1620)
github-actions[bot] Jul 16, 2024
aa78bc8
bump: main changelog update (#1626)
rakita Jul 16, 2024
cb8b75a
fix(eof): don't fail if offset overflows usize (#1627)
DaniPopes Jul 16, 2024
0de9b83
chore(EOF): Use Bytecode::new_legacy (#1628)
rakita Jul 16, 2024
7d5cc2d
chore: bump main changelog (#1630)
rakita Jul 16, 2024
bc6116b
chore: bump versions bcs of primitives (#1631)
rakita Jul 16, 2024
0161a27
Merge pull request #51 from bnb-chain/merge/upstream_v12.1.0
unclezoro Aug 5, 2024
8675437
feat: support Wright upgrade for opbnb (#52)
yutianwu Aug 6, 2024
d862a0f
chore(deps): bump enumn from 0.1.13 to 0.1.14
dependabot[bot] Aug 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
### Description

add a description of your changes here...

### Rationale

tell us why we need these changes...

### Example

add an example CLI or API response...

### Changes

Notable changes:
* add each change in a bullet point here
* ...

### Potential Impacts
* add potential impacts for other components here
* ...
132 changes: 0 additions & 132 deletions .github/workflows/book.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/cachegrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Valgrind Cachegrind

on:
pull_request:
branches: [main]
branches: [main, develop]

jobs:
valgrind:
Expand Down
57 changes: 36 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ concurrency:

on:
push:
branches: [main, "release/**"]
branches: [main, develop, "release/**"]
pull_request:
branches: [main, "release/**"]
branches: [main, develop, "release/**"]

env:
CARGO_TERM_COLOR: always
Expand All @@ -22,7 +22,8 @@ jobs:
fail-fast: false
matrix:
rust: ["stable", "beta", "nightly"]
flags: ["--no-default-features", "", "--all-features"]
# flags: ["--no-default-features", "", "--all-features"]
flags: ["--no-default-features", "", "--features bsc", "--features optimism,opbnb"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand All @@ -31,20 +32,20 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace ${{ matrix.flags }}

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-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 @@ -60,26 +61,40 @@ jobs:
- run: cargo check --no-default-features -p revm --features=${{ matrix.features }}

clippy:
name: clippy
name: clippy / ${{ matrix.network }}
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
include:
- network: optimism
extra-features: "opbnb"
- network: bsc
extra-features: ""
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo clippy --workspace --all-targets --all-features
- run: cargo clippy --workspace --all-targets --features "${{ matrix.network }} ${{ matrix.extra-features }}"
env:
RUSTFLAGS: -Dwarnings

docs:
name: docs
name: docs / ${{ matrix.network }}
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
include:
- network: optimism
extra-features: "opbnb"
- network: bsc
extra-features: ""
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rust-docs
- run: cargo doc --workspace --all-features --no-deps --document-private-items
- run: cargo doc --workspace --no-deps --document-private-items --features "${{ matrix.network }} ${{ matrix.extra-features }}"
env:
RUSTDOCFLAGS: "--cfg docsrs -D warnings"

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ethereum-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ concurrency:

on:
push:
branches: [main, "release/**"]
branches: [main, develop, "release/**"]
pull_request:
branches: [main, "release/**"]
branches: [main, develop, "release/**"]

jobs:
tests-stable:
Expand Down Expand Up @@ -48,4 +48,6 @@ jobs:
ethtests/EIPTests/StateTests/stEIP1153-transientStorage/ \
ethtests/EIPTests/StateTests/stEIP4844-blobtransactions/ \
ethtests/EIPTests/StateTests/stEIP2537/ \
tests/eof_suite/state_tests \
tests/prague_suite/state_tests

36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
Because this is workspace with multi libraries, tags will be simplified, and with this document you can match version of project with git tag.

# v40 tag
date 17.07.2024

EOF bugfix.

* revm: 12.0.0 -> 12.1.0
* revm-interpreter: 8.0.0 -> 8.1.0
* revm-primitives: 7.0.0 -> 7.1.0
* revm-precompile: 9.1.0 -> 8.2.0

# v39 tag
date: 16.07.2024

Fixes for eip7702 and EOF. Kzg precompile alternative kzg-rs added.

* revme: 0.7.0 -> 0.8.0
* revm: 11.0.0 -> 12.0.0
* revm-interpreter: 7.0.0 -> 8.0.0
* revm-primitives: 6.0.0 -> 7.0.0
* revm-precompile: 9.0.0 -> 9.1.0

# v38 tag
date: 08.07.2024

* Add EIP-7702 for Prague.
* Import AccessList from alloy-eips repo.
* EOF fixes
* Utility changes.

Versions
* revme: 0.6.0 -> 0.7.0
* revm: 10.0.0 -> 11.0.0
* revm-interpreter: 6.0.0 -> 7.0.0
* revm-primitives: 5.0.0 -> 6.0.0
* revm-precompile: 8.0.0 -> 9.0.0

# v37 tag
date: 20.06.2024

Expand Down
Loading