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

[pull] main from bluealloy:main #35

Merged
merged 161 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
e802930
fix(ci): Workflow Touchups (#901)
refcell Dec 4, 2023
8c8e0a4
chore(docs): revme readme update (#898)
refcell Dec 4, 2023
9464ae6
chore(deps): bump alloy-primitives from 0.5.0 to 0.5.2 (#900)
dependabot[bot] Dec 4, 2023
d99f020
feat(revm): Evm Context Tests and test-utils Feature (#903)
refcell Dec 5, 2023
80dccc2
refactor(revm): leverage StorageSlot methods, where appropriate (#899)
IaroslavMazur Dec 5, 2023
75a3cc4
chore(deps): bump hashbrown from 0.14.2 to 0.14.3 (#885)
dependabot[bot] Dec 5, 2023
5a47ae0
feat(examples): generate block traces (#895)
refcell Dec 5, 2023
7c2938f
feat: add serde derives for `CacheDB` under "serde" flag (#911)
Autoparallel Dec 14, 2023
4acb57f
feat: add some conversions to InstructionResult (#910)
DaniPopes Dec 14, 2023
83718d9
chore(docs): Update the benchmark docs to point to revm package (#906)
refcell Dec 14, 2023
be133e6
feat(revm): implement prepend_state for BundleState (#907)
peyha Dec 16, 2023
40b6876
chore(deps): bump thiserror from 1.0.50 to 1.0.51 (#915)
dependabot[bot] Dec 18, 2023
e858c57
chore(deps): bump tokio from 1.34.0 to 1.35.0 (#909)
dependabot[bot] Dec 18, 2023
d421315
chore(deps): bump once_cell from 1.18.0 to 1.19.0 (#908)
dependabot[bot] Dec 18, 2023
67331de
chore(deps): bump alloy-primitives from 0.5.2 to 0.5.3 (#914)
dependabot[bot] Dec 18, 2023
42caf55
perf(primitives): optimize AccountInfo.is_empty() (#922)
IaroslavMazur Dec 25, 2023
ea24fc8
fix(primitives): incorrect use of the cfg attribute (#923)
IaroslavMazur Dec 25, 2023
82c0a89
chore(interpreter): conditionally enable `optional_beneficiary_reward…
IaroslavMazur Dec 25, 2023
0b3cafc
docs(interpreter): fix the name of the macro referenced by record_mem…
IaroslavMazur Dec 25, 2023
96813c5
chore(deps): bump tokio from 1.35.0 to 1.35.1 (#920)
dependabot[bot] Dec 25, 2023
8cb1905
chore(deps): bump anyhow from 1.0.75 to 1.0.76 (#921)
dependabot[bot] Dec 25, 2023
5ad9d3f
chore(deps): bump alloy-rlp from 0.3.3 to 0.3.4 (#928)
dependabot[bot] Dec 25, 2023
55c6706
chore(deps): bump futures from 0.3.29 to 0.3.30 (#927)
dependabot[bot] Dec 25, 2023
3a829d3
chore(deps): bump thiserror from 1.0.51 to 1.0.52 (#929)
dependabot[bot] Dec 26, 2023
8a6fab9
chore: relax Bytes requirement and use slice instead (#937)
mattsse Dec 29, 2023
b97bbf7
fix: make revm-primitives no-std with c-kzg feature (#933)
mattsse Dec 29, 2023
eff379d
feat(ethersdb): propagate errors instead of panicking in basic_ref (#…
0xkr8os Dec 29, 2023
5a8aa99
chore(deps): bump alloy-primitives from 0.5.3 to 0.5.4 (#934)
dependabot[bot] Dec 29, 2023
e317532
feat(ci) #797: Comment output of cachegrind in PR (#932)
0x0elliot Dec 30, 2023
d33cb21
refactor(interpreter): simplify the logic of calc.new_cost() (#939)
IaroslavMazur Dec 30, 2023
75e9567
refactor(primitives): improve readability of Env.validate_tx() (#924)
IaroslavMazur Dec 30, 2023
9c85dbe
chore(deps): bump alloy-rlp from 0.3.3 to 0.3.4 (#944)
dependabot[bot] Jan 4, 2024
f0c98bf
chore(deps): bump enumn from 0.1.12 to 0.1.13 (#946)
dependabot[bot] Jan 4, 2024
6a29413
chore(deps): bump thiserror from 1.0.50 to 1.0.55 (#947)
dependabot[bot] Jan 4, 2024
b9c9e9d
chore(deps): bump serde_json from 1.0.108 to 1.0.110 (#949)
dependabot[bot] Jan 4, 2024
669d82f
chore(deps): bump anyhow from 1.0.77 to 1.0.79 (#950)
dependabot[bot] Jan 4, 2024
3144caf
chore(deps): bump secp256k1 from 0.28.0 to 0.28.1 (#954)
dependabot[bot] Jan 4, 2024
aff028e
chore(deps): bump thiserror from 1.0.55 to 1.0.56 (#953)
dependabot[bot] Jan 4, 2024
b31b48b
ci(cachegrind): add PAT (#958)
rakita Jan 8, 2024
d6f97b9
chore(deps): bump serde from 1.0.194 to 1.0.195 (#957)
dependabot[bot] Jan 8, 2024
30bbcdf
chore(deps): bump serde_json from 1.0.110 to 1.0.111 (#955)
dependabot[bot] Jan 8, 2024
8424ba3
Update cachegrind.yml add env (#960)
rakita Jan 9, 2024
ce5a4f1
chore(deps): bump k256 from 0.13.2 to 0.13.3 (#959)
dependabot[bot] Jan 9, 2024
6fda02a
refactor(interpreter): local return_error! macro (#956)
IaroslavMazur Jan 9, 2024
b0fb4b2
chore(deps): alloy 0.6 (#963)
DaniPopes Jan 10, 2024
0b4c074
refactor(interpreter): consistency in all_results_are_covered() (#961)
IaroslavMazur Jan 10, 2024
2f11173
ci(cachegrind): pass action always (#965)
rakita Jan 10, 2024
b9ecc00
refactor(interpreter): improve enum naming (#962)
IaroslavMazur Jan 10, 2024
fd3d279
feat: add asm-keccak feature (#972)
Rjected Jan 11, 2024
8136ebd
chore(deps): bump ethers-core from 2.0.11 to 2.0.12 (#970)
dependabot[bot] Jan 11, 2024
b28c154
fix: dont calculate initcode keccak on CREATE (#969)
rakita Jan 11, 2024
aaa4206
feat: EvmBuilder and External Contexts (#888)
rakita Jan 12, 2024
69a1a59
added release-plz config (#912)
0xJepsen Jan 12, 2024
867c5ba
refactor(interpreter): refactor sstore_cost (#974)
rakita Jan 12, 2024
7dce101
remove test link (#976)
rakita Jan 13, 2024
f5db653
refactor: enhance readability (#968)
IaroslavMazur Jan 15, 2024
6a8b44d
refactor(EvmBuilder): Remove unnecessary BuilderStage trait (#979)
rakita Jan 15, 2024
fecb507
refactor(log): use alloy_primitives::Log (#975)
slordua Jan 15, 2024
9d42562
fix: use maximum possible data fee for 4844 balance checks (#981)
Rjected Jan 16, 2024
5e6546e
fix: cast overflow in 32-bits OS (#978)
dyxushuai Jan 16, 2024
ed524cb
chore(deps): bump bitflags from 2.4.1 to 2.4.2 (#983)
dependabot[bot] Jan 17, 2024
4aa835a
feat: Convert optimism panic into graceful error (#982)
kekonen Jan 17, 2024
0629883
refactor(Inspector): Add CreateOutcome in create/create_end return (#…
loocapro Jan 17, 2024
b330f14
chore: fix serde std flags for no-std build (#987)
CeciliaZ030 Jan 18, 2024
9d655c4
set deduct_caller in optimism handler (#988)
Wollac Jan 18, 2024
70ab8b6
refactor(Inspector): add CallOutcome to call/call_end (#985)
loocapro Jan 18, 2024
b129b56
feat(revme): make it runnable by goevmlab (#990)
rakita Jan 18, 2024
0a47d5c
chore(revme): add recovery of address from secret key (#992)
rakita Jan 18, 2024
4771f54
fect(revme): EmptyDb Blockhash string, json-outcome flag, set prevran…
rakita Jan 19, 2024
6cd0bfc
fix: optimism gas refunds (#989)
Wollac Jan 20, 2024
f8c389c
docs: update create docs (#999)
mattsse Jan 22, 2024
a52a96c
Remove preserve_order in serde_json (#997)
CeciliaZ030 Jan 22, 2024
d12d2f7
chore: add getter for specId (#998)
mattsse Jan 22, 2024
c93be44
docs: update call end docs (#1000)
mattsse Jan 22, 2024
7cf937a
chore: expose InstructionResult getters in Interpreter result (#1002)
mattsse Jan 22, 2024
1ead59d
feat(inspector): Share call/create inputs in Inspector call_end/creat…
rakita Jan 23, 2024
39e98a5
chore(Interpreter): Split calls to separate functions (#1005)
rakita Jan 23, 2024
dc2a0fc
chore(Inspector): Add return_memory_offset to Inspector::call (#1006)
rakita Jan 23, 2024
00138a5
fix(Interpreter): is_revert should call is_revert (#1007)
rakita Jan 23, 2024
b434308
Burntpix criterion bench (#1004)
loocapro Jan 25, 2024
5431bd2
fix(State): Preserve original values on delete revert (#1010)
rakita Jan 25, 2024
f8c354c
chore(Test) : const to static (#1016)
loocapro Jan 26, 2024
0c8c4f8
docs(Cancun): update Cancun precompiles docs (#1015)
DaniPopes Jan 26, 2024
7fe5dfa
chore: make clippy happy (#1020)
mattsse Jan 29, 2024
fecd186
docs: add some docs to StorageSlot (#1019)
mattsse Jan 29, 2024
5767e6d
refactor(Execution): Granular handles create/call,call_return,insert_…
rakita Jan 29, 2024
1df0ea8
feat(op): Ecotone hardfork (#1009)
clabby Jan 29, 2024
f8507ef
chore(clippy): nightly clippy (#1025)
rakita Jan 29, 2024
33bae58
refactor(op): Move op l1 block load to op handler (#1026)
rakita Jan 30, 2024
bd392fb
chore(deps): bump alloy-sol-macro from 0.6.0 to 0.6.2 (#1013)
dependabot[bot] Jan 30, 2024
424c2a0
chore(deps): bump alloy-primitives from 0.6.0 to 0.6.2 (#1014)
dependabot[bot] Jan 30, 2024
fb6e9d3
chore(deps): bump serde from 1.0.195 to 1.0.196 (#1022)
dependabot[bot] Jan 30, 2024
589ff87
chore(deps): bump auto_impl from 1.1.0 to 1.1.2 (#1023)
dependabot[bot] Jan 30, 2024
5b22e9d
chore(deps): bump serde_json from 1.0.111 to 1.0.113 (#1027)
dependabot[bot] Jan 30, 2024
2a294fc
chore(Inspector): add inspector depth test (#1028)
rakita Jan 30, 2024
ecb6c4b
chore: group handlers (#1030)
rakita Jan 30, 2024
8148063
feat: add `BytecodeLocked::original_bytecode` (#1037)
DaniPopes Feb 1, 2024
653dec1
chore(std): Add std HashMap,HashSet (#1041)
rakita Feb 2, 2024
457244b
fix previous commit (#1044)
rakita Feb 2, 2024
93c7ba0
reorder crate listings to match the order in the book (#1047)
ilevyor Feb 2, 2024
73b689d
feat: tweeks for v4.0 revm release (#1048)
rakita Feb 5, 2024
cde3e30
chore(deps): bump ethers-providers from 2.0.11 to 2.0.13 (#1033)
dependabot[bot] Feb 5, 2024
29284b3
chore(deps): bump ethers-contract from 2.0.11 to 2.0.13 (#1034)
dependabot[bot] Feb 5, 2024
8d194a9
chore(deps): bump alloy-sol-types from 0.6.0 to 0.6.2 (#1035)
dependabot[bot] Feb 5, 2024
6698865
chore(deps): bump ethers-core from 2.0.12 to 2.0.13 (#1036)
dependabot[bot] Feb 5, 2024
a799ef2
chore(EvmBuilder): rename builder functions to HandlerCfg (#1050)
rakita Feb 5, 2024
12e1996
feat(ci): release-plz on PR and bump ahash (#1054)
rakita Feb 6, 2024
8e4a5ea
feat(Handler): add push and pop of hanler registers (#1053)
rakita Feb 6, 2024
d3e812a
chore(deps): bump tokio from 1.35.1 to 1.36.0 (#1052)
dependabot[bot] Feb 6, 2024
71630df
chore(deps): bump eyre from 0.6.11 to 0.6.12 (#1051)
dependabot[bot] Feb 6, 2024
f6353c6
chore(deps): bump secp256k1 from 0.28.1 to 0.28.2 (#1038)
dependabot[bot] Feb 6, 2024
51d3cb2
feat(handler): Change spec id on &mut (#1055)
rakita Feb 6, 2024
d8379f7
tweeks: helper functions around Env (#1057)
rakita Feb 6, 2024
773b0b2
chore: spelling on last commit (#1058)
rakita Feb 6, 2024
4540334
chore: bump c-kzg and enable blst portable feature (#1059)
Rjected Feb 7, 2024
ccca8c6
chore: tag v27, revm v4.0.0 release (#1061)
rakita Feb 7, 2024
53718f2
README path
rakita Feb 7, 2024
0654850
fix(op): skip validation on deposit tx (#1065)
rakita Feb 8, 2024
a2dd2c5
tests(revme): statetests new format and return error (#1066)
rakita Feb 8, 2024
4ab3341
chore(revm): Add helpers to Build Revm with Context (#1068)
rakita Feb 8, 2024
bbca128
fix: typo on internal append_handle_register methods (#1069)
Rjected Feb 9, 2024
52c517c
fix: properly set context env (#1070)
mattsse Feb 10, 2024
4ff9ac0
chore: precompile bn128 copy (#1071)
rakita Feb 10, 2024
98deb0b
feat(interpreter): relax `make_boxed_instruction_table::FN` to `FnMut…
DaniPopes Feb 11, 2024
9fd79fb
refactor(precompile): make use of padding utilities, simplify secp256…
DaniPopes Feb 11, 2024
a961c1f
perf/refactor(precompile): simplify bn128 precompile implementations …
DaniPopes Feb 11, 2024
3a58880
perf(precompile): don't allocate if padding is not needed (#1075)
DaniPopes Feb 12, 2024
a87226a
chore(deps): bump indicatif from 0.17.7 to 0.17.8 (#1077)
dependabot[bot] Feb 12, 2024
ad415e5
chore(deps): bump thiserror from 1.0.56 to 1.0.57 (#1078)
dependabot[bot] Feb 12, 2024
e85faeb
chore: release (#1067)
github-actions[bot] Feb 12, 2024
63fd55a
chore: tag v28, revm v5.0.0 (#1079)
rakita Feb 12, 2024
d1b5920
chore: license date and revm docs (#1080)
rakita Feb 12, 2024
07c3440
chore: cargo update (#1081)
rakita Feb 12, 2024
5670ee4
Add memory offset (#1032)
DoTheBestToGetTheBest Feb 12, 2024
ee62866
feat: improve OriginalValuesKnown docs (#1083)
Rjected Feb 12, 2024
0651044
perf(precompile): use `Bytes` in precompile functions (#1085)
DaniPopes Feb 13, 2024
d6bd010
fix: Set is_optimism to true if default config (#1087)
rakita Feb 14, 2024
94894a5
fix: optimism compilation (#1091)
makcandrov Feb 15, 2024
5de40c7
fix: modify cfg spec_id (#1095) (#1096)
publicqi Feb 16, 2024
3451e66
perf(state): avoid cloning full account (#1097)
rkrasiuk Feb 16, 2024
b4a61e8
fix: rename and pass optimism-default-handler to revm-primitives (#1098)
rakita Feb 17, 2024
d32eaaf
chore(deps): bump alloy-primitives from 0.6.2 to 0.6.3 (#1093)
dependabot[bot] Feb 17, 2024
b51369b
chore(deps): bump alloy-sol-macro from 0.6.2 to 0.6.3 (#1094)
dependabot[bot] Feb 17, 2024
c642fcb
chore: release (#1082)
github-actions[bot] Feb 17, 2024
dee3c77
bump: tag v29 revm v6.0.0 (#1101)
rakita Feb 17, 2024
5ef8183
Update CHANGELOG.md (#1102)
yjhmelody Feb 18, 2024
034b474
chore: improve EIP-3155 implementation (#1105)
DaniPopes Feb 19, 2024
dc98ad5
feat: split off serde_json dependency to its own feature (#1104)
DaniPopes Feb 19, 2024
64b5973
chore(deps): bump alloy-sol-types from 0.6.2 to 0.6.3 (#1103)
dependabot[bot] Feb 19, 2024
a0af248
feat: bump c-kzg, add portable feature, make it default (#1106)
Rjected Feb 20, 2024
adc6857
chore(deps): bump serde from 1.0.196 to 1.0.197 (#1107)
dependabot[bot] Feb 20, 2024
4dd15a0
chore(deps): bump anyhow from 1.0.79 to 1.0.80 (#1108)
dependabot[bot] Feb 20, 2024
c51a2c4
chore(deps): bump serde_json from 1.0.113 to 1.0.114 (#1110)
dependabot[bot] Feb 20, 2024
0083b99
fix: Handle fatal db error on load_account (#1111)
rakita Feb 20, 2024
c203f3d
chore: clippy cleanup (#1112)
rakita Feb 21, 2024
559e096
Remove DatabaseRef bound on CacheDB (#1113)
jasalper Feb 21, 2024
328c12c
fix(db): Set instruction result at outcome insert (#1117)
rakita Feb 21, 2024
0055d58
fix EthersDB deadlock (#1089)
DoTheBestToGetTheBest Feb 21, 2024
5736d1f
fix: replace tuple in sstore return with struct (#1115)
qiweiii Feb 21, 2024
d60fc87
Revert "fix EthersDB deadlock (#1089)" (#1118)
rakita Feb 21, 2024
2d4fb06
chore(refactor): Propagate fatal error (#1116)
rakita Feb 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
run: mdbook build documentation

- name: Build docs
run: RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --all --no-deps
run: RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --all --no-deps

- name: Move docs to book folder
run: |
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/cachegrind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Valgrind Cachegrind

on:
pull_request:
branches: [main]

jobs:
valgrind:
runs-on: ubuntu-latest
permissions: write-all

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable

- name: Install Valgrind
run: |
sudo apt-get update
sudo apt-get install -y valgrind

- name: Run Valgrind
run: |
cargo b -r -p revm-test --bin snailtracer
valgrind --tool=cachegrind target/release/snailtracer 2>&1 | tee cachegrind_results.txt

- name: Valgrind results
id: valgrind_results
run: |
contents=$(printf "%s" "$(head -c 64000 cachegrind_results.txt)")
# dump line by line into a file
printf "Valgrind Results:\n\n\`\`\`\n%s\n\`\`\`" "$contents" > results.md

- name: Comment on PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Try to edit the last comment
if gh pr comment ${{ github.event.pull_request.number }} --edit-last --body-file results.md; then
echo "Successfully edited last comment."
else
echo "Failed to edit last comment. Trying to add a new comment instead!"
# If editing last comment fails, try to add a new comment
if ! gh pr comment ${{ github.event.pull_request.number }} --body-file results.md; then
echo "Comment failed to be made, printing out results here:"
cat results.md
fi
fi
122 changes: 78 additions & 44 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,65 +10,99 @@ on:
pull_request:
branches: [main, "release/**"]

env:
CARGO_TERM_COLOR: always

jobs:
tests-stable:
name: Tests (Stable)
test:
name: test ${{ matrix.rust }} ${{ matrix.flags }}
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
rust: ["stable", "beta", "nightly"]
flags: ["--no-default-features", "", "--all-features"]
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
targets: riscv32imac-unknown-none-elf

toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo test --workspace ${{ matrix.flags }}

- name: cargo test
run: cargo test --workspace

- name: cargo test all features
run: cargo test --workspace --all-features

- name: cargo check no_std
run: cargo check --target riscv32imac-unknown-none-elf --no-default-features

lint:
name: Lint
test-no-std:
name: test no_std
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
cache-on-failure: true

- name: cargo fmt
run: cargo +nightly fmt --all -- --check

- name: cargo clippy
run: cargo +nightly clippy --workspace --all-features -- -D warnings
targets: riscv32imac-unknown-none-elf
- run: cargo check --target riscv32imac-unknown-none-elf --no-default-features

- name: cargo check no-default-features
run: |
check-no-default-features:
name: check no-default-features
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- run: |
cd crates/revm
cargo check --no-default-features
- name: cargo check serde
run: |

check-serde:
name: check serde
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- run: |
cd crates/revm
cargo check --no-default-features --features serde
- name: cargo check std
run: |

check-std:
name: check std
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- run: |
cd crates/revm
cargo check --no-default-features --features std

clippy:
name: clippy
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo clippy --workspace --all-targets --all-features
env:
RUSTFLAGS: -Dwarnings

docs:
name: docs
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rust-docs
- run: cargo doc --workspace --all-features --no-deps --document-private-items
env:
RUSTDOCFLAGS: "--cfg docsrs -D warnings"

fmt:
name: fmt
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all --check
8 changes: 5 additions & 3 deletions .github/workflows/ethereum-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
pull_request:
branches: [main, "release/**"]


jobs:
tests-stable:
name: Ethereum Tests (Stable)
Expand All @@ -19,6 +18,7 @@ jobs:
strategy:
matrix:
profile: [ethtests, release]
target: [i686-unknown-linux-gnu, x86_64-unknown-linux-gnu]
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand All @@ -37,11 +37,13 @@ jobs:
with:
cache-on-failure: true

- name: Install cross
run: cargo install cross

- name: Run Ethereum tests
run: |
cargo run --profile ${{ matrix.profile }} -p revme -- statetest \
cross run --target ${{matrix.target}} --profile ${{ matrix.profile }} -p revme -- statetest \
ethtests/GeneralStateTests/ \
ethtests/LegacyTests/Constantinople/GeneralStateTests/ \
ethtests/EIPTests/StateTests/stEIP1153-transientStorage/ \
ethtests/EIPTests/StateTests/stEIP4844-blobtransactions/ \
ethtests/EIPTests/StateTests/stEIP5656-MCOPY/
42 changes: 42 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Documentation: https://release-plz.ieni.dev/docs
name: Release-plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main

jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
# Commits the cargo lock (generally a good practice for upstream libraries)
- name: Commit Cargo.lock
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add Cargo.lock
git commit -m "Update Cargo.lock" || echo "No changes to commit"
# This will run the release-plz action
# The action dectect API breaking changes detection with cargo-semver-checks.
# Semver is auto incremneted based on this
# A PR with the semver bump is created with a new release tag and changelog
# if you configure the cargo registry token, the action will also publish the new version to crates.io
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
with:
command: release-pr
env:
# The admin of the repository with need to configure the following secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ target
.idea
pkg/


bins/revme/temp_folder
bins/revme/tests
ethereumjs-util.js
book

# Generated by the block traces example
traces

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

# v29 tag
date: 17.02.2024

Small release, `return_memory_range` included inside `CallInput`.
Few fixes.

revm: 5.0.0 -> 6.0.0 (⚠️ API breaking changes)
revm-interpreter: 2.1.0 -> 3.0.0 (⚠️ API breaking changes)
revm-primitives: 2.0.0 -> 2.0.1 (✓ API compatible changes)
revm-precompile: 4.0.0 -> 4.0.1 (✓ API compatible changes)

# v28 tag
date: 12.02.2024

Small release, function renaming and some helper functions added.

* revm: 4.0.0 -> 5.0.0 (⚠️ API breaking changes)
* revm-interpreter: 2.0.0 -> 2.1.0 (✓ API compatible changes)
* revm-precompile: 3.0.0 -> 4.0.0 (⚠️ API breaking changes)
* revm-test: 0.1.0

# v27 tag
date: 07.02.2024

Refactor of Evm logic as list of handlers inside EvmHandler and EvmBuilder that open up the Evm and allow overwriting the default behavior.
Change how call loop (Previously it was recursion) is handled in Evm

* revm: v4.0.0
* revm-precompile: v3.0.0
* revm-primitives: v2.0.0
* revm-interpreter: v2.0.0
* revme: 0.2.1

# v26 tag
date 02.10.2023

Expand Down
Loading
Loading