Skip to content

Merge upstream v19.5.0 #12

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

Open
wants to merge 247 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 commits
Select commit Hold shift + click to select a range
077c2c3
feat: introducing EvmWiring, a chain-specific configuration (#1672)
Wodann Sep 9, 2024
a914ddd
chore(revme): replace `structopt` with `clap` (#1754)
DaniPopes Sep 12, 2024
f57e3e6
fix: statetest json set spec_id (#1766)
rakita Sep 12, 2024
8d6c5d1
refactor: simplify SuccessOrHalt trait bound (#1768)
Wodann Sep 16, 2024
1bdd5bd
chore(deps): bump once_cell from 1.19.0 to 1.20.0 (#1773)
dependabot[bot] Sep 16, 2024
acf1a70
chore(deps): bump anyhow from 1.0.88 to 1.0.89 (#1772)
dependabot[bot] Sep 16, 2024
9b43aa1
chore(deps): bump secp256k1 from 0.29.0 to 0.29.1 (#1770)
dependabot[bot] Sep 18, 2024
3359b0e
chore(deps): bump alloy-transport from 0.3.0 to 0.3.5 (#1771)
dependabot[bot] Sep 18, 2024
54d2415
feat(example): deploy bytecode from scratch (#1767)
clearloop Sep 18, 2024
a340cf9
chore: Test for l1 gas used and l1 fee for ecotone tx (#1748)
emhane Sep 18, 2024
9ded690
feat: to_plain_state (#1778)
prestwich Sep 18, 2024
b6ebcc8
chore: release v44 bump main CHANGELOG (#1783)
rakita Sep 18, 2024
3e5a307
feat: project restructuring Part1 (#1776)
rakita Sep 18, 2024
be1d324
feat: use TestAuthorization and skip decoding of eip7702 tx (#1785)
royvardhan Sep 18, 2024
fa1e546
feat: restructure Part2 database crate (#1784)
rakita Sep 18, 2024
66adad0
feat: Restructuring Part3 inspector crate (#1788)
rakita Sep 19, 2024
5b6846b
chore: migrate off alloy-eips (#1789)
prestwich Sep 20, 2024
f75998a
feat: restructure part3 fix examples (#1792)
rakita Sep 20, 2024
3562d2e
Replace `PrecompileError` variant (#1797)
juanimedone Sep 24, 2024
5b24f61
chore: add ReentrancySentryOOG for SSTORE (#1795)
jsvisa Sep 24, 2024
e7de0bb
feat: Merge validation/analyzis with Bytecode (#1793)
rakita Sep 24, 2024
47169b3
chore: refactor -copy common code (#1799)
rakita Sep 24, 2024
4102ecd
chore: fix `constants` module typo (#1801)
DaniPopes Sep 24, 2024
30c9199
chore: fix some typos (#1800)
DaniPopes Sep 24, 2024
e477c7f
fix: make macro crate-agnostic (#1802)
Wodann Sep 25, 2024
f8d8ae9
feat: push NonceChange to Journal in deduct_caller (#1804)
royvardhan Sep 25, 2024
411d0ef
feat: add support for async database (#1809)
morph-dev Sep 26, 2024
ca5b2fe
feat: extract statetest models/structs to standalone crate (#1808)
royvardhan Sep 26, 2024
798d08c
chore: Bump to eip7692@v1.1.1 tests (#1815)
cairoeth Oct 2, 2024
a47d3e5
chore(primitives): replace HashMap re-exports with alloy_primitives::…
DaniPopes Oct 2, 2024
6b34144
chore: bump EOF evmone tests to v0.13.0 (#1816)
cairoeth Oct 3, 2024
925c042
chore: bump alloy to 0.4.2 (#1817)
prestwich Oct 4, 2024
ee4809e
feat: restructuring Part6 transaction crate (#1814)
rakita Oct 8, 2024
021bec5
chore: inline more `AccountInfo` fns and add docs (#1819)
Rjected Oct 9, 2024
dad766d
feat(interpreter): impl Clone for Stack (#1820)
jsvisa Oct 13, 2024
dd620d5
chore: bump alloydb deps (#1832)
rakita Oct 23, 2024
b09b375
bump: v49 release (#1833)
rakita Oct 23, 2024
51d50f6
Chore: some no_std cleanup (#1834)
prestwich Oct 24, 2024
346aa01
Osaka Activation (release_49 branch) (#1835)
shemnon Oct 28, 2024
9dcd87c
perf(precompile): use secp256k1 global context for ecrecover (#1845)
Rjected Nov 4, 2024
bbc8d81
perf(precompile): use secp256k1 global context for ecrecover (#1843)
Rjected Nov 4, 2024
7d24989
feat: to_plain_state (#1778) (#1841)
Evalir Nov 4, 2024
4360ea1
chore: bump alloy-eip7702 and remove `Parity` re-export (#1842)
klkvr Nov 4, 2024
900409f
bump: tag v50, revm v18.0.0, changelogs (#1849)
rakita Nov 6, 2024
dc4d38f
perf(CacheAccount): remove unneeded clone (#1859)
hai-rise Nov 20, 2024
1e73c08
perf(TransitionAccount): remove unneeded clone (#1860)
hai-rise Nov 20, 2024
9519b11
perf: Add static Optimism precompiles for Fjord & Granite (#1864)
hai-rise Nov 20, 2024
4f76291
[v50] perf: remove unneeded clones (#1863)
hai-rise Nov 20, 2024
a9e15b2
doc(memory): remove dead link (#1857)
hai-rise Nov 20, 2024
a002459
chore: refactor L1BlockInfo::tx_estimated_size_fjord (#1862)
hai-rise Nov 20, 2024
e18d01f
chore: fix typos (#1868)
conr2d Nov 21, 2024
e51d128
feat: Restucturing Part7 Handler and Context rework (#1865)
rakita Dec 5, 2024
1fe91d5
chore(crates/bytecode): fix some comments (#1851)
wangjingcun Dec 5, 2024
bc73778
chore: refactor L1BlockInfo::tx_estimated_size_fjord (#1856)
hai-rise Dec 6, 2024
d0c6bad
chore: Update README.md examples section (#1853)
FredCoen Dec 6, 2024
56ed6a3
feat: couple convenience functions for nested cache dbs (#1852)
prestwich Dec 6, 2024
64f3843
chore: bumps select alloy crates to 0.6 (#1854)
bsh98 Dec 6, 2024
6882e22
feat(Prague): EIP-7623 Increase Calldata Cost (#1744)
rkrasiuk Dec 6, 2024
4e00f32
EIP-7742: Uncouple blob count between CL and EL (#1899)
rakita Dec 6, 2024
d8ca097
feat: apply latest EIP-7702 changes (#1850)
klkvr Dec 7, 2024
12b0bab
feat: eip7691 fraction update (#1900)
rakita Dec 8, 2024
dff83c6
chore: make ExtBytecode pointer private (#1904)
rakita Dec 9, 2024
7e7d048
chore: Rename PRAGUE_EOF to OSAKA (#1903)
rakita Dec 9, 2024
45581c4
chore: mdbook links check (#1906)
rakita Dec 9, 2024
22435a4
implement serde for interpreter (#1909)
FredCoen Dec 14, 2024
8e37679
chore: Move CfgEnv from context-interface to context crate (#1910)
FredCoen Dec 14, 2024
735dc37
chore: put snailtracer and analysis contracts in files (#1911)
Rjected Dec 15, 2024
159be28
fix(revme): include correct bytecode for snailtracer (#1917)
rakita Dec 16, 2024
99d1219
chore: use stderr for revme tracer. not panic on bytecode (#1916)
rakita Dec 16, 2024
3774f6e
chore: Simplify GasInspector (#1919)
rakita Dec 16, 2024
62c33ec
chore: add depth to GasInspector (#1922)
rakita Dec 17, 2024
ca85e67
chore: tie journal database with database getter (#1923)
rakita Dec 17, 2024
f2bc86e
docs(readme): add tycho-simulation to "Used by" (#1926)
zizou0x Dec 18, 2024
1f6d438
fix: Clear journal (#1927)
rakita Dec 18, 2024
2ff3d65
feat:removed create address collision check (#1928)
varun-doshi Dec 19, 2024
9455895
feat(database): implement order-independent equality for Reverts (#1827)
hoank101 Dec 19, 2024
dcb3728
fix: clear JournalState and set first journal vec (#1929)
rakita Dec 19, 2024
4a1d633
chore: EVM transact, make output generic for POSTEXEC (#1931)
rakita Dec 19, 2024
3124e5e
feat: Make Ctx journal generic (#1933)
rakita Dec 20, 2024
17c4543
typo: fix comments and docs into more sensible (#1920)
lancorer Dec 20, 2024
03ea24b
feat: integrate codspeed (#1935)
DaniPopes Dec 20, 2024
5f229c0
fix(revme): Burntpix bench (#1937)
rakita Dec 20, 2024
2ebed31
chore: remove analysis bench inner loops (#1936)
DaniPopes Dec 20, 2024
237bb1c
feat: add isthmus spec (#1938)
leruaa Dec 23, 2024
e3f6a35
chore: use MemoryOOG (#1941)
DaniPopes Dec 23, 2024
716ebea
test: add OpTransaction conversion tests (#1939)
hoank101 Dec 24, 2024
8dc2e2f
EIP-2935: Update HISTORY_STORAGE_ADDRESS (#1946)
programskillforverification Dec 24, 2024
d634f31
chore: Make inspector use generics, rm associated types (#1934)
rakita Dec 24, 2024
e30fe19
feat: add Isthmus spec (#1948)
leruaa Dec 24, 2024
0c69ccd
chore: eip7702 chainid u256 change (#1950)
rakita Dec 25, 2024
66ee506
feat: blst reprice, remove g1/g2 mul, eest test bump (#1951)
rakita Dec 25, 2024
8507c1c
chore: bump for v51, revm v19.0.0 versions (#1953)
rakita Dec 26, 2024
d6b90a0
bump: alloy core and use PrimitiveSignature (#1954)
rakita Dec 26, 2024
7d060e1
feat: expose precompile address in Journal, DB::Error: StdError (#1956)
rakita Dec 26, 2024
811bc7d
fix: add proper part to devnet5 tests
rakita Dec 27, 2024
543b4bb
feat: align Block trait (#1957)
rakita Dec 30, 2024
60ce865
feat(example): use custom handlers to pay for gas with erc-20 (#1901)
royvardhan Dec 31, 2024
d2a3b5b
chore: integrate rust-secp256k1 (#1915)
stevencartavia Dec 31, 2024
e3c7abf
Add bytecode hash in interpreter #1888 (#1952)
FredCoen Dec 31, 2024
6f3d9f8
feat: Split inspector.rs (#1958)
varun-doshi Dec 31, 2024
223a2d6
fix: Documentation Corrections and Clarifications (#1962)
savvar9991 Jan 3, 2025
226f059
feat: handle isthmus operator fee (#1960)
leruaa Jan 3, 2025
12a790f
feat: simplify Transaction trait (#1959)
rakita Jan 3, 2025
f6cf872
feat: bump eof validation tests (#1963)
rakita Jan 3, 2025
894bcfb
fix(eof): dont run precompile on ext delegate call (#1964)
rakita Jan 3, 2025
9dd9f9e
chore: optimize tx l1 fetches (#1967)
rakita Jan 6, 2025
ae26414
bump: revm 19.1.0, tag v52 (#1968)
rakita Jan 6, 2025
04688b7
feat(EIP-7623): Increase calldata cost. backport from rel/v51 (#1965)
rakita Jan 6, 2025
1054af9
fix(op): move l1block loading to verification (#1970)
rakita Jan 6, 2025
b59f255
bump: v53 revm v19.2.0 (#1972)
rakita Jan 6, 2025
7fcbd7d
chore: fix journal naming for inc/dec balance (#1976)
FredCoen Jan 8, 2025
c28ea1b
chore: Add helper functions for JournalInit #1879 (#1961)
FredCoen Jan 8, 2025
6a69c71
feat(eip7702): apply latest EIP-7702 changes, backport from v52 (#1969)
rakita Jan 8, 2025
67200ca
fix: test case state root revert (#1979)
rakita Jan 8, 2025
cd5a659
feat(EIP-7840): Add blob schedule to execution client cfg (#1980)
rakita Jan 8, 2025
77a981c
core: blst reprice, remove g1/g2 mul (#1981)
rakita Jan 9, 2025
10d3e1d
chore: rm deprecated bls test (#1982)
rakita Jan 9, 2025
a2451cd
chore: align crates versions (#1983)
rakita Jan 9, 2025
9bef7d9
feat: extract and export `estimate_tx_compressed_size` (#1985)
meyer9 Jan 10, 2025
246f483
feat(EIP-7623): adjuct floor gas check order (#1990)
rakita Jan 13, 2025
bc44ae1
feat(EIP-7623): adjuct floor gas check order (main) (#1991)
rakita Jan 13, 2025
b88b720
chore: Bump v54 (#1992)
rakita Jan 13, 2025
88c5a94
fix(revme): statetest remove redundant json output (#1994)
rakita Jan 14, 2025
234405c
fix(revme): Statetest stop exec when print output is true (#1995)
rakita Jan 14, 2025
39eaab7
chore: bump kzg.rs (#2002)
nhtyy Jan 16, 2025
26f0cf8
feat: add precompiles for BLS12-381 to isthmus (#2000)
meyer9 Jan 16, 2025
242f61f
feat(examples): add cheatcode inspector example (#2003)
agostbiro Jan 17, 2025
b4578fe
chore: bump alloy versions to match latest (#2007)
0xAlcibiades Jan 20, 2025
25512fd
fix: deduplicate validate_initial_tx_gas API (#2006)
Wodann Jan 21, 2025
34bc873
feat: EthHandler trait (#2001)
rakita Jan 21, 2025
c3b6023
chore: add comment for pub function and fix typo (#2015)
jackwener Jan 24, 2025
78e8a1f
feat: Context execution (#2013)
rakita Jan 24, 2025
6d90798
fix(op): isthmus compilation (#2022)
rakita Jan 24, 2025
aa0c9c5
chore: devnet5 tests v1.3.0 (#2021)
rakita Jan 24, 2025
be92e1d
chore: bump devnet5 v1.3.0 tests (#2020)
rakita Jan 24, 2025
a8f9824
fix(Inspector): call handler functions (#2026)
rakita Jan 27, 2025
773b909
feat: Add essential EIP-7756 tracing fields (#2023)
shemnon Jan 27, 2025
4c77354
chore: remove duplicate instructions (#2029)
shafu0x Jan 27, 2025
14c5cc1
feat: Include EIP7702 address for extcodecopy (#2016)
elijahhampton Jan 27, 2025
62be6f6
bump: revm v19.4.0 tag v54
rakita Jan 28, 2025
6e98049
chore: simplify some generics (#2032)
klkvr Jan 28, 2025
03f84f3
perf: improve EIP-3155 tracer (#2033)
DaniPopes Jan 28, 2025
249531c
fix(Inspector): frame_end called multiple times (#2037)
rakita Jan 28, 2025
62119ca
feat: simplify InspectorContext (#2036)
klkvr Jan 28, 2025
5407d7a
chore: rename OpHaltReason (#2042)
klkvr Jan 31, 2025
83a3087
chore: relax halt reason bounds (#2041)
klkvr Jan 31, 2025
20df4d7
fix ethersdb.rs forking (#2047)
onlyblackstars Feb 4, 2025
2c9290a
fix(op): add operator fee scalar scaling factor on refund (#2050)
leruaa Feb 6, 2025
b3fbb88
feat: Evm structure (Cached Instructions and Precompiles) (#2049)
rakita Feb 7, 2025
e803ed0
feat(eip7702): devnet6 changes and bump eest tests (#2055)
rakita Feb 8, 2025
32d5eba
feat(op): Isthmus precompiles (#2054)
rakita Feb 8, 2025
0583d40
chore: Bump devnet6 eest tests (#2056)
rakita Feb 8, 2025
a492073
chore: Bump licence year to 2025 (#2058)
rakita Feb 8, 2025
ee8e319
chore(op): backport isthmus operator fee (#2059)
rakita Feb 10, 2025
26d16a1
chore: Add helpers with_inspector with_precompile (#2063)
rakita Feb 10, 2025
6fe9047
Check performance of gas with i64 #1884 (#2062)
Ayushdubey86 Feb 11, 2025
a144921
fix(op-isthmus): missing granite precompiles and disable eof (#2065)
rakita Feb 11, 2025
bd961b7
bump: tag v56 revm v19.5.0 (#2066)
rakita Feb 11, 2025
c12a95e
chore: API cleanup (#2067)
rakita Feb 11, 2025
be3b6c5
chore: add default generics for InterpreterTypes (#2070)
klkvr Feb 12, 2025
6fada5e
chore: relax trait req in EthPrecompiles::default (#2071)
rakita Feb 12, 2025
4f2059c
feat: derive Eq for OpSpec (#2073)
klkvr Feb 12, 2025
b67ca3e
refactor: remove OpSpec (#2074)
klkvr Feb 12, 2025
125a3c0
chore: backport op l1 fetch perf (#2076)
rakita Feb 12, 2025
8858a31
fix: no_std for revm-database (#2077)
rakita Feb 12, 2025
a82801b
feat: integrate alloy-eips (#2078)
klkvr Feb 13, 2025
3a4acd4
feat: Introduce Auth and AccessList traits (#2079)
rakita Feb 13, 2025
a06dec7
fix(tracer): Flush buffer (#2080)
rakita Feb 13, 2025
dd63090
feat: Split Inspector trait from EthHandler into standalone crate (#2…
rakita Feb 13, 2025
3c11ded
feat: book structure (#2082)
rakita Feb 14, 2025
24162b7
chore: Rename NameTrait to NameTr (#2084)
rakita Feb 16, 2025
6f7f6b9
chore: tag v57 revm 20.0.0-alpha.1 (#2086)
rakita Feb 16, 2025
25d9726
rm database from context-interface (#2087)
rakita Feb 16, 2025
f463fb8
fix: inspector when returning right away (#2089)
rakita Feb 17, 2025
6662e10
refactor: re-export all crates from `revm` (#2088)
klkvr Feb 18, 2025
cd6ebd8
chore: remove unused generics from TracerEip3155 (#2090)
klkvr Feb 18, 2025
3e7009b
chore: move all dependencies to workspace (#2092)
DaniPopes Feb 18, 2025
1a26aeb
chore(deps): bump breaking deps (#2093)
DaniPopes Feb 18, 2025
0ce8a34
chore(examples): use .erased() instead of DynProvider::new (#2094)
DaniPopes Feb 18, 2025
c525b5e
fix: call clear (#2091)
klkvr Feb 18, 2025
02c9b67
chore: Split blst constants out to individual file #2085
Ayushdubey86 Feb 19, 2025
eeccdc3
G1_msm base gas fee const correction (#2100)
Ayushdubey86 Feb 20, 2025
ac939f6
fix(blst): Fix blst wrong constants values and usage (#2102)
rakita Feb 20, 2025
644492a
chore: Update broken link secp256r1.rs (#2099)
dramarereg Feb 21, 2025
2e5b118
chore: PrecompileErrors to PrecompileError (#2103)
jackwener Feb 21, 2025
03e3d8d
chore(op): Add Interop hardfork (#2095)
SozinM Feb 21, 2025
01aa4bb
chore: fix wrong comment & remove useless struct (#2105)
jackwener Feb 24, 2025
b3300a1
chore: export eip2930 eip7702 types from one place (#2097)
rakita Feb 24, 2025
be7e9a5
docs: Add docs to revm-bytecode crate (#2108)
rakita Feb 24, 2025
f84f712
refactor: expose popn macros (#2113)
greged93 Feb 25, 2025
1967753
chore: remove wrong `&mut`/`TODO`, and avoid useless `get_mut` (#2111)
jackwener Feb 25, 2025
4e70da8
chore: fix eofcreate error typo (#2120)
Rjected Feb 27, 2025
58de79e
chore: make OpEvm ContextSetters impl generic over precompiles (#2119)
Rjected Feb 27, 2025
23d0b40
chore(op): Add osaka fork so EOF can be activated (#2122)
rakita Feb 27, 2025
739ffd3
feat: add the debug impl for Evm and EvmData type (#2126)
startup-dreamer Feb 28, 2025
8bafef3
chore: Adding function derive_tx_type to TxEnv (#2118)
Ayushdubey86 Mar 3, 2025
5886b9e
feat: TryDatabaseCommit (#2121)
prestwich Mar 3, 2025
dd7d751
feat: allow host to be implemented on custom context (#2112)
omer-gen Mar 3, 2025
00ee6dd
chore: remove `optional_gas_refund` as unused (#2132)
rakita Mar 3, 2025
fc999af
refactor(db): separate fields from `CacheDB` into `Cache` (#2131)
itzlambda Mar 3, 2025
1429709
fix(op): Move loading of l1block data (#2130)
rakita Mar 3, 2025
d495bab
chore: remove unused source file (#2133)
Wodann Mar 3, 2025
55a3e8f
refactor: add immutable gas API to LoopControl (#2134)
Wodann Mar 3, 2025
4635828
feat: implement AccessListTr for Vec (#2136)
Wodann Mar 4, 2025
a6e3bba
refactor: simplify bn128::run_pair (#2137)
JackDrogon Mar 4, 2025
60ead3a
feat: add constructor with hardfork (#2135)
Wodann Mar 4, 2025
d16a749
chore: fix README link (#2139)
rakita Mar 4, 2025
4a42c45
refactor: move mainnet builder to handler crate (#2138)
rakita Mar 4, 2025
c54e464
fix: make op evm impl blocks generic over precompiles (#2142)
klkvr Mar 4, 2025
cfc885f
chore: rename revm-optimism to op-revm (#2141)
startup-dreamer Mar 4, 2025
dd8c1c0
fix(op): Handler deposit tx halt, catch_error handle (#2144)
rakita Mar 4, 2025
934b774
fix: use correct HashMap import (#2148)
klkvr Mar 5, 2025
19a5f3b
fix: relax jumptable len check (#2149)
rakita Mar 5, 2025
a72f13b
feat: Standalone Host, remove default fn from context (#2147)
rakita Mar 6, 2025
435e630
test: allow duplicate v and yparity in test files (#2150)
mattsse Mar 6, 2025
39a3a2b
chore: docs and cleanup (rm Custom Inst) (#2151)
rakita Mar 6, 2025
fd98dc2
refactor: examples to use main revm crate (#2152)
rakita Mar 6, 2025
019188a
refactor: rename transact_previous to replay, move EvmTr traits (#2153)
rakita Mar 7, 2025
9ddcad5
feat: make journal entries generic (#2154)
omer-gen Mar 7, 2025
e79960e
refactor: JournalTr, JournalOutput, op only using revm crate (#2155)
rakita Mar 7, 2025
389be74
chore: op-revm cleanup and few docs (#2156)
rakita Mar 7, 2025
4613aa8
perf: pre EIP-7702 does not need to load code (#2162)
lightsing Mar 10, 2025
dff4543
feat: remove specification crate (#2165)
rakita Mar 10, 2025
b2ad145
feat(handler): add MainnetContext alias generic over Database (#2166)
0xMushow Mar 10, 2025
dbbb927
feat: added with_ref_db fn to Context (#2164)
Rimeeeeee Mar 10, 2025
6b3110c
bump: v59 release-plz update (#2170)
rakita Mar 10, 2025
44501f4
fix: switch order of publishing in script (#2171)
rakita Mar 10, 2025
7528ab4
fix: set zero if blockhash is out of range (#2173)
rakita Mar 10, 2025
15887c0
fix(precompiles): add portable flag for bls (#2174)
rakita Mar 10, 2025
6c9654b
bump: tag v60, revm v20.0.0-alpha.3 (#2176)
rakita Mar 10, 2025
8da555e
fix: correct propagate features (#2177)
klkvr Mar 10, 2025
9e39df5
refactor: remove CTX phantomdata from precompile providers (#2178)
klkvr Mar 10, 2025
9011820
chore(precompile): refactor out msm helper (#2179)
refcell Mar 11, 2025
7f34589
feat: decouple first_frame_input from inspector (#2180)
rakita Mar 11, 2025
a21d64e
fix: remove wrong Clone Macro in WrapDatabaseRef (#2181)
jackwener Mar 11, 2025
a98025e
fix(op): fix inspection call (#2184)
rakita Mar 11, 2025
ac21fc5
chore: bump alloy (#2183)
klkvr Mar 11, 2025
f11bbab
fix(op) enable proper precompiles p256 (#2186)
rakita Mar 11, 2025
6c3cbc1
docs: Add comments to handler methods (#2188)
rakita Mar 11, 2025
f2a2eb7
bump: tag v61 revm v20.0.0-alpha.4 (#2190)
rakita Mar 11, 2025
d197043
chore: add debug to precompiles type (#2193)
mattsse Mar 12, 2025
2f84d22
feat: rename inspect_previous to inspect_replay (#2194)
rakita Mar 12, 2025
73e6b83
feat: Add tx/block to EvmExecution trait (#2195)
rakita Mar 12, 2025
628327c
feat: add custom error to context (#2197)
rakita Mar 12, 2025
4c7b7f0
bump: tag v62 revm v20.0.0-alpha.5 (#2198)
rakita Mar 12, 2025
4de4301
merge
allnil Mar 21, 2025
086f8e6
merge: merge and resolve conflicts
allnil Mar 26, 2025
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
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .config/zepter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version:
format: 1
# Minimum zepter version that is expected to work. This is just for printing a nice error
# message when someone tries to use an older version.
binary: 0.13.2

# The examples in the following comments assume crate `A` to have a dependency on crate `B`.
workflows:
check:
- [
"lint",
# Check that `A` activates the features of `B`.
"propagate-feature",
# These are the features to check:
"--features=std,serde",
# Do not try to add a new section into `[features]` of `A` only because `B` expose that feature. There are edge-cases where this is still needed, but we can add them manually.
"--left-side-feature-missing=ignore",
# Ignore the case that `A` it outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on.
"--left-side-outside-workspace=ignore",
"--show-path",
"--quiet",
]
default:
# Running `zepter` with no subcommand will check & fix.
- [$check.0, "--fix"]

# Will be displayed when any workflow fails:
help:
text: |
Revm uses the Zepter CLI to detect abnormalities in Cargo features, e.g. missing propagation.

It looks like one more checks failed; please check the console output.

You can try to automatically address them by installing zepter (`cargo install zepter --locked`) and simply running `zepter` in the workspace root.
links:
- "https://github.com/ggwpez/zepter"
37 changes: 37 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Benchmark

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
codspeed:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install cargo-codspeed
uses: taiki-e/install-action@v2
with:
tool: cargo-codspeed
- name: Build the benchmark target(s)
run: cargo codspeed build --profile profiling --workspace
- name: Run the benchmarks
uses: CodSpeedHQ/action@v3
with:
run: cargo codspeed run --workspace
token: ${{ secrets.CODSPEED_TOKEN }}
13 changes: 8 additions & 5 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
echo `pwd`/mdbook-template >> $GITHUB_PATH

- name: Run tests
run: mdbook test
run: |
cp README.md book/src/README.md
sed -i -e 's|../../README.md|README.md|g' book/src/SUMMARY.md
mdbook test

lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -78,26 +81,26 @@ jobs:
echo `pwd`/mdbook-template >> $GITHUB_PATH

- name: Build book
run: mdbook build documentation
run: mdbook build book

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

- name: Move docs to book folder
run: |
mkdir -p target/book/docs
mv target/doc documentation/book/docs
mv target/doc book/book/docs

- name: Archive artifact
shell: sh
run: |
chmod -c -R +rX "documentation/book" |
chmod -c -R +rX "book/book" |
while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
tar \
--dereference --hard-dereference \
--directory "documentation/book" \
--directory "book/book" \
-cvf "$RUNNER_TEMP/artifact.tar" \
--exclude=.git \
--exclude=.github \
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/cachegrind.yml

This file was deleted.

22 changes: 18 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ jobs:
strategy:
fail-fast: false
matrix:
features: ["", "optimism,kzg-rs"]
features: ["", "kzg-rs"]
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 }}
- run: |
cargo check --target riscv32imac-unknown-none-elf --no-default-features --features=${{ matrix.features }}
cargo check --target riscv32imac-unknown-none-elf -p op-revm --no-default-features --features=${{ matrix.features }}
cargo check --target riscv32imac-unknown-none-elf -p revm-database --no-default-features

check:
name: check ${{ matrix.features }}
Expand Down Expand Up @@ -93,6 +96,18 @@ jobs:
with:
components: rustfmt
- run: cargo fmt --all --check

# Check crates correctly propagate features
feature-propagation:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: run zepter
run: |
cargo install zepter -f --locked
zepter --version
time zepter run check

typos-check:
name: TyposCheck
Expand All @@ -102,6 +117,5 @@ jobs:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.22.7
with:
config: ./Typos.toml
config: ./typos.toml
isolated: true

8 changes: 2 additions & 6 deletions .github/workflows/ethereum-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,11 @@ jobs:
ethtests/LegacyTests/Constantinople/GeneralStateTests/ \
ethtests/EIPTests/StateTests/stEIP1153-transientStorage/ \
ethtests/EIPTests/StateTests/stEIP4844-blobtransactions/ \
ethtests/EIPTests/StateTests/stEIP2537/ \
ethtests/EIPTests/StateTests/stEOF \
tests/eof_suite/eest/state_tests \
tests/eof_suite/evmone/state_tests \
tests/prague_suite/state_tests
tests/pectra/state_tests/prague
- 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
tests/eof_suite/eest/eof_tests/osaka

6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ pkg/
bins/revme/temp_folder
bins/revme/tests
ethereumjs-util.js
book

# Generated by the block traces example
traces
Expand All @@ -19,3 +18,8 @@ burntpix/svgs

# Rust bug report
rustc-ice-*

# book output of README.md generated by `mdbook serve book`
/book/book
/book/cache.json
/index.html
Loading
Loading