Skip to content

merge: upstream v1.2.0 merge v2 #140

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 1,780 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1780 commits
Select commit Hold shift + click to select a range
478f4e5
feat(engine): allow to override has_enough_parallelism (#14608)
fgimenez Feb 21, 2025
b3bd69b
feat(root): metrics and logs for state root config (#14631)
shekhirin Feb 21, 2025
74a1151
feat: integrate `TxEnv` conversions (#14630)
klkvr Feb 21, 2025
d77c606
Changed "match" to "if let some" to fix build errors (#14637)
PoulavBhowmick03 Feb 21, 2025
ae96ee9
feat(trie): add sparse trie Display impl (#14544)
Rjected Feb 21, 2025
2101ae8
Feat: Introduce db_models crate into storage-api crate and update imp…
frankudoags Feb 21, 2025
25db3b1
chore: add required rand feature for test (#14644)
mattsse Feb 21, 2025
9cb2a1e
Extracted TransactionsManagerConfig creation as a standalone function…
PoulavBhowmick03 Feb 22, 2025
5c8a0a1
chore: allow new advisory (#14650)
mattsse Feb 22, 2025
40364d5
Relax EngineApi ExecutionData bounds (#14648)
yohkaz Feb 22, 2025
ea68078
chore: rm clone for bincodecompat receipt (#14628)
mattsse Feb 22, 2025
fa761f3
Correcting Verb Form in Headers Downloader and Stage Documentation (…
NeoByteXx Feb 22, 2025
107ab4f
feat: Add withdrawals support to debug build-block command (#14493)
avorylli Feb 22, 2025
d39e24d
feat(trie): parallel proof metrics (#14633)
shekhirin Feb 22, 2025
f0c9ca6
Removed unused BlockBatchRecord type (#14659)
SoarinSkySagar Feb 22, 2025
4ada153
chore(deps): weekly `cargo update` (#14663)
github-actions[bot] Feb 23, 2025
c72731e
feat(op-pool-tx): add new field to store encoded 2718 bytes (#14665)
lean-apple Feb 24, 2025
33443de
Make PayloadOrAttributes generic over ExecutionData (#14666)
yohkaz Feb 24, 2025
426f144
Add RLP encoding/decoding for RawCapabilityMessage (#14638) (#14661)
zxewbzh Feb 24, 2025
8223a0d
fix: dead link txn_manager.rs (#14670)
hunterfarq Feb 24, 2025
480c33f
chore(hive): fix eest limit filtering (#14671)
fgimenez Feb 24, 2025
340d7ba
refactor: merge signed tx traits (#14622)
lean-apple Feb 24, 2025
434ee6b
chore(ci): remove batcher extra param from kurtosis op network config…
fgimenez Feb 24, 2025
64f639a
feat(storage): log revert state outcome in consistent view (#14684)
shekhirin Feb 24, 2025
6074d8d
chore(sdk): Complete adapters for `NodePrimitives` ATs (#14672)
emhane Feb 24, 2025
38808e1
Disable default features for tracing #14526 (#14530)
Ayushdubey86 Feb 24, 2025
a18b0fc
Implement ExecutionPayload for OpExecutionData (#14682)
yohkaz Feb 24, 2025
c40d059
refactor: implement `BlockExecutionStrategyFactory` directly on `EvmC…
klkvr Feb 24, 2025
ee7e3fe
feat: re-introduce `debug.reorg` logic (#14676)
klkvr Feb 24, 2025
4204b99
feat: add helper for RecoveredBlock::clone_transactions_recovered (#1…
mattsse Feb 25, 2025
7267395
chore: use `rx` over `tx` for receiver name (#14693)
hai-rise Feb 25, 2025
84ef51f
remove needlessness async block and await op (#14694)
Pana Feb 25, 2025
cf73f6e
feat(l2-withdrawals): Verify l2 withdrawals root in `PayloadValidator…
emhane Feb 25, 2025
0174d93
chore: fixed duplicate phrase issue in block description (#14698)
0xwitty Feb 25, 2025
e35d9ba
correction / fix comments (#14573)
eeemmmmmm Feb 25, 2025
26ad962
refactor(engine-api): change payload fn arg with `ExecutionPayload` (…
lean-apple Feb 25, 2025
75ca54b
Refactor Session Management and Improve Documentation (#14707)
kilavvy Feb 25, 2025
77aa17f
refactor: introduce `BasicPayloadServiceBuilder` (#14700)
klkvr Feb 25, 2025
c7a1356
Added 0x prefix to all hex, macros and b256 (#14711)
PoulavBhowmick03 Feb 26, 2025
1809ee5
Add Clonable Error Handling to ProviderError Enum (#14712)
vtjl10 Feb 26, 2025
5b19846
feat: extract insert_state to ProviderCaches (#14714)
mattsse Feb 26, 2025
bb13be4
chore: always set mint in deposit tx receipt (#14716)
mattsse Feb 26, 2025
0c96a23
fix: fix log key format for target_block_number argument (#14699)
hexcow Feb 26, 2025
4ab2254
feat(tree): state root task multiproof metrics (#14534)
shekhirin Feb 26, 2025
256351d
feat: allow applying overrides for non-`CacheDB` databases (#14713)
klkvr Feb 26, 2025
f94f37e
fix: correctly set txtype for `eth_call` (#14727)
klkvr Feb 26, 2025
009b092
feat: Avoid propagating transactions with conditionals, closes #14706…
JackG-eth Feb 26, 2025
97bc361
feat(engine): Op engine capabilities (#14733)
emhane Feb 26, 2025
60c79a9
chore(storage): cleanup consistent view revert state checks (#14734)
shekhirin Feb 26, 2025
5072bd7
feat(reth-bench): generic transactions for send-payload commands (#14…
shekhirin Feb 26, 2025
1e48668
feat: allow to transfer Executor accross threads (#14728)
leruaa Feb 26, 2025
d291d52
feat(op): add builder methods for tx conditional and pool overrides (…
Rjected Feb 27, 2025
4565cda
chore(deps): avoid duplicate crates (#14681)
rex4539 Feb 27, 2025
80250f0
refactor(e2e): do not use `EngineApiClient` (#14739)
klkvr Feb 27, 2025
9216247
feat(grafana): human-readable job variable selector (#14719)
shekhirin Feb 27, 2025
b4d1c85
feat(trie): `HashedPostState::multi_proof_targets` (#14747)
rkrasiuk Feb 27, 2025
e50287b
refactor: extract api trait methods into metered methods (#14740)
caglaryucekaya Feb 27, 2025
cbf3155
chore(trie): convert `MultiProofTargets` into unit struct (#14748)
rkrasiuk Feb 27, 2025
b2ead06
feat: pending block support in `BlockExecutionStrategyFactory` (#14730)
klkvr Feb 27, 2025
90f3502
fix(grafana): use correct datasource in variables (#14752)
shekhirin Feb 27, 2025
08aee60
feat: add helper conversion from revm Account (#14750)
mattsse Feb 27, 2025
e92a6a3
refactor: introduce payload processor (#14589)
mattsse Feb 27, 2025
bdc3b1b
feat: `DebugNodeLauncher` (#14738)
klkvr Feb 27, 2025
0dab166
chore: simplify provider builder setup (#14756)
mattsse Feb 27, 2025
3ec3eb2
chore: small `NodeBuilder` simplification (#14755)
klkvr Feb 27, 2025
7d3da7f
chore(tree): report prewarm metrics (#14759)
shekhirin Feb 27, 2025
2e54215
chore(deps): Bump msrv (#14724)
emhane Feb 27, 2025
70e31f1
chore(tree): remove old `insert_block_inner` method (#14754)
shekhirin Feb 27, 2025
1cb5628
chore: fix examples lint not running in ci (#14760)
DaniPopes Feb 27, 2025
b61fa52
chore(deps): Use async closure in `bin` crates (#14725)
emhane Feb 27, 2025
feab73a
feat(trie): utility methods for getting difference for `MultiProofTar…
rkrasiuk Feb 27, 2025
72d21c1
fix: no-std for op crates (#14762)
klkvr Feb 27, 2025
ca4a618
Modified op-reth to always use all OP bootnodes when none are explici…
Ayushdubey86 Feb 27, 2025
bdb35ae
fix(tree): state root task duration (#14763)
shekhirin Feb 27, 2025
9ca3bc2
chore: use block fn directly (#14765)
mattsse Feb 27, 2025
dad7d80
fix: sepolia paris block (#14766)
klkvr Feb 27, 2025
8f80314
fix incorrect async func LaunchContextWith::with_resolved_peers; (#14…
suzp1984 Feb 28, 2025
9f3041c
User receipt Serdebincodecompat for chain type serde (#14669)
Haxry Feb 28, 2025
a1ca8d4
remove Option on is_paris_activated call (#14771)
programskillforverification Feb 28, 2025
6abe440
test(tree): move state root task test to payload processor (#14772)
shekhirin Feb 28, 2025
ffabf7e
feat(isthmus): Integrate `OpExecutionPayloadValidator` (#14207)
emhane Feb 28, 2025
732e3de
feat: add rlp support for snap message types (#14718)
lean-apple Feb 28, 2025
6ce459a
chore(payload): Move `ExecutionPayloadValidator` into `reth-ethereum-…
emhane Feb 28, 2025
6758612
chore(sdk): clean up op engine caps (#14775)
emhane Feb 28, 2025
bffdda4
Stateful overridable handshake (#14567)
loocapro Feb 28, 2025
ba2797c
refactor(tree): remove `root.rs` (#14778)
shekhirin Feb 28, 2025
10bad4c
fix broken link (#14768)
Pana Mar 1, 2025
62821fb
Add pools evicted transactions metrics (#13946)
yohkaz Mar 1, 2025
64cc11e
Add dedicated Optimism Storage impl (#14654)
programskillforverification Mar 1, 2025
5f05d52
chore(sdk): Use `EthApiBuilder` instead of `FnOnce` trait (#14442)
emhane Mar 1, 2025
889aebe
chore(ci): unpin op-geth for kurtosis-op (#14781)
fgimenez Mar 1, 2025
0389c87
feat: Feature gate traits inside storage-api that still depend on db-…
frankudoags Mar 1, 2025
ce6bf9a
chore(deps): weekly `cargo update` (#14785)
github-actions[bot] Mar 2, 2025
fa22b26
chore: use interop timestamp (#14782)
mattsse Mar 2, 2025
c701bba
refactor LaunchContext::with function. (#14792)
suzp1984 Mar 3, 2025
b36088d
chore: allow result too large (#14795)
mattsse Mar 3, 2025
3c139a4
Fixed grammatical errors, typos, and spelling mistakes (#14796)
Hopium21 Mar 3, 2025
18de3eb
chore: misc tree (#14797)
mattsse Mar 3, 2025
e614837
feat(reth-ipc): add request_timeout to client builder (#14788)
benluelo Mar 3, 2025
e0518e1
fix(tree): use only in-memory blocks when constructing trie input (#1…
shekhirin Mar 3, 2025
6a4a1e1
Feat: add a `discv4` test to verify the bootnode event behaviour (#14…
startup-dreamer Mar 3, 2025
4892a0c
fix: sepolia paris block (#14766)
klkvr Feb 27, 2025
baf5dcc
chore: release 1.2.1
mattsse Mar 3, 2025
7413f11
feat: `ConfigureEvm::NextBlockEnvCtx` (#14801)
klkvr Mar 3, 2025
7ba701a
docs: typos (#14806)
shekhirin Mar 3, 2025
2e347e7
fix: no-std for storage-api (#14810)
klkvr Mar 3, 2025
8ac42a0
fix: correctly prune `HeaderNumbers` (#14812)
klkvr Mar 3, 2025
54485df
refactor: move isthmus helpers to reth-optimism-consensus (#14811)
klkvr Mar 3, 2025
6b602f4
Added engine_getBlobV1 metrics in grafana dashboard (#14732)
Ayushdubey86 Mar 4, 2025
c0d624c
chore: ignore flaky bsc p2p test (#14818)
mattsse Mar 4, 2025
6bd8647
chore: ignore ethereum-tests in local codespell check (#14815)
Rjected Mar 4, 2025
4b6c7d0
feat(net): `ress` subprotocol (#14687)
rkrasiuk Mar 4, 2025
08a7c52
fix: only check for best block number (#14822)
mattsse Mar 4, 2025
060f0b1
fix: use txpool.lifetime in pool maintainer correctly (#14823)
mkykadir Mar 4, 2025
e7fd146
feat: e2e testsuite actions (#14773)
fgimenez Mar 4, 2025
916b241
fix: filter for more events when watching `StaticFileProvider` direct…
joshieDo Mar 4, 2025
6368a30
chore(hive): run devp2p/eth tests (#14826)
fgimenez Mar 4, 2025
2eab458
feat: `BlockAssember` + `BlockBuilder` (#14808)
klkvr Mar 4, 2025
7b2f889
fix: correctly configure `extraData` for Ethereum blocks (#14831)
klkvr Mar 4, 2025
fb24454
fix: apply eip2935 for op (#14832)
mattsse Mar 4, 2025
8ddd8d6
refactor: remove `Primitives` AT from `BlockExecutionStrategy` (#14833)
klkvr Mar 4, 2025
0441f3a
Fix: Increase gas limit in chain config (#14830)
akshay-ap Mar 4, 2025
3036053
feat(tree): multiproof manager metrics (#14819)
shekhirin Mar 5, 2025
18b71d9
refactor: prepare EthereumHardforks for move to alloy-evm (#14835)
klkvr Mar 5, 2025
80e86aa
fix: filter by deposit signature hash (#14841)
mattsse Mar 5, 2025
40b3c67
fix: filter by deposit signature hash (#14841)
mattsse Mar 5, 2025
2f4c509
release: v1.2.2
mattsse Mar 5, 2025
fa41b86
fix(l2-withdrawals-root): Compute op devnet genesis hash from genesis…
emhane Mar 5, 2025
29e5c75
Added 0x prefix (#14843)
maximevtush Mar 5, 2025
cb917c5
refactor: use tokio to fetch storage proofs (#14838)
mattsse Mar 5, 2025
d585730
fix(eth_callBundle): Fix ethSentToCoinbase calculation (#14816)
ryanschneider Mar 5, 2025
82b1676
chore: bump version 1.2.2 (#14846)
mattsse Mar 5, 2025
fa70827
fix(l2-withdrawals-root): Fix genesis hash for custom op chain (#14845)
emhane Mar 5, 2025
afb071a
fix(rpc) enforce limit on reward percentiles (#14847)
mattsse Mar 5, 2025
b67bd2d
invoke on_unsupported_by_peer of ConnectionHandler (#14411)
int88 Mar 5, 2025
3f27729
test: partially tx response for tx fetcher (#14817)
int88 Mar 5, 2025
df18ded
fix(mev_simBundle): log at trace rather than info level (#14852)
ryanschneider Mar 5, 2025
a308032
feat: configuration of the tokio runtime (#14837)
bsh98 Mar 5, 2025
5576a7d
feat: integrate alloy-hardforks (#14853)
klkvr Mar 5, 2025
7491307
feat: add validate known account to optimism rpc (#14851)
Touutae-labs Mar 5, 2025
56342a2
chore: auto_impl TrieCursorFactory for reference (#14856)
Rjected Mar 5, 2025
5c7ba5c
Added 0x prefix to transaction hash test values (#14854)
maximevtush Mar 5, 2025
6e125ce
refactor: prepare BlockExecutionError for move to alloy-evm (#14857)
klkvr Mar 5, 2025
e5720e6
chore: bump alloy-evm and revm (#14855)
klkvr Mar 6, 2025
b8fa08f
chore: remove StateRoot variant from BlockValidationError (#14858)
klkvr Mar 6, 2025
42c8706
chore(primitives-traits): remove duplicate IntoIterator bounds in gen…
cakevm Mar 6, 2025
e212a25
modified get_sealed_block_with_senders() to get_recovered_block_with_…
Soubhik-10 Mar 6, 2025
5ce2716
chore: add 0x prefix to `b256!` and `address!` calls (#14871)
shekhirin Mar 6, 2025
5d237fc
feat: add helper for eth body conversion (#14864)
mattsse Mar 6, 2025
30eab29
fix(l2-withdrawals-root): isthmus header custom genesis (#14875)
emhane Mar 6, 2025
53e72c8
changed sealed_block_with_senders_range() into recovered_block_range(…
Soubhik-10 Mar 6, 2025
17d33c0
chore(deps): Bump op-alloy (#14882)
emhane Mar 6, 2025
a765af9
perf(tree): chunk multiproofs (#14800)
shekhirin Mar 6, 2025
333d1a7
feat: don't include operator fee params in receipts when both zero (#…
leruaa Mar 6, 2025
3536be5
chore: update advisories (#14889)
mattsse Mar 7, 2025
7b9470e
chore: bump alloy 0.12 (#14891)
mattsse Mar 7, 2025
4f4db67
feat(trie): update sparse trie storage roots independently (#14874)
shekhirin Mar 7, 2025
771cd3c
chore: impl encodable for tx (#14893)
mattsse Mar 7, 2025
493011e
changed block_with_senders() to recovered_block() (#14894)
Soubhik-10 Mar 7, 2025
fb0cd62
fix: generate-jwt.sh dir with whitespace (#14896)
michprev Mar 7, 2025
c3c152f
replace reth-primitives deps in txpool with reth-primitives-traits (#…
VeerChaurasia Mar 7, 2025
e05574f
chore(ci): Remove redundant licenses from allow list (#14903)
emhane Mar 7, 2025
c1a255a
chore: replace withencoded with alloy's (#14905)
mattsse Mar 7, 2025
c6c7870
chore: add FactoryTx<F> for getting tx associated types (#14909)
Rjected Mar 8, 2025
dcddbe4
docs: correct activation note (#14910)
mattsse Mar 8, 2025
31697e5
chore: Add 0x prefix and use macro if possible (#14907)
cakevm Mar 8, 2025
a9fee96
chore: remove reth-primitives dep from evm (#14911)
mattsse Mar 8, 2025
a870ac4
chore: remove reth-primitives dep from consensus-common (#14912)
mattsse Mar 8, 2025
d1f625f
chore: bump alloy-evm (#14917)
klkvr Mar 8, 2025
857b069
chore: remove reth-primitives dep from op rpc (#14915)
mattsse Mar 8, 2025
a1ca2de
feat: implement InMemorySize for TxEnvelope and OpTxEnvelope #14913 (…
vineetpant Mar 9, 2025
91eb292
refactor: unify EVM traits (#14920)
klkvr Mar 10, 2025
141b845
chore: remove reth-primitives dep from chain-state (#14914)
mattsse Mar 10, 2025
bda2852
chore: remove reth-primitives dep from commands (#14919)
mattsse Mar 10, 2025
4ecbe19
feat: add bincode support to opreceipt (#14872)
mattsse Mar 10, 2025
7c52e6c
fix: clear tree state on unwind (#14866)
mattsse Mar 10, 2025
b7c8245
feat(op, txpool): introduce OpPooledTx trait (#14926)
fgimenez Mar 10, 2025
4bdbb3c
fix: disable not only if requested (#14927)
mattsse Mar 10, 2025
d9a00b8
feat/emit better payload events (#14923)
0xMelkor Mar 10, 2025
7300872
feat: implement compact for alloy ethereum transaction (#14908)
stevencartavia Mar 10, 2025
60a9b27
fix: exex head ahead of host (#14001)
mattsse Mar 10, 2025
3c12ec3
chore: enable revm portable feature by default for binaries (#14931)
Rjected Mar 10, 2025
38fc49f
add nightly builds (#14934)
laibe Mar 10, 2025
c0a4c3b
feat(ress): limit active connections (#14928)
rkrasiuk Mar 10, 2025
d616096
chore: simplify `NodePrimitives` bounds (#14936)
klkvr Mar 10, 2025
bd81f69
Add other variant on Block import err (#14938)
loocapro Mar 10, 2025
4c6dce3
chore: simplify rpc tx conversion (#14736)
mattsse Mar 10, 2025
0ddb4ed
chore: enable revm portable by default for op-reth (#14937)
Rjected Mar 10, 2025
f91e8ca
Parse L1 block values in Interop fork (#14869)
ferranbt Mar 10, 2025
f880626
chore: use B256 Display for state root test assertion (#14943)
Rjected Mar 10, 2025
e5a8016
chore: bump alloy-chains (#14944)
klkvr Mar 10, 2025
f9d2e10
chore: rm rpc conversion types (#14942)
mattsse Mar 10, 2025
536b162
chore(`SessionManager`): send message without `&mut self` requirement…
hai-rise Mar 11, 2025
8b391b9
ci: allow unmaintained humantime (#14950)
mattsse Mar 11, 2025
7503263
chore: remove commented SparseTrieEvent (#14946)
Rjected Mar 11, 2025
1740903
fix(docker-nightly) use cross main (#14948)
laibe Mar 11, 2025
aaae309
chore: bump revm (#14947)
klkvr Mar 11, 2025
4ed2337
chore: feature propagation (#14951)
mattsse Mar 11, 2025
eaa45ab
test: complete mine block test in e2e testsuite (#14849)
fgimenez Mar 11, 2025
e536fbc
fix: call validate_execution_requests from validate_version_specific_…
fgimenez Mar 11, 2025
cdc6136
chore: reorder trait impl fns (#14956)
mattsse Mar 11, 2025
e5615d0
chore: rm reth-prmitives from rpc (#14957)
mattsse Mar 11, 2025
4920ad6
chore: Use cargo-chef to build the hivetests docker image (#14884)
janjakubnanista Mar 11, 2025
707c621
chore: remove reth-primitives dep from eth api (#14958)
mattsse Mar 11, 2025
5fba223
Update metrics.md (#14813)
jenpaff Mar 11, 2025
73fdf89
chore: bump revm (#14954)
klkvr Mar 11, 2025
a093462
chore: rm reth-prmitives from rpc builder (#14966)
mattsse Mar 11, 2025
98f51f4
chore: rm reth-prmitives from rpc compat (#14965)
mattsse Mar 11, 2025
a4fa9e6
chore: remove reth-primitives dep db crates (#14968)
mattsse Mar 11, 2025
cabe7b4
chore: add sparse trie logs with time elapsed (#14967)
Rjected Mar 12, 2025
88f4336
chore: rm reth-prmitives from e2eutils (#14971)
mattsse Mar 12, 2025
0e38286
chore: rm reth-prmitives from stages (#14970)
mattsse Mar 12, 2025
d3b2997
chore: rm reth-prmitives from ethereum crates (#14972)
mattsse Mar 12, 2025
aac3a6e
chore: add` From<BlockExecutionError> for PayloadBuilderError` (#14973)
klkvr Mar 12, 2025
b968fa0
feat: integrate ress (#14959)
rkrasiuk Mar 12, 2025
523dcfd
chore: bump alloy 0.12.5 (#14976)
mattsse Mar 12, 2025
1d7028b
feat(optimism): enable state root task by default (#14977)
shekhirin Mar 12, 2025
4cd46f8
Bump vergen to 9.0 #14904 (#14940)
Ayushdubey86 Mar 12, 2025
78a9bc6
use cross main in docker-git and docker instead of taiki-e action (#1…
laibe Mar 12, 2025
3ac87fd
chore: bump alloy-trie (#14983)
mattsse Mar 12, 2025
080f92e
chore: add ress code owner (#14985)
rkrasiuk Mar 12, 2025
1b5fe70
docs(ress): fix witness format (#14984)
rkrasiuk Mar 12, 2025
e9a9a3f
chore: bump revm (#14988)
klkvr Mar 12, 2025
f3a9ba6
chore: blanket implementation for `OpPooledTx` (#14990)
klkvr Mar 12, 2025
f5dddff
chore: bump version 1.3.0 (#14986)
mattsse Mar 12, 2025
20bbdd7
Chore: move tree config from engine-tree to engine-primitives (#14890)
startup-dreamer Mar 12, 2025
93e180c
meta: install cross from main for release (#14992)
mattsse Mar 12, 2025
cd31c32
meta: bump rust version for reproducible build (#14991)
mattsse Mar 12, 2025
490bd15
meta: bump ubuntu for release (#14994)
mattsse Mar 12, 2025
2818a16
meta: downgrade ubuntu for windows (#14995)
mattsse Mar 12, 2025
ccc932b
deps: downgrade cc to 1.2.15 (#14996)
rkrasiuk Mar 12, 2025
aef4427
Revert "meta: downgrade ubuntu for windows" (#14998)
mattsse Mar 12, 2025
972d8b2
chore: add workflow for building binaries (#14999)
Rjected Mar 12, 2025
a38c991
fix: use clang v10 (#15000)
Rjected Mar 12, 2025
4334869
resolve conflicts
allnil Mar 21, 2025
a5686d1
merge
allnil Mar 24, 2025
0d838a6
merge v1.2.2
allnil Mar 24, 2025
22a54ad
merge
allnil Mar 24, 2025
34f79d8
chore: clean
allnil Mar 25, 2025
e2fa676
remove op crate
allnil Apr 17, 2025
29f0724
save some progress
allnil Apr 17, 2025
3f2ab45
Merge branch 'merge/upstream-v1.2.0-merge-v2' of github.com:weaveVM/w…
allnil Apr 17, 2025
c33c750
comment, remove
allnil Apr 17, 2025
173b54c
up
allnil Apr 17, 2025
e76edc7
portion of updates
allnil Apr 18, 2025
3abd9a6
feature: save progress, work on precompiles
allnil Apr 24, 2025
a4da81c
chore: fmt
allnil Apr 24, 2025
05a3628
feat: prepare a custom evm crate
allnil Apr 25, 2025
172de28
fix: fix types of precompiles
allnil Apr 25, 2025
a0d2e69
feat: finally builds
allnil Apr 30, 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
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ rustflags = [
# in line with Linux (whereas default for Windows is 1MB)
"-Clink-arg=/STACK:10000000",
]

[features]
default = ["ethereum"]
9 changes: 5 additions & 4 deletions .config/zepter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ workflows:
# Check that `A` activates the features of `B`.
"propagate-feature",
# These are the features to check:
"--features=std,optimism,dev,asm-keccak,jemalloc,jemalloc-prof,tracy-allocator,serde-bincode-compat,serde,test-utils,arbitrary,bench",
# 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.
"--features=std,op,dev,asm-keccak,jemalloc,jemalloc-prof,tracy-allocator,serde-bincode-compat,serde,test-utils,arbitrary,bench,alloy-compat",
# Do not try to add a new section to `[features]` of `A` only because `B` exposes 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",
# Auxillary flags:
# Auxiliary flags:
"--offline",
"--locked",
"--show-path",
Expand All @@ -32,7 +33,7 @@ help:
text: |
Reth uses the Zepter CLI to detect abnormalities in Cargo features, e.g. missing propagation.

It looks like one more more checks failed; please check the console output.
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:
Expand Down
21 changes: 11 additions & 10 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
bin/ @onbjerg
crates/blockchain-tree/ @rakita @rkrasiuk @mattsse @Rjected
crates/blockchain-tree-api/ @rakita @rkrasiuk @mattsse @Rjected
crates/chainspec/ @Rjected @joshieDo @mattsse @emhane
crates/chainspec/ @Rjected @joshieDo @mattsse
crates/chain-state/ @fgimenez @mattsse @rkrasiuk
crates/cli/ @onbjerg @mattsse
crates/config/ @onbjerg
Expand All @@ -16,18 +16,18 @@ crates/ethereum-forks/ @mattsse @Rjected
crates/etl/ @joshieDo @shekhirin
crates/evm/ @rakita @mattsse @Rjected
crates/exex/ @onbjerg @shekhirin
crates/fs-util/ @onbjerg @emhane
crates/fs-util/ @onbjerg
crates/metrics/ @onbjerg
crates/net/ @emhane @mattsse @Rjected
crates/net/downloaders/ @onbjerg @rkrasiuk @emhane
crates/node/ @mattsse @Rjected @onbjerg
crates/optimism/ @mattsse @Rjected @fgimenez @emhane
crates/net/ @mattsse @Rjected
crates/net/downloaders/ @onbjerg @rkrasiuk
crates/node/ @mattsse @Rjected @onbjerg @klkvr
crates/optimism/ @mattsse @Rjected @fgimenez
crates/payload/ @mattsse @Rjected
crates/primitives/ @Rjected
crates/primitives-traits/ @Rjected @joshieDo
crates/primitives/ @Rjected @mattsse @klkvr
crates/primitives-traits/ @Rjected @joshieDo @mattsse @klkvr
crates/prune/ @shekhirin @joshieDo
crates/revm/ @mattsse @rakita
crates/rpc/ @mattsse @Rjected @emhane
crates/rpc/ @mattsse @Rjected
crates/stages/ @onbjerg @rkrasiuk @shekhirin
crates/static-file/ @joshieDo @shekhirin
crates/storage/codecs/ @joshieDo
Expand All @@ -40,9 +40,10 @@ crates/storage/nippy-jar/ @joshieDo @shekhirin
crates/storage/provider/ @rakita @joshieDo @shekhirin
crates/storage/storage-api/ @joshieDo @rkrasiuk
crates/tasks/ @mattsse
crates/tokio-util/ @fgimenez @emhane
crates/tokio-util/ @fgimenez
crates/tracing/ @onbjerg
crates/transaction-pool/ @mattsse
crates/trie/ @rkrasiuk @Rjected @shekhirin
crates/ress @rkrasiuk
etc/ @Rjected @onbjerg @shekhirin
.github/ @onbjerg @gakonst @DaniPopes
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ body:
- Mac (Apple Silicon)
- Windows (x86)
- Windows (ARM)
- type: dropdown
id: container_type
attributes:
label: Container Type
description: Were you running it in a container?
multiple: true
options:
- Not running in a container
- Docker
- Kubernetes
- LXC/LXD
- Other
validations:
required: true
- type: textarea
Expand Down
82 changes: 82 additions & 0 deletions .github/assets/check_rv32imac.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
#!/usr/bin/env bash
set +e # Disable immediate exit on error

# Array of crates to check
crates_to_check=(
reth-codecs-derive
reth-primitives-traits
reth-network-peers
reth-trie-common
reth-chainspec
reth-consensus
reth-consensus-common
reth-prune-types
reth-static-file-types
reth-storage-errors
reth-execution-errors
reth-execution-types
reth-db-models
reth-evm
reth-storage-api

## ethereum
reth-evm-ethereum
reth-ethereum-forks
reth-ethereum-primitives

## optimism
reth-optimism-chainspec
reth-optimism-forks
reth-optimism-consensus
reth-optimism-primitives
reth-optimism-evm
)

# Array to hold the results
results=()
# Flag to track if any command fails
any_failed=0

for crate in "${crates_to_check[@]}"; do
cmd="cargo +stable build -p $crate --target riscv32imac-unknown-none-elf --no-default-features"

if [ -n "$CI" ]; then
echo "::group::$cmd"
else
printf "\n%s:\n %s\n" "$crate" "$cmd"
fi

set +e # Disable immediate exit on error
# Run the command and capture the return code
$cmd
ret_code=$?
set -e # Re-enable immediate exit on error

# Store the result in the dictionary
if [ $ret_code -eq 0 ]; then
results+=("1:✅:$crate")
else
results+=("2:❌:$crate")
any_failed=1
fi

if [ -n "$CI" ]; then
echo "::endgroup::"
fi
done

# Sort the results by status and then by crate name
IFS=$'\n' sorted_results=($(sort <<<"${results[*]}"))
unset IFS

# Print summary
echo -e "\nSummary of build results:"
for result in "${sorted_results[@]}"; do
status="${result#*:}"
status="${status%%:*}"
crate="${result##*:}"
echo "$status $crate"
done

# Exit with a non-zero status if any command fails
exit $any_failed
19 changes: 8 additions & 11 deletions .github/assets/check_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@ crates=($(cargo metadata --format-version=1 --no-deps | jq -r '.packages[].name'
# Used with the `contains` function.
# shellcheck disable=SC2034
exclude_crates=(
# The following are not working yet, but known to be fixable
reth-exex-types # https://github.com/paradigmxyz/reth/issues/9946
# The following require investigation if they can be fixed
reth-auto-seal-consensus
reth-basic-payload-builder
reth-beacon-consensus
reth-bench
reth-blockchain-tree
reth-chain-state
reth-cli
reth-cli-commands
reth-cli-runner
Expand All @@ -27,13 +21,11 @@ exclude_crates=(
reth-dns-discovery
reth-downloaders
reth-e2e-test-utils
reth-engine-primitives
reth-engine-service
reth-engine-tree
reth-engine-util
reth-eth-wire
reth-ethereum-cli
reth-ethereum-engine-primitives
reth-ethereum-payload-builder
reth-etl
reth-exex
Expand All @@ -42,7 +34,6 @@ exclude_crates=(
reth-net-nat
reth-network
reth-node-api
reth-node-types
reth-node-builder
reth-node-core
reth-node-ethereum
Expand All @@ -52,8 +43,8 @@ exclude_crates=(
reth-optimism-node
reth-optimism-payload-builder
reth-optimism-rpc
reth-payload-builder
reth-payload-primitives
reth-optimism-storage
reth-optimism-chain-registry
reth-rpc
reth-rpc-api
reth-rpc-api-testing-util
Expand All @@ -64,17 +55,23 @@ exclude_crates=(
reth-rpc-layer
reth-stages
reth-engine-local
reth-ress-protocol
reth-ress-provider
# The following are not supposed to be working
reth # all of the crates below
reth-invalid-block-hooks # reth-provider
reth-libmdbx # mdbx
reth-mdbx-sys # mdbx
reth-payload-builder # reth-metrics
reth-provider # tokio
reth-prune # tokio
reth-stages-api # reth-provider, reth-prune
reth-static-file # tokio
reth-transaction-pool # c-kzg
reth-payload-util # reth-transaction-pool
reth-trie-parallel # tokio
reth-testing-utils
reth-optimism-txpool # reth-transaction-pool
)

# Array to hold the results
Expand Down
60 changes: 57 additions & 3 deletions .github/assets/hive/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,62 @@
FROM ubuntu
# syntax=docker.io/docker/dockerfile:1.7-labs

COPY dist/reth /usr/local/bin
#
# We'll use cargo-chef to speed up the build
#
FROM lukemathwalker/cargo-chef:latest-rust-1 AS chef
WORKDIR /app

# Install system dependencies
RUN apt-get update && apt-get -y upgrade && apt-get install -y libclang-dev pkg-config

#
# We prepare the build plan
#
FROM chef AS planner

ARG CARGO_BIN

COPY --exclude=.git --exclude=dist . .
RUN cargo chef prepare --recipe-path recipe.json --bin ${CARGO_BIN}

#
# And build the app
#
FROM chef AS builder
WORKDIR /app

ARG CARGO_BIN
ARG BUILD_PROFILE=hivetests
ARG FEATURES=""
ARG MANIFEST_PATH=""

COPY --from=planner /app/recipe.json recipe.json

RUN cargo chef cook \
--profile $BUILD_PROFILE \
--bin $CARGO_BIN \
${FEATURES:+--features "$FEATURES"} \
${MANIFEST_PATH:+--manifest-path $MANIFEST_PATH} \
--recipe-path recipe.json

COPY --exclude=.git --exclude=dist . .
RUN cargo build \
--profile $BUILD_PROFILE \
--bin $CARGO_BIN \
${FEATURES:+--features "$FEATURES"} \
${MANIFEST_PATH:+--manifest-path $MANIFEST_PATH} \
--locked

#
# The runtime will then just use the build artifact without building anything
#
FROM ubuntu AS runtime

ARG CARGO_BIN

COPY --from=builder /app/target/hivetests/$CARGO_BIN /usr/local/bin/reth
COPY LICENSE-* ./

EXPOSE 30303 30303/udp 9001 8545 8546
ENTRYPOINT ["/usr/local/bin/reth"]
ENV RUST_LOG=debug
ENTRYPOINT ["/usr/local/bin/reth"]
5 changes: 3 additions & 2 deletions .github/assets/hive/build_simulators.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ go build .

# Run each hive command in the background for each simulator and wait
echo "Building images"
./hive -client reth --sim "pyspec" -sim.timelimit 1s || true &
./hive -client reth --sim "ethereum/eest" --sim.buildarg fixtures=https://github.com/ethereum/execution-spec-tests/releases/download/pectra-devnet-6%40v1.0.0/fixtures_pectra-devnet-6.tar.gz -sim.timelimit 1s || true &
./hive -client reth --sim "ethereum/engine" -sim.timelimit 1s || true &
./hive -client reth --sim "devp2p" -sim.timelimit 1s || true &
./hive -client reth --sim "ethereum/rpc-compat" -sim.timelimit 1s || true &
Expand All @@ -26,7 +26,8 @@ docker save hive/hiveproxy:latest -o ../hive_assets/hiveproxy.tar &
docker save hive/simulators/devp2p:latest -o ../hive_assets/devp2p.tar &
docker save hive/simulators/ethereum/engine:latest -o ../hive_assets/engine.tar &
docker save hive/simulators/ethereum/rpc-compat:latest -o ../hive_assets/rpc_compat.tar &
docker save hive/simulators/ethereum/pyspec:latest -o ../hive_assets/pyspec.tar &
docker save hive/simulators/ethereum/eest/consume-engine:latest -o ../hive_assets/eest_engine.tar &
docker save hive/simulators/ethereum/eest/consume-rlp:latest -o ../hive_assets/eest_rlp.tar &
docker save hive/simulators/smoke/genesis:latest -o ../hive_assets/smoke_genesis.tar &
docker save hive/simulators/smoke/network:latest -o ../hive_assets/smoke_network.tar &
docker save hive/simulators/ethereum/sync:latest -o ../hive_assets/ethereum_sync.tar &
Expand Down
24 changes: 11 additions & 13 deletions .github/assets/hive/expected_failures.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
# https://github.com/paradigmxyz/reth/issues/7015
# https://github.com/paradigmxyz/reth/issues/6332
# https://github.com/paradigmxyz/reth/issues/13879
rpc-compat:
- debug_getRawBlock/get-invalid-number (reth)
- debug_getRawHeader/get-invalid-number (reth)
- debug_getRawReceipts/get-invalid-number (reth)
- debug_getRawReceipts/get-block-n (reth)
- debug_getRawTransaction/get-invalid-hash (reth)

- eth_call/call-callenv (reth)
- eth_feeHistory/fee-history (reth)
- eth_getStorageAt/get-storage-invalid-key-too-large (reth)
- eth_getStorageAt/get-storage-invalid-key (reth)
- eth_getTransactionReceipt/get-access-list (reth)
- eth_getTransactionReceipt/get-blob-tx (reth)
- eth_getTransactionReceipt/get-dynamic-fee (reth)
- eth_getBlockByHash/get-block-by-hash (reth)
- eth_getBlockByNumber/get-block-n (reth)
- eth_getBlockByNumber/get-finalized (reth)
- eth_getBlockByNumber/get-genesis (reth)
- eth_getBlockByNumber/get-latest (reth)
- eth_getBlockByNumber/get-safe (reth)
- eth_getTransactionReceipt/get-legacy-contract (reth)
- eth_getTransactionReceipt/get-legacy-input (reth)
- eth_getTransactionReceipt/get-legacy-receipt (reth)

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
Expand Down Expand Up @@ -51,9 +47,11 @@ engine-cancun:
- Blob Transaction Ordering, Multiple Clients (Cancun) (reth)
- Invalid PayloadAttributes, Missing BeaconRoot, Syncing=True (Cancun) (reth)
- Invalid NewPayload, ExcessBlobGas, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, VersionedHashes Version, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, Incomplete VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, Extra VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)

sync: []

# no fix: it’s too expensive to check whether the storage is empty on each creation
eest/consume-engine:
- tests/prague/eip7702_set_code_tx/test_set_code_txs.py::test_set_code_to_non_empty_storage[fork_Prague-blockchain_test_engine-zero_nonce]-reth
eest/consume-rlp:
- tests/prague/eip7702_set_code_tx/test_set_code_txs.py::test_set_code_to_non_empty_storage[fork_Prague-blockchain_test-zero_nonce]-reth
Loading
Loading