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

chore: v41 update #18

Merged
merged 40 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
782c3dd
chore(eof): simplify magic checks (#1633)
DaniPopes Jul 17, 2024
bac2f4a
perf(eof): avoid some allocations (#1632)
DaniPopes Jul 17, 2024
1a13e2a
chore: fix some typos & remove useless Arc::clone (#1621)
jackwener Jul 17, 2024
c1110d4
refactor: use `is_zero` for `U256` and `B256` (#1638)
tcoratger Jul 18, 2024
1adc908
feat(interpreter): derive traits on FunctionStack (#1640)
DaniPopes Jul 18, 2024
d980839
chore: Renamed some city name (#1645)
ioterw Jul 19, 2024
b995fad
perf: avoid cloning original_bytes (#1646)
DaniPopes Jul 19, 2024
a605d05
fix(eof): deny static context in EOFCREATE (#1644)
DaniPopes Jul 19, 2024
8eaff99
feat: use batch bn256 pair operation (#1643)
Rjected Jul 19, 2024
013de92
feat(EOF): implement std::error::Error trait for EofValidationError a…
peyha Jul 22, 2024
31ddbe9
chore(deps): bump thiserror from 1.0.62 to 1.0.63 (#1651)
dependabot[bot] Jul 22, 2024
afb8083
chore(deps): bump tokio from 1.38.0 to 1.38.1 (#1650)
dependabot[bot] Jul 22, 2024
d71acb5
fix(EOF): Overflow on num_sections (#1656)
rakita Jul 24, 2024
e123600
feat(EOF): EOF Validation add code type and sub container tracker (#1…
rakita Jul 24, 2024
28b7021
fix(statetest): Add back Merge spec (#1658)
rakita Jul 25, 2024
9eabd4b
fix(EOF): Validate code access in stack (#1659)
rakita Jul 25, 2024
1163e29
feat(EOF): Add EOF validation in revme bytecode cmd (#1660)
rakita Jul 25, 2024
83df9c4
chore(clippy): 1.80 rust clippy list paragraph ident (#1661)
rakita Jul 25, 2024
dc2b334
feat(EOF): Add non-returning CALLF/JUMPF checks (#1663)
rakita Jul 26, 2024
42bbc74
fix(EOF): returning to non-returning jumpf, enable valition error (#1…
rakita Jul 26, 2024
371e8c2
fix: add DATACOPY to OpCode::modifies_memory (#1639)
klkvr Jul 26, 2024
7a35122
chore(eof): Add opcodes that expand memory (#1665)
rakita Jul 26, 2024
49d68c8
fix(statetest): make bytecode analyzed (#1666)
rakita Jul 28, 2024
574b310
chore(deps): bump serde_json from 1.0.120 to 1.0.121 (#1667)
dependabot[bot] Jul 29, 2024
cf74f81
chore(deps): bump tokio from 1.38.1 to 1.39.2 (#1668)
dependabot[bot] Jul 29, 2024
b30dff4
chore(deps): bump blst from 0.3.12 to 0.3.13 (#1669)
dependabot[bot] Jul 29, 2024
991ef8c
chore(deps): bump serde_json from 1.0.121 to 1.0.122 (#1678)
dependabot[bot] Aug 5, 2024
721f087
chore(deps): bump alloy-eips from 0.2.0 to 0.2.1 (#1679)
dependabot[bot] Aug 5, 2024
7933742
chore(deps): bump regex from 1.10.5 to 1.10.6 (#1682)
dependabot[bot] Aug 5, 2024
535eb8e
chore(deps): bump rstest from 0.21.0 to 0.22.0 (#1681)
dependabot[bot] Aug 5, 2024
4d0feec
Add EOF Layout Fuzz Loop to `revme bytecode` (#1677)
shemnon Aug 5, 2024
05b34f4
docs: improve `InstructionResult` documentation (#1673)
leovct Aug 6, 2024
ab42581
Add OP-Granite hardfork, limiting bn256Pairing input size (#1685)
BrianBland Aug 6, 2024
40b9e10
feat: check for typos in CI (#1686)
adria0 Aug 8, 2024
32aeae4
feat(EOF): add evmone test suite (#1689)
rakita Aug 8, 2024
8267ad5
feat(EOF): Run EOF tests from eth/tests (#1690)
rakita Aug 8, 2024
70bd050
chore: release (#1683)
github-actions[bot] Aug 8, 2024
f3cab1c
bump: tag v41 revm v13.0.0 (#1692)
rakita Aug 8, 2024
428626e
fix(CI): types check (#1693)
rakita Aug 8, 2024
be6a954
Merge branch 'refs/heads/v41-upstream' into scroll-evm-executor/v41
lightsing Aug 19, 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
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,15 @@ jobs:
with:
components: rustfmt
- run: cargo fmt --all --check

typos-check:
name: TyposCheck
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.22.7
with:
config: ./Typos.toml
isolated: true

10 changes: 9 additions & 1 deletion .github/workflows/ethereum-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
ethtests/EIPTests/StateTests/stEIP1153-transientStorage/ \
ethtests/EIPTests/StateTests/stEIP4844-blobtransactions/ \
ethtests/EIPTests/StateTests/stEIP2537/ \
tests/eof_suite/state_tests # \
ethtests/EIPTests/StateTests/stEOF \
tests/eof_suite/eest/state_tests \
tests/eof_suite/evmone/state_tests # \
# tests/prague_suite/state_tests
- name: Run EOF validation tests
run: |
cross run --target ${{matrix.target}} --profile ${{ matrix.profile }} -p revme -- eof-validation \
ethtests/EOFTests \
tests/eof_suite/eest/eof_tests/prague \
tests/eof_suite/evmone/eof_tests

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

# v41 tag
date: 08.08.2024

EOF fixes and improvements.
Optimism Granite fork support.

* `revme`: 0.8.0 -> 0.9.0
* `revm`: 12.1.0 -> 13.0.0
* `revm-interpreter`: 8.1.0 -> 9.0.0
* `revm-primitives`: 7.1.0 -> 8.0.0
* `revm-precompile`: 9.2.0 -> 10.0.0
* `revm-test`: 0.1.0

# v40 tag
date 17.07.2024

Expand Down
62 changes: 32 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions Typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[default]
extend-ignore-identifiers-re = [
"[sS]imular",
"ba",
"modul"
]

[files]
extend-exclude = [
"CHANGELOG.md",
"tests"
]

97 changes: 97 additions & 0 deletions bins/revm-test/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,103 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.0](https://github.com/bluealloy/revm/releases/tag/revm-test-v0.1.0) - 2024-08-08

### Added
- EOF (Ethereum Object Format) ([#1143](https://github.com/bluealloy/revm/pull/1143))
- add tests for shift instructions ([#1254](https://github.com/bluealloy/revm/pull/1254))
- EvmBuilder and External Contexts ([#888](https://github.com/bluealloy/revm/pull/888))
- separate initial checks ([#486](https://github.com/bluealloy/revm/pull/486))
- revm-interpreter created ([#320](https://github.com/bluealloy/revm/pull/320))
- *(interpreter)* Unify instruction fn signature ([#283](https://github.com/bluealloy/revm/pull/283))
- Migrate `primitive_types::U256` to `ruint::Uint<256, 4>` ([#239](https://github.com/bluealloy/revm/pull/239))
- Introduce ByteCode format, Update Readme ([#156](https://github.com/bluealloy/revm/pull/156))

### Fixed
- *(eof)* fixture 2 tests ([#1550](https://github.com/bluealloy/revm/pull/1550))
- *(clippy)* fix some clippy lints

### Other
- *(deps)* bump regex from 1.10.5 to 1.10.6 ([#1682](https://github.com/bluealloy/revm/pull/1682))
- bump versions bcs of primitives ([#1631](https://github.com/bluealloy/revm/pull/1631))
- release ([#1620](https://github.com/bluealloy/revm/pull/1620))
- *(deps)* bump alloy-sol-types from 0.7.6 to 0.7.7 ([#1614](https://github.com/bluealloy/revm/pull/1614))
- *(deps)* bump alloy-sol-macro from 0.7.6 to 0.7.7 ([#1613](https://github.com/bluealloy/revm/pull/1613))
- release ([#1579](https://github.com/bluealloy/revm/pull/1579))
- release ([#1548](https://github.com/bluealloy/revm/pull/1548))
- replace TransactTo with TxKind ([#1542](https://github.com/bluealloy/revm/pull/1542))
- *(deps)* bump regex from 1.10.4 to 1.10.5 ([#1502](https://github.com/bluealloy/revm/pull/1502))
- release ([#1261](https://github.com/bluealloy/revm/pull/1261))
- *(interpreter)* rewrite gas accounting for memory expansion ([#1361](https://github.com/bluealloy/revm/pull/1361))
- revert snailtracer without microbench ([#1259](https://github.com/bluealloy/revm/pull/1259))
- release ([#1231](https://github.com/bluealloy/revm/pull/1231))
- *(deps)* bump other alloy deps 0.7.0 ([#1252](https://github.com/bluealloy/revm/pull/1252))
- *(deps)* bump regex from 1.10.3 to 1.10.4 ([#1223](https://github.com/bluealloy/revm/pull/1223))
- *(deps)* bump bytes from 1.5.0 to 1.6.0 ([#1224](https://github.com/bluealloy/revm/pull/1224))
- release ([#1175](https://github.com/bluealloy/revm/pull/1175))
- tag v32 revm v7.1.0 ([#1176](https://github.com/bluealloy/revm/pull/1176))
- release ([#1125](https://github.com/bluealloy/revm/pull/1125))
- *(deps)* bump alloy-sol-types from 0.6.3 to 0.6.4 ([#1148](https://github.com/bluealloy/revm/pull/1148))
- *(deps)* bump alloy-sol-macro from 0.6.3 to 0.6.4 ([#1136](https://github.com/bluealloy/revm/pull/1136))
- release tag v30 revm v6.1.0 ([#1100](https://github.com/bluealloy/revm/pull/1100))
- clippy cleanup ([#1112](https://github.com/bluealloy/revm/pull/1112))
- *(deps)* bump alloy-sol-types from 0.6.2 to 0.6.3 ([#1103](https://github.com/bluealloy/revm/pull/1103))
- release ([#1082](https://github.com/bluealloy/revm/pull/1082))
- *(deps)* bump alloy-sol-macro from 0.6.2 to 0.6.3 ([#1094](https://github.com/bluealloy/revm/pull/1094))
- license date and revm docs ([#1080](https://github.com/bluealloy/revm/pull/1080))
- release ([#1067](https://github.com/bluealloy/revm/pull/1067))
- tag v27, revm v4.0.0 release ([#1061](https://github.com/bluealloy/revm/pull/1061))
- *(deps)* bump eyre from 0.6.11 to 0.6.12 ([#1051](https://github.com/bluealloy/revm/pull/1051))
- *(deps)* bump alloy-sol-types from 0.6.0 to 0.6.2 ([#1035](https://github.com/bluealloy/revm/pull/1035))
- *(deps)* bump alloy-sol-macro from 0.6.0 to 0.6.2 ([#1013](https://github.com/bluealloy/revm/pull/1013))
- chore(Test) : const to static ([#1016](https://github.com/bluealloy/revm/pull/1016))
- Burntpix criterion bench ([#1004](https://github.com/bluealloy/revm/pull/1004))
- Instruction table ([#759](https://github.com/bluealloy/revm/pull/759))
- rewrite revm-test as a criterion bench ([#579](https://github.com/bluealloy/revm/pull/579))
- optimize stack usage for recursive `call` and `create` programs ([#522](https://github.com/bluealloy/revm/pull/522))
- Bump v24, revm v3.3.0 ([#476](https://github.com/bluealloy/revm/pull/476))
- Release v23, revm v3.2.0 ([#464](https://github.com/bluealloy/revm/pull/464))
- Release v22, revm v3.1.1 ([#460](https://github.com/bluealloy/revm/pull/460))
- v21, revm v3.1.0 ([#444](https://github.com/bluealloy/revm/pull/444))
- remove gas blocks ([#391](https://github.com/bluealloy/revm/pull/391))
- *(deps)* bump bytes from 1.3.0 to 1.4.0 ([#355](https://github.com/bluealloy/revm/pull/355))
- Bump v20, changelog ([#350](https://github.com/bluealloy/revm/pull/350))
- includes to libs ([#338](https://github.com/bluealloy/revm/pull/338))
- Creating revm-primitives, revm better errors and db components ([#334](https://github.com/bluealloy/revm/pull/334))
- Cleanup, move hot fields toggether in Interpreter ([#321](https://github.com/bluealloy/revm/pull/321))
- native bits ([#278](https://github.com/bluealloy/revm/pull/278))
- *(release)* Bump revm and precompiles versions
- Bump primitive_types. Add statetest spec
- Bump revm v2.1.0 ([#224](https://github.com/bluealloy/revm/pull/224))
- revm bump v2.0.0, precompile bump v1.1.1 ([#212](https://github.com/bluealloy/revm/pull/212))
- Cfg choose create analysis, option on bytecode size limit ([#210](https://github.com/bluealloy/revm/pull/210))
- Cargo sort. Bump lib versions ([#208](https://github.com/bluealloy/revm/pull/208))
- Return `ExecutionResult`, which includes `gas_refunded` ([#169](https://github.com/bluealloy/revm/pull/169))
- Bytecode hash, remove override_spec, ([#165](https://github.com/bluealloy/revm/pull/165))
- revm bump 1.8. update libs. snailtracer rename ([#159](https://github.com/bluealloy/revm/pull/159))
- v6 changelog, bump versions
- Big Refactor. Machine to Interpreter. refactor instructions. call/create struct ([#52](https://github.com/bluealloy/revm/pull/52))
- [revm] pop_top and unsafe comments ([#51](https://github.com/bluealloy/revm/pull/51))
- [precompiles] remove unused borsh
- [recompl] Bump precompile deps, cargo sort on workspace
- [revm] output log. Stetetest test log output. fmt
- Bump versions, Changelogs, fmt, revm readme, clippy.
- [revm] Run test multiple times. fmt, BenchmarkDB
- Multiple changes: web3 db, debugger initial commit, precompile load
- Memory to usize, clippy,fmt
- wip optimize i256
- TEMP switch stacks H256 with U256
- [revm] some perfs
- [revm] Perfs stack pop. Benchmark snailtracer.
- [revm] cleanup
- fmt
- EVM Interface changed. Inspector called separately
- Bump revm v0.3.0. README updated
- DB ref mut polished
- And now we debug
- [revm] Interface. Inspector added, Env cleanup. revm-test passes
- Rename bin to bins

## [0.1.0](https://github.com/bluealloy/revm/releases/tag/revm-test-v0.1.0) - 2024-07-16

### Added
Expand Down
4 changes: 2 additions & 2 deletions bins/revm-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ edition = "2021"
[dependencies]
bytes = "1.6"
hex = "0.4"
revm = { path = "../../crates/revm", version = "12.1.0", default-features = false }
revm = { path = "../../crates/revm", version = "13.0.0", default-features=false }
microbench = "0.5"
alloy-sol-macro = "0.7.7"
alloy-sol-types = "0.7.7"
regex = "1.10.5"
regex = "1.10.6"
eyre = "0.6.12"


Expand Down
Loading