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: merge upstream changes into develop #28

Merged
merged 107 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
223f6cd
chore: fix publish revm-precompile (#1258)
rakita Apr 2, 2024
8af9531
feat(interpreter): test Host object-safety, allow `dyn Host` in instr…
DaniPopes Apr 3, 2024
5d5c5f1
chore(deps): bump secp256k1 from 0.28.2 to 0.29.0 (#1260)
dependabot[bot] Apr 3, 2024
96dda38
feat(interpreter): remove SPEC generic from gas calculation functions…
DaniPopes Apr 3, 2024
4d64bbc
feat(interpreter): derive Eq for InterpreterAction (#1262)
DaniPopes Apr 5, 2024
5e730a6
chore: add and use EvmContext::take_error (#1264)
DaniPopes Apr 5, 2024
af56651
feat(`db`): Introduce `alloydb` (#1257)
Evalir Apr 5, 2024
eee0541
minor typo fix in docs (#1266)
h3lio5 Apr 6, 2024
d3db49d
chore(ci): use more stable rust toolchain plugin (#1269)
rakita Apr 7, 2024
c961887
chore: revert snailtracer without microbench (#1259)
rakita Apr 7, 2024
c1eb0e6
perf(interpreter): use `pop_top!` where possible (#1267)
DaniPopes Apr 7, 2024
11e819c
Add the modifies_memory macro (#1270)
h3lio5 Apr 7, 2024
d06f5d0
feat: pass rand feature to alloy_primitives (#1276)
Wodann Apr 8, 2024
1edfeb6
Update documentation (#1275)
Pana Apr 8, 2024
b4a87a4
feat: EOF (Ethereum Object Format) (#1143)
rakita Apr 9, 2024
cf96ce8
feat(revme): add --keep-going to statetest command (#1277)
DaniPopes Apr 9, 2024
cfc4511
docs(inspectors): change `serde` to `serde-json` for `TracerEip3155` …
Jon-Becker Apr 10, 2024
e0f72a0
feat: add flag to force hashbrown usage (#1284)
Wodann Apr 13, 2024
fa9e127
feat(revm): make `FrameOrResult` serializable (#1282)
n0b0dyCN Apr 13, 2024
7957c02
feat: add `Bytecode::original_bytecode_slice` to match `BytecodeLocke…
DaniPopes Apr 13, 2024
5d25c4d
fix: Drops check for .json when testing a single file (#1301)
mw2000 Apr 13, 2024
f4f4745
fix: correct some stack IO (#1302)
DaniPopes Apr 13, 2024
72356e3
chore(interpreter): rename wrapping_* opcodes (#1306)
DaniPopes Apr 16, 2024
cc1b9f7
chore: fix some warnings (#1305)
DaniPopes Apr 16, 2024
9cfd144
perf(interpreter): remove EOF branch in CODE{SIZE,COPY} (#1308)
DaniPopes Apr 16, 2024
aec666a
chore(deps): bump anyhow from 1.0.81 to 1.0.82 (#1293)
dependabot[bot] Apr 16, 2024
688c36c
chore(interpreter): rename some macros (#1304)
DaniPopes Apr 16, 2024
41beddf
docs: fix the Instruction Table link (#1337)
IaroslavMazur Apr 19, 2024
43199dd
chore: weekly dependabot (#1325)
mattsse Apr 19, 2024
e987d2b
chore: update GitHub Actions to Node 20 (#1338)
IaroslavMazur Apr 19, 2024
bcdc652
Implement `with_chain_id` for `CfgEnv` (#1327)
tcoratger Apr 21, 2024
76e22ba
feat: add helper methods to CallInputs (#1345)
DaniPopes Apr 21, 2024
1ca3d39
fix(revme): Print one json outcome in statetest (#1347)
rakita Apr 21, 2024
16b3f21
refactor: shrink OpCodeInfo and add more methods (#1307)
DaniPopes Apr 29, 2024
9165a4a
chore: don't clone bytes in `Bytecode::bytes` (#1344)
DaniPopes Apr 29, 2024
9ec2248
chore(deps): bump aurora-engine-modexp from 1.0.0 to 1.1.0 (#1339)
dependabot[bot] Apr 29, 2024
215a4c4
fix: return the correct error in resize_memory (#1359)
DaniPopes Apr 29, 2024
f59ce8c
feat(interpreter): add helpers for spending all gas (#1360)
DaniPopes Apr 29, 2024
ac3fa4f
perf: remove bounds check in DUP, SWAP/EXCHANGE (#1346)
DaniPopes Apr 29, 2024
1f44e4c
chore(deps): bump hashbrown from 0.14.3 to 0.14.5 (#1365)
dependabot[bot] Apr 29, 2024
3f5bb76
feat: Add uniswap V2 WETH-USDC swap example (#1353)
pawurb Apr 29, 2024
a2279f2
perf(interpreter): rewrite gas accounting for memory expansion (#1361)
DaniPopes Apr 29, 2024
67c13f3
feat: parse opcodes from strings (#1358)
DaniPopes May 1, 2024
aceb093
feat(Handler): Add ClearHandle (#1368)
rakita May 1, 2024
3e089f3
feat: implement EIP-2935 (#1354)
onbjerg May 2, 2024
12062b0
chore: re-use num_words in gas::cost_per_word (#1371)
DaniPopes May 2, 2024
99e177d
chore(ci): bump action/deploy (#1372)
rakita May 2, 2024
569760d
perf(interpreter): branch less in as_usize_or_fail (#1374)
DaniPopes May 3, 2024
f0cfe77
chore: remove unused file (#1379)
DaniPopes May 4, 2024
f778a5d
bump alloy & specify dep rev (#1380)
halo3mic May 4, 2024
8f5be0e
chore(revme): increment statetest bar *after* running the test (#1377)
DaniPopes May 4, 2024
7f19b98
chore: add blob_count and max_blobs to `TooManyBlobs` err enum (#1375)
yash-atreya May 4, 2024
432852c
chore(deps): bump thiserror from 1.0.58 to 1.0.59 (#1383)
dependabot[bot] May 7, 2024
37e76b7
chore(deps): bump serde from 1.0.197 to 1.0.200 (#1385)
dependabot[bot] May 7, 2024
24f2db3
chore(deps): bump reqwest from 0.12.2 to 0.12.4 (#1384)
dependabot[bot] May 7, 2024
f24bf3b
feat: add a hook to execute individual frames (#1369)
DaniPopes May 7, 2024
c1109bd
chore: refactor lints (#1386)
rakita May 7, 2024
5404a6a
feat: add trace option in `revme evm` (#1376)
qiweiii May 8, 2024
ab54cd5
feat(precompile): add Prague hardfork specification (#1387)
shekhirin May 8, 2024
15ef150
chore: bump c-kzg to 1.0.2 (#1390)
Rjected May 8, 2024
1914696
feat(precompile): Prague - EIP-2537 - BLS12-381 curve operations (#1389)
shekhirin May 10, 2024
a4b466a
fix(precompile): inherit Prague precompiles from Cancun (#1392)
shekhirin May 10, 2024
ebbd76a
fix(precompile): blst dangling pointers, cleanup (#1391)
DaniPopes May 10, 2024
7286dc5
chore: add Trin to used by list (#1393)
KolbyML May 11, 2024
aeefcda
fix(eip2935): Preload blockchash storage address (#1395)
rakita May 11, 2024
d4b0ebc
feat: Add bytes to Bytecode (#1396)
rakita May 12, 2024
d54bd99
chore: release (#1261)
github-actions[bot] May 12, 2024
472de2c
chore: main CHANGELOG, tag v36 (#1397)
rakita May 12, 2024
a04c7cd
chore: remove alloydb example as the crate is not published (#1398)
rakita May 12, 2024
919aae5
chore: Remove Host constrain from calc_call_gas (#1409)
rakita May 13, 2024
4666bd3
chore: pop_address should use crate scope (#1410)
rakita May 13, 2024
db7b3cf
chore(deps): bump serde from 1.0.200 to 1.0.201 (#1407)
dependabot[bot] May 13, 2024
a2e3d39
chore(deps): bump serde_json from 1.0.115 to 1.0.117 (#1406)
dependabot[bot] May 13, 2024
fa99b90
chore(deps): bump paste from 1.0.14 to 1.0.15 (#1405)
dependabot[bot] May 13, 2024
4ac1e66
chore(deps): bump anyhow from 1.0.82 to 1.0.83 (#1404)
dependabot[bot] May 13, 2024
29b2224
chore(deps): bump thiserror from 1.0.59 to 1.0.60 (#1403)
dependabot[bot] May 13, 2024
287ae36
docs: point to gas! in Gas::record_cost (#1413)
DaniPopes May 13, 2024
38c4d3e
fix(primitives): specify the optimism cfg on spec_to_generic (#1412)
DaniPopes May 13, 2024
a67c30e
feat(EOF): remove TXCREATE (#1415)
rakita May 13, 2024
d185018
chore(EOF): rename extcall opcode/names (#1416)
rakita May 13, 2024
84d1372
feat(EOF): Add CALLF/JUMPF stack checks (#1417)
rakita May 14, 2024
4763c8b
feat: add Opcode::modifies_memory back (#1421)
mattsse May 15, 2024
6e81b88
feat: adjust gas-costs for EIP-2935 BLOCKHASH (#1422)
DaniPopes May 16, 2024
f07c0ef
Revert "feat: implement EIP-2935 (#1354)" (#1424)
rakita May 16, 2024
eed27d9
Revert "Revert "feat: implement EIP-2935 (#1354)" (#1424)" (#1426)
rakita May 16, 2024
7046d5e
fix: blockchash for devnet-0 (#1427)
rakita May 16, 2024
05f3c5b
fix(interpreter): avoid overflow when checking if mem limit reached (…
grandizzy May 17, 2024
2239820
chore: cleanup host blockhash fn (#1430)
rakita May 17, 2024
8fd85f1
fix(precompile): BLS G2 MSM (#1428)
shekhirin May 17, 2024
30c6362
fix(precompile): ignore infinity points in G1 MSM (#1432)
Rjected May 17, 2024
ff2dcf5
chore(interpreter): optimisation for BYTE, SHL, SHR and SAR (#1418)
jpgonzalezra May 24, 2024
45e3571
update doc about interpreter action (#1419)
Pana May 24, 2024
c755977
feat: load account should return db error (#1447)
yjhmelody May 24, 2024
44bafed
chore: add docs for BLS scalar input decoding (#1446)
Rjected May 24, 2024
b005b8d
chore: cargo update (#1451)
rakita May 24, 2024
0e1cd99
chore: skip tests with storage check and return status (#1452)
rakita May 24, 2024
8b6ab31
feat(revm): revert EIP-2935 BLOCKHASH opcode changes (#1450)
shekhirin May 24, 2024
2ce53cd
chore: Update fork_ref_transact to use alloy instead of ethers (#1454)
BrianBland May 25, 2024
928883c
feat(optimism): Add secp256r1 precompile for Fjord (#1436)
BrianBland May 26, 2024
3a8b5d0
fix: check canonical Fp elements (#1434)
Rjected May 26, 2024
1b471bd
chore(deps): bump serde from 1.0.202 to 1.0.203 (#1457)
dependabot[bot] May 27, 2024
af88ee9
fix(Interpreter): wrong block number used (#1458)
rakita May 27, 2024
ba02202
remove 'checked' bytecode bench causing benchmarks to crash due to na…
vandenbogart May 28, 2024
d903399
feat(optimism): Implement new L1 cost function for Fjord (#1420)
BrianBland May 28, 2024
a28a543
chore(primitives): rename State/Storage to EvmState/EvmStorage (#1459)
rakita May 28, 2024
8307578
Merge branch 'refs/heads/upstream' into develop
pythonberg1997 Jun 4, 2024
b4c100b
resolve merge conflicts
pythonberg1997 Jun 4, 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/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
5 changes: 4 additions & 1 deletion .github/workflows/cachegrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:

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

- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable

- name: Install Valgrind
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ethereum-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ jobs:
ethtests/LegacyTests/Constantinople/GeneralStateTests/ \
ethtests/EIPTests/StateTests/stEIP1153-transientStorage/ \
ethtests/EIPTests/StateTests/stEIP4844-blobtransactions/ \
ethtests/EIPTests/StateTests/stEIP2537/ \

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

# v36 tag
date: 12.05.2024

Support for prague EIPs.
* EOF not fully tested but most of implementation is there.
* EIP-2537: BLS12-381 curve operations
* EIP-2935: Serve historical block hashes from state

EOF removed BytecodeLocked, OpCode table got changed, and CallInputs got refactored.

revme: 0.4.0 -> 0.5.0 (⚠️ API breaking changes)
revm: 8.0.0 -> 9.0.0 (⚠️ API breaking changes)
revm-interpreter: 4.0.0 -> 5.0.0 (⚠️ API breaking changes)
revm-primitives: 3.1.1 -> 4.0.0 (⚠️ API breaking changes)
revm-precompile: 6.0.0 -> 7.0.0 (⚠️ API breaking changes)
revm-test: 0.1.0

# v35 tag
date: 02.04.2024

Expand Down
Loading