Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
970 commits
Select commit Hold shift + click to select a range
42c24f0
refactor: unify code paths for receipts removal (#12887)
klkvr Nov 27, 2024
db9b86a
Upcast trait bound on `BlockBody::Transaction` to `SignedTransaction`…
emhane Nov 27, 2024
b62929c
feat: add engine validator addon (#12905)
mattsse Nov 27, 2024
533b555
feat: add `Receipt` AT to `ReceiptProvider` (#12890)
klkvr Nov 27, 2024
1131bde
feat(engine): proof fetching on state update for StateRootTask (#12458)
fgimenez Nov 27, 2024
7a6a725
feat: add `Receipt` AT to writer traits (#12892)
klkvr Nov 27, 2024
7a60530
fix: small db provider fixes (#12908)
klkvr Nov 27, 2024
26bfe7c
feat: `SparseStateTrie::reveal_multiproof` (#12909)
rkrasiuk Nov 27, 2024
f9ad3f8
chore: add fs-util::open (#12911)
mattsse Nov 27, 2024
2705e3a
feat: add helpers for opcode tracing (#12899)
mattsse Nov 27, 2024
2700db1
feat(trie): `SparseStateTrie::remove_storage_leaf` (#12912)
rkrasiuk Nov 27, 2024
00c5b69
feat: integrate node primitives in engine handler (#12914)
mattsse Nov 27, 2024
4724564
feat(trie): `SparseStateTrie::storage_trie_mut` (#12913)
rkrasiuk Nov 27, 2024
8d70e89
chore: pass generic header to validate_header_base_fee (#12921)
htiennv Nov 27, 2024
2179301
feat: add functions for env creation (#12928)
mattsse Nov 27, 2024
0df02ca
chore: pass generic header and body to validate_shanghai_withdrawals …
htiennv Nov 28, 2024
bb0bd77
chore: make generic data primitives TreeState (#12924)
htiennv Nov 28, 2024
a3eb302
chore: pass generic header to validate_header_gas (#12931)
0xMaze Nov 28, 2024
39e0573
chore: make generic header InvalidHeaderCache (#12940)
htiennv Nov 28, 2024
28ef574
feat(engine): integrate sparse trie into the state root task (#12907)
shekhirin Nov 28, 2024
064f939
perf(tree): reveal multiproof in tree task (#12949)
rkrasiuk Nov 28, 2024
b2e1da3
fix(tree): root task storage leaf removal (#12950)
rkrasiuk Nov 28, 2024
cbcf79a
chore(engine, state root task): remove unused StdReceiverStream struc…
fgimenez Nov 28, 2024
e9a6e45
feat(trie): `SparseStateTrie::update_account` (#12954)
rkrasiuk Nov 28, 2024
c274462
perf: use alloy hash map in trie related code (#12956)
rkrasiuk Nov 28, 2024
1d5bd46
chore: make op-node-testing- leaner (#12958)
mattsse Nov 28, 2024
eac02d9
fix(trie): always create empty storage multiproofs (#12915)
rkrasiuk Nov 28, 2024
8589503
feat(engine): use `SparseStateTrie::update_account` in state root tas…
shekhirin Nov 28, 2024
1210fd9
chore: make ethereum-node deps leaner (#12963)
mattsse Nov 28, 2024
8c86d63
perf(trie): avoid update reallocation & track wiped (#12929)
rkrasiuk Nov 28, 2024
e1b25c8
perf(tree): keep storage trie around for updates (#12971)
rkrasiuk Nov 28, 2024
55b758a
feat: generic data primitives EngineApiEvent (#12964)
hoank101 Nov 28, 2024
cca6372
feat: integrate type specific engine validator in tree service (#12952)
mattsse Nov 28, 2024
9f20ebc
refactor(tx-pool): add enum `InvalidKind` to `mark_invalid` (#12845)
lean-apple Nov 28, 2024
ca72d45
chore(engine): remove uneeded if (#12974)
fgimenez Nov 28, 2024
8e19455
fix: cap request gas limit in eth estimate (#12970)
mattsse Nov 28, 2024
856dc7d
ci: ignore ethereum crates for testing (#12976)
mattsse Nov 28, 2024
29d84e4
fix(tree): account info on state update in root task (#12978)
rkrasiuk Nov 28, 2024
aea5613
chore: lower tmp ban duration for trusted or static peers (#12961)
mattsse Nov 28, 2024
ae395e8
fix(engine): fetched proof targets in state root task (#12983)
shekhirin Nov 28, 2024
da53d76
perf(trie): init hashed storage only on existing **changed** slots (#…
rkrasiuk Nov 28, 2024
793fc23
fix: correctly poll `NetworkState` (#12973)
klkvr Nov 28, 2024
9fe459e
fix: disable state root calculation for eth_simulateV1 (#12993)
klkvr Nov 29, 2024
3f9816e
feat: integrate generic primitives into pruner (#12995)
klkvr Nov 29, 2024
599b808
feat(ci): add rv32im compilation checks (#12925)
zobront Nov 29, 2024
3b4edb0
feat: use generic `SignedTx` in `SenderRecoveryStage` (#12996)
klkvr Nov 29, 2024
39d4c1a
chore: use new payload validator in tree (#12987)
mattsse Nov 29, 2024
8590f7a
chore: remove redundant words in comment (#12997)
hishope Nov 29, 2024
fa9cabd
chore: acquire trace guard for eth_simulate_v1 (#12935)
mattsse Nov 29, 2024
b10f576
chore: make generic header consensus validation (#12965)
htiennv Nov 29, 2024
88bde87
chore: reduce reth-primitives usage in node-core (#13000)
mattsse Nov 29, 2024
37dca23
replace thiserror-no-std with thiserror (#12432)
stevencartavia Nov 29, 2024
4d65b2f
chore: misc raw message (#13006)
mattsse Nov 29, 2024
b6ba822
chore: disable serde-with default features (#13002)
mattsse Nov 29, 2024
a01e031
feat: add clone into consensus (#12999)
mattsse Nov 29, 2024
a8e2b77
chore(trie): sparse trie trace logs and assertion messages (#12969)
shekhirin Nov 29, 2024
1f1671a
feat: `SerdeBincodeCompat` trait (#12991)
klkvr Nov 29, 2024
b6b8c47
feat: on-disk reorg E2E test (#12977)
klkvr Nov 29, 2024
29289cc
feat: add `Primitives` AT to `BlockExecutorProvider` (#12994)
klkvr Nov 29, 2024
95b52b3
chore: relax pipeline bounds (#13011)
klkvr Nov 29, 2024
db6e5b5
feat: make js-tracer feature optional for node builder crate (#12178)
edisontim Nov 29, 2024
b10ffba
feat: add check empty when broadcasting transactions (#13008)
htiennv Nov 29, 2024
f689512
perf: remove clone in trie walker (#13004)
hai-rise Nov 29, 2024
7f11fa5
chore: relax block impl bounds (#13013)
mattsse Nov 29, 2024
b09c345
feat: add blob_gas_used to block body (#13012)
mattsse Nov 29, 2024
36eaf56
chore: add default for 2718 transactions (#13018)
mattsse Nov 29, 2024
aa93e7f
refactor: Make `BlockType` generic and relax implementations (#12955)
PanGan21 Nov 29, 2024
55ddaab
feat: make generic data primitives EvmEnvProvider (#12981)
htiennv Nov 29, 2024
5d71150
feat: consensus trait generic over NodePrimitives (#13026)
klkvr Nov 29, 2024
0ff2827
refactor: use is_none_or instead of map_or (#13035)
hoank101 Nov 30, 2024
489d4e8
feat(eecutor): send EvmState in state hook (#13025)
fgimenez Nov 30, 2024
e0cad9f
feat: generic data primitives PersistenceHandle (#12968)
hoank101 Nov 30, 2024
7353dc9
feat: generic receipt ExecuteOutput (#12966)
hoank101 Nov 30, 2024
9b1d676
feat: move eip1186 conversion helpers to reth-trie-common proofs (#12…
hoank101 Nov 30, 2024
00b3447
cachore: disable alloy-chains default features (#13039)
mattsse Nov 30, 2024
5a0b523
chore: remove rand feature (#13040)
mattsse Nov 30, 2024
ebd413f
feat: make `PersistenceAction` generic over `NodePrimitives` (#13019)
lean-apple Nov 30, 2024
4634625
feat: make ommers table generic over header (#13038)
klkvr Nov 30, 2024
3dc6f50
chore: disable alloy-rlp default features (#13042)
mattsse Nov 30, 2024
890f082
feat(rpc): create revm env on demand (#13017)
lakshya-sky Nov 30, 2024
7f88e62
feat: bump alloy (#12930)
klkvr Dec 2, 2024
3f93f35
feat: add `Header` AT to `EthChainSpec` (#13046)
klkvr Dec 2, 2024
c2ab690
feat: introduce EthMessage variant to NetworkHandleMessage (#13033)
tnv1 Dec 2, 2024
04f8c58
perf(trie): storage multiproof overallocation (#12959)
rkrasiuk Dec 2, 2024
ae3b3dd
chore: use alloy's blockwithparent (#13052)
mattsse Dec 2, 2024
b91d0f8
feat(trie): blinded node provider (#13027)
rkrasiuk Dec 2, 2024
1134c5d
chore: mark ethereum-forks as rv32imac (#13053)
mattsse Dec 2, 2024
4f19fc6
chore(deps): weekly `cargo update` (#13043)
github-actions[bot] Dec 2, 2024
cccbd90
docs(trie): duplicate comment in sparse trie (#13056)
shekhirin Dec 2, 2024
3855519
chore: disable revm primitives workspace default features (#13055)
mattsse Dec 2, 2024
1b34f3e
feat(rpc): enhance `eth_getLogs` error handling with block range feed…
Quertyy Dec 2, 2024
0884611
chore(trie): remove infallible variant (#13057)
rkrasiuk Dec 2, 2024
8d5668a
chore: disable reth-ethereum-forks default features in workspace (#13…
mattsse Dec 2, 2024
df4673e
trie: init storage blinded provider with account (#13058)
rkrasiuk Dec 2, 2024
dd055a4
feat(executor): call hook with state changes after post block balance…
fgimenez Dec 2, 2024
519a10a
chore: remove OpTxType new type (#12715)
mattsse Dec 2, 2024
332cce1
feat: add header AT to provider (#13030)
mattsse Dec 2, 2024
6789ff4
chore: add `OpEthApiBuilder` and `OpEthApiInner` (#13009)
joshieDo Dec 2, 2024
8a047ed
chore: move Integerlist to db-api (#13062)
mattsse Dec 2, 2024
30800af
perf(validate-tx-pool): fast non-allocating `is_create` (#13063)
hai-rise Dec 2, 2024
aacf5d1
chore: disable more default features (#13065)
mattsse Dec 2, 2024
675410d
add replace and remove methods (#13059)
lakshya-sky Dec 2, 2024
c61a071
feat: bump alloy (#13070)
klkvr Dec 2, 2024
6cea995
Check holocene activation based on the parent's timestamp (#13060)
mininny Dec 2, 2024
8d10b93
chore: rename codecs optimism feature to op (#13067)
Rjected Dec 2, 2024
d7f5846
chore: add tx trait bounds to primitives (#13075)
mattsse Dec 2, 2024
756eafa
chore: disable default features op forks (#13073)
mattsse Dec 2, 2024
156984b
chore: misc direct imports (#13079)
mattsse Dec 2, 2024
65193bd
feat: add std feature to network-peers (#13078)
mattsse Dec 2, 2024
80d0fb0
chore: set event logs from `StaticFileProducer` and `Pruner` to `debu…
joshieDo Dec 2, 2024
bcfe9eb
feat(trie): `SparseStateTrie::new` (#13068)
rkrasiuk Dec 2, 2024
2c5a1a7
chore: disable nybbles default feature (#13081)
mattsse Dec 2, 2024
039f121
chore: make `has_eip4844` generic over `SignedTransaction` (#13083)
Rjected Dec 2, 2024
9831953
chore: flatten reth-primitives dep (#13082)
mattsse Dec 2, 2024
9ed9fa2
refactor: rename `TransactionSignedEcRecovered` to `RecoveredTx` (#13…
klkvr Dec 2, 2024
ea82cbd
chore(sdk): define `OpTransactionSigned` (#11433)
emhane Dec 3, 2024
ae8912f
feat(trie): proof blinded providers (#13085)
rkrasiuk Dec 3, 2024
5724114
feat: use primitive transaction as `PoolTransaction::Consensus` (#13086)
klkvr Dec 3, 2024
74017ba
feat: Use `PrimitiveSignature` instead of `Signature` (#13087)
moricho Dec 3, 2024
383b8c2
fix(engine): get_proof_targets only add fetched accounts if they have…
fgimenez Dec 3, 2024
82b97a8
chore: fix unused warning (#13090)
mattsse Dec 3, 2024
84e1fb9
feat: impl more noop functions (#13029)
mattsse Dec 3, 2024
bfcd983
feat: add Op DA config (#13095)
mattsse Dec 3, 2024
bedc68e
chore(evm): migrate execution errors back to `thiserror` (#13097)
rkrasiuk Dec 3, 2024
e4c0f19
chore(trie): exclude blinded providers from `Debug` impl (#13098)
rkrasiuk Dec 3, 2024
1404073
feat: add miner rpc bindings (#13099)
mattsse Dec 3, 2024
a8feec8
perf(engine): do not clone proof targets (#13061)
shekhirin Dec 3, 2024
0aa4701
fix(trie): short circuit leaf removal if missing (#12988)
rkrasiuk Dec 3, 2024
ca3d989
feat: impl noop miner api endpoint (#13102)
mattsse Dec 3, 2024
61cb3de
fix(trie): do not persist root branch nodes in sparse trie (#13071)
shekhirin Dec 3, 2024
8f61af0
introduce tableset and impl for tables enum (#12617)
lakshya-sky Dec 3, 2024
39f936e
chore: move sparse errors to `reth-execution-errors` (#13101)
rkrasiuk Dec 3, 2024
6baf519
feat(custom-tables): don't record metrics for custom tables (#13104)
alessandromazza98 Dec 3, 2024
7008ac2
perf(validate-tx-pool): fast non-allocating `is_local` (#13096)
hai-rise Dec 3, 2024
9d5e159
feat: make InvalidBlockHook generic over NodePrimitives (#13105)
klkvr Dec 3, 2024
64c6343
chore: propagate network primitives to `on_command`, `on_network_even…
Rjected Dec 3, 2024
e4c7fac
chore(trie): make Debug impl work for any provider (#13107)
rkrasiuk Dec 3, 2024
886471d
Introduce `HashedPostStateProvider` (#12607)
frisitano Dec 3, 2024
0fcc6cf
feat: Add `Transaction` AT to `ConfigureEvm` (#13106)
klkvr Dec 3, 2024
35cfd41
feat: make `import_transactions` use network generics (#13110)
Rjected Dec 3, 2024
e9484b2
chore: remove redundant enum (#13113)
mattsse Dec 3, 2024
601e8b9
feat: make TransactionsManager Future impl generic over NetworkPrimit…
Rjected Dec 3, 2024
bdfbcab
feat: use generic CapabilityMessage everywhere (#13116)
Rjected Dec 3, 2024
c6add45
chore: propagate network primitives generic to EthStream usages (#13117)
Rjected Dec 3, 2024
8a00d2d
chore: relax rpc bounds (#13100)
klkvr Dec 4, 2024
d164e3e
chore: bound most NetworkBuilder methods by NetworkPrimitives generic…
Rjected Dec 4, 2024
4e73bb0
refactor: pending block construction (#13109)
klkvr Dec 4, 2024
5c07669
chore: remove `TransactionSignedNoHash` (#13120)
klkvr Dec 4, 2024
c060df9
chore(ci): fix hive patch (#13123)
fgimenez Dec 4, 2024
025885f
refactor(sdk): complete generic impl for `PersistenceService` over `N…
lean-apple Dec 4, 2024
8d1a332
feat: make `PoolInner` functions `pub` (#13124)
kien-rise Dec 4, 2024
53243a2
perf: avoid cloning bytecode when converting revm's `&AccountInfo` to…
hai-rise Dec 4, 2024
589fc2a
Fix typos in documentation (#13094)
Dahka2321 Dec 4, 2024
24af0a8
Extend revm spec tests for holocene (#13111)
emhane Dec 4, 2024
d298fb1
fix(op): add missing op consensus validation check (#13122)
mattsse Dec 4, 2024
3091386
fix(witness): collect witness using sparse trie (#13072)
rkrasiuk Dec 4, 2024
0daa456
chore: add container question to bug template (#13134)
joshieDo Dec 4, 2024
fbd2d6e
refactor: split `NetworkEventListenerProvider` (#12972)
lean-apple Dec 4, 2024
337272c
chore: add typed receipt for Receipt (#13140)
mattsse Dec 4, 2024
27dab59
feat(trie): collect branch node hash masks when calculating a proof (…
shekhirin Dec 4, 2024
874cf89
feat: add OpBuilder config (#13132)
mattsse Dec 4, 2024
1f6b7d1
feat: wire network primitives to remaining components (#13143)
Rjected Dec 4, 2024
33f8e5c
Bump `op-alloy` (#13142)
emhane Dec 5, 2024
08c9df8
chore: bump pprof (#13148)
mattsse Dec 5, 2024
305ca2f
docs: add docker and error code 13 to troubleshooting chapter (#13133)
joshieDo Dec 5, 2024
0016d91
feat: install op miner endpoint (#13147)
mattsse Dec 5, 2024
e022b6f
chore: bump alloy 073 (#13150)
mattsse Dec 5, 2024
6594482
chore: reuse alloy proof fns (#13091)
mattsse Dec 5, 2024
804dc99
feat: impl compact for alloy txtype (#13152)
mattsse Dec 5, 2024
b4124dd
feat: make RPC cache generic over primitives (#13146)
klkvr Dec 5, 2024
da03b79
perf(trie): avoid (de)allocating an extra prefix set (#13020)
hai-rise Dec 5, 2024
6f0cfef
feat: Support sending raw capability messages (#13028)
stevencartavia Dec 5, 2024
3ccbda8
chore: add reference to the troubleshooting page on `mdbx::Error::Acc…
joshieDo Dec 5, 2024
eb4aa2c
fix(engine): wait for all state updates before returning state root t…
fgimenez Dec 5, 2024
d71a4be
feat: Add ratelimiting to OpWitness API (#12998)
stevencartavia Dec 5, 2024
56624f8
chore: add typed2718 to txtype (#13076)
mattsse Dec 5, 2024
4fe5c2a
Allow replacement txs with exactly price bump (#13161)
yaziciahmet Dec 5, 2024
8226fa0
feat: use network tx for `Pool::Pooled` (#13159)
klkvr Dec 5, 2024
d939876
chore(engine): add StateHookSender constructor (#13162)
fgimenez Dec 5, 2024
f82a20a
fix: txpool tests (#13172)
hai-rise Dec 6, 2024
6fc4e8a
chore: make reth codec support optional (#13166)
mattsse Dec 6, 2024
da98285
feat: re-export used deps from reth-codecs (#13167)
mattsse Dec 6, 2024
6453b62
feat(trie): use branch node hash masks in sparse trie (#13135)
shekhirin Dec 6, 2024
242bbaa
fix: throw error if genesis header found on static files, but empty d…
joshieDo Dec 6, 2024
44a66d3
chore: Code Simplification and Optimization (#12840)
sky-coderay Dec 6, 2024
d3e09c8
perf: profile TransactionsManager::poll hash fetching (#12975)
Elvis339 Dec 6, 2024
ab87f22
fix: push job front of queue (#13177)
mattsse Dec 6, 2024
cf2a6a1
feat: EthApi traits abstraction (#13170)
klkvr Dec 6, 2024
2f46fe6
chore: use leaner NoopProvider in network (#13178)
mattsse Dec 6, 2024
634db30
perf(tx-pool): reuse write lock to insert txs batch (#12806)
hai-rise Dec 6, 2024
fdff4f1
feat(`DbTx`): add `get_by_encoded_key` (#13171)
hai-rise Dec 6, 2024
cb3e9f8
chore: remove some excessive allocs in hot path (#13176)
mattsse Dec 6, 2024
e29b4ee
fix(trie): delete self destructed accounts from sparse trie (#13168)
shekhirin Dec 6, 2024
806a1b1
chore: use slice arg for tx decoding (#13181)
mattsse Dec 6, 2024
627ceae
feat(db): initialize db with tables (#13130)
alessandromazza98 Dec 6, 2024
c9c6eb5
chore: rm unused evm provider fn (#13184)
mattsse Dec 6, 2024
55f931d
chore: introduce ethereum-primitives crate (#13185)
mattsse Dec 6, 2024
cd13bd9
feat: unify ReceiptWithBloom from Alloy (#13088)
royvardhan Dec 6, 2024
4f28d6c
chore: disable url default features (#13191)
mattsse Dec 6, 2024
53f7297
chore: rm validate delegate (#13190)
mattsse Dec 6, 2024
e615010
fix: don't use reserved word None in bug template (#13192)
Rjected Dec 6, 2024
c608679
perf(`AllTransactions`-iter): do not clone all transactions by defaul…
hai-rise Dec 6, 2024
a0326e4
perf: more `FxHashMap`s for `SenderId` key (#13188)
hai-rise Dec 6, 2024
2183752
refactor(prune-types/prune): move PruneLimiter to `reth-prune` (#13182)
lean-apple Dec 6, 2024
e991570
perf: call increment once (#13193)
mattsse Dec 6, 2024
552c623
feat: make BlockResponse generic over header (#13195)
Rjected Dec 6, 2024
9167e45
refactor: simplify and relax some RPC bounds (#13202)
klkvr Dec 7, 2024
7e9d2c1
chore: remove unused trie-common alloy-serde dep (#13201)
Rjected Dec 7, 2024
52b8ff4
chore: fix `cargo check -p reth-stages --tests` (#13200)
Rjected Dec 7, 2024
4d2c576
perf(txpool): remove more clones (#13189)
hai-rise Dec 7, 2024
6b35b05
feat: relax bounds for `EthPubSub` (#13203)
klkvr Dec 7, 2024
4fa86c5
Add placeholder `OpHardfork::Isthmus` (#13112)
emhane Dec 7, 2024
42a1ba3
chore: make zip_blocks generic over header (#13199)
Rjected Dec 7, 2024
410d361
chore: move calculate tx root to blockbody trait (#13209)
mattsse Dec 7, 2024
828ddba
chore(engine): refactor code to transform EvmState into HashedPostSta…
fgimenez Dec 7, 2024
abaeb35
chore: make reth-network-peers risc compatible (#13210)
mattsse Dec 7, 2024
2846dd2
chore: flip tx conversion impl (#13208)
mattsse Dec 7, 2024
08b875f
chore: feature gate reth-codecs in trie-common (#13215)
mattsse Dec 7, 2024
73785cc
chore(deps): weekly `cargo update` (#13216)
github-actions[bot] Dec 8, 2024
465692b
test: add tracing test (#13221)
mattsse Dec 9, 2024
f7a3476
chore(engine): simplify StateRootTask creation and hook management (#…
fgimenez Dec 9, 2024
d68d7c8
feat: bound NetworkPrimitives types by proper traits (#13196)
Rjected Dec 9, 2024
13302ca
feat(db): make init_db function accepts a TableSet (#13222)
alessandromazza98 Dec 9, 2024
233f893
fix: deny advisory RUSTSEC-2024-0421 (#13227)
greged93 Dec 9, 2024
3e85905
chore: add default impls for withdrawals and ommers root (#13229)
mattsse Dec 9, 2024
49d3d82
chore: use BlockHeader trait (#13224)
mattsse Dec 9, 2024
3bc7b00
ci: move deny to lint (#13230)
DaniPopes Dec 9, 2024
da5ffc2
fix(trie): reveal extension child in sparse trie when updating a leaf…
shekhirin Dec 9, 2024
b5bbb8d
chore: rename HighestStaticFiles::min (#13235)
Rjected Dec 9, 2024
a3e90e1
fix(trie): retain updates only for sparse branch nodes in the prefix …
shekhirin Dec 9, 2024
3af2afe
chore: relax more consensus functions (#13236)
mattsse Dec 9, 2024
c7c84f2
feat: relax bounds for `eth_simulateV1` (#13232)
klkvr Dec 9, 2024
f4ae439
perf(trie): use entry API in sparse trie (#13240)
shekhirin Dec 9, 2024
3c13295
perf(engine): add StateRootTask bench (#13212)
fgimenez Dec 9, 2024
bf16885
chore: add blob_versioned_hashes_iter to block body (#13246)
mattsse Dec 9, 2024
af5dc60
Return a propoer error code for txpool is full error (#13245)
angel-ding-cb Dec 9, 2024
eb60808
feat(rpc): relax `VaidationApi` and `EngineApi` (#13241)
klkvr Dec 9, 2024
386e4b3
feat: extract zstd compressors (#13250)
mattsse Dec 9, 2024
980e62a
chore: relax `ProviderFactory` setup (#13254)
klkvr Dec 10, 2024
c9bd640
chore: use `BlockWithParent` for `StageError` (#13198)
Rjected Dec 10, 2024
5ee776a
chore: pass primiitves generic to `EngineApiTreeHandler` fields (#13256)
klkvr Dec 10, 2024
b3752cd
feat: remove default types from headers stage (#13258)
Rjected Dec 10, 2024
d856c8e
feat(engine): add error logging in `state_hook` (#13252)
mvares Dec 10, 2024
da99986
feat: relax bounds for `EngineApiTreeHandler` (#13257)
klkvr Dec 10, 2024
15470b4
feat: make bodies downloader generic over header (#13259)
Rjected Dec 10, 2024
fdc9b31
chore: use trait fn for blob gas (#13261)
mattsse Dec 10, 2024
36c0142
chore: release 1.1.3 (#13262)
mattsse Dec 10, 2024
d97449d
fix: bounds for BundleApi (#13267)
klkvr Dec 10, 2024
3ea2522
fix: fromstr impl for miner variant (#13289)
mattsse Dec 11, 2024
15fac08
chore: bump version 1.1.4 (#13291)
mattsse Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 41 additions & 0 deletions .config/zepter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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,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.
"--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:
"--offline",
"--locked",
"--show-path",
"--quiet",
]
default:
# Running `zepter` with no subcommand will check & fix.
- [$check.0, "--fix"]

# Will be displayed when any workflow fails:
help:
text: |
Reth 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/paradigmxyz/reth/pull/11888"
- "https://github.com/ggwpez/zepter"
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ crates/fs-util/ @onbjerg @emhane
crates/metrics/ @onbjerg
crates/net/ @emhane @mattsse @Rjected
crates/net/downloaders/ @onbjerg @rkrasiuk @emhane
crates/node/ @mattsse @Rjected @onbjerg
crates/node/ @mattsse @Rjected @onbjerg @emhane @klkvr
crates/optimism/ @mattsse @Rjected @fgimenez @emhane
crates/payload/ @mattsse @Rjected
crates/primitives/ @Rjected
crates/primitives-traits/ @Rjected @joshieDo
crates/primitives/ @Rjected @emhane @mattsse @klkvr
crates/primitives-traits/ @Rjected @joshieDo @emhane @mattsse @klkvr
crates/prune/ @shekhirin @joshieDo
crates/revm/ @mattsse @rakita
crates/rpc/ @mattsse @Rjected @emhane
Expand Down
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
64 changes: 64 additions & 0 deletions .github/assets/check_rv32imac.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
#!/usr/bin/env bash
set +e # Disable immediate exit on error

# Array of crates to check
crates_to_check=(
reth-codecs-derive
reth-ethereum-forks
reth-ethereum-primitives
reth-primitives-traits
reth-optimism-forks
reth-network-peers
# reth-evm
# reth-primitives
# reth-optimism-chainspec
)

# 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
14 changes: 6 additions & 8 deletions .github/assets/check_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,18 @@ set +e # Disable immediate exit on error

# Array of crates to compile
crates=($(cargo metadata --format-version=1 --no-deps | jq -r '.packages[].name' | grep '^reth' | sort))

# Array of crates to exclude
# 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 @@ -24,23 +25,19 @@ 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-evm-ethereum
reth-exex
reth-exex-test-utils
reth-ipc
reth-net-nat
reth-network
reth-node-api
reth-node-types
reth-node-builder
reth-node-core
reth-node-ethereum
Expand All @@ -50,8 +47,7 @@ exclude_crates=(
reth-optimism-node
reth-optimism-payload-builder
reth-optimism-rpc
reth-payload-builder
reth-payload-primitives
reth-optimism-primitives
reth-rpc
reth-rpc-api
reth-rpc-api-testing-util
Expand All @@ -73,6 +69,8 @@ exclude_crates=(
reth-static-file # tokio
reth-transaction-pool # c-kzg
reth-trie-parallel # tokio
reth-testing-utils
reth-network-peers
)

# Array to hold the results
Expand Down
3 changes: 2 additions & 1 deletion .github/assets/hive/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ COPY dist/reth /usr/local/bin
COPY LICENSE-* ./

EXPOSE 30303 30303/udp 9001 8545 8546
ENTRYPOINT ["/usr/local/bin/reth"]
ENV RUST_LOG=debug
ENTRYPOINT ["/usr/local/bin/reth"]
6 changes: 1 addition & 5 deletions .github/assets/hive/expected_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ engine-withdrawals:
- Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org (Paris) (reth)
- Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org Sync (Paris) (reth)

# https://github.com/paradigmxyz/reth/issues/8305
# https://github.com/paradigmxyz/reth/issues/6217
engine-api: []

# https://github.com/paradigmxyz/reth/issues/8305
Expand All @@ -58,6 +56,4 @@ engine-cancun:
- Invalid NewPayload, Incomplete VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, Extra VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)

# https://github.com/paradigmxyz/reth/issues/8579
sync:
- sync reth -> reth
sync: []
21 changes: 10 additions & 11 deletions .github/assets/hive/no_sim_build.diff
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
diff --git a/internal/libdocker/builder.go b/internal/libdocker/builder.go
index 4731c9d..d717f52 100644
index e4bf99b6..2023f7e2 100644
--- a/internal/libdocker/builder.go
+++ b/internal/libdocker/builder.go
@@ -7,9 +7,7 @@ import (
"fmt"
@@ -8,7 +8,6 @@ import (
"io"
"io/fs"
"log/slog"
- "os"
"path/filepath"
- "strings"

"github.com/ethereum/hive/internal/libhive"
docker "github.com/fsouza/go-dockerclient"
@@ -53,24 +51,8 @@ func (b *Builder) BuildClientImage(ctx context.Context, client libhive.ClientDes
"slices"
"strings"
@@ -49,25 +48,8 @@ func (b *Builder) BuildClientImage(ctx context.Context, client libhive.ClientDes

// BuildSimulatorImage builds a docker image of a simulator.
func (b *Builder) BuildSimulatorImage(ctx context.Context, name string) (string, error) {
func (b *Builder) BuildSimulatorImage(ctx context.Context, name string, buildArgs map[string]string) (string, error) {
- dir := b.config.Inventory.SimulatorDirectory(name)
- buildContextPath := dir
- buildDockerfile := "Dockerfile"
-
- // build context dir of simulator can be overridden with "hive_context.txt" file containing the desired build path
- if contextPathBytes, err := os.ReadFile(filepath.Join(filepath.FromSlash(dir), "hive_context.txt")); err == nil {
- buildContextPath = filepath.Join(dir, strings.TrimSpace(string(contextPathBytes)))
Expand All @@ -32,14 +31,14 @@ index 4731c9d..d717f52 100644
- }
- }
tag := fmt.Sprintf("hive/simulators/%s:latest", name)
- err := b.buildImage(ctx, buildContextPath, buildDockerfile, tag, nil)
- err := b.buildImage(ctx, buildContextPath, buildDockerfile, tag, buildArgs)
- return tag, err
+ return tag, nil
}

// BuildImage creates a container by archiving the given file system,
diff --git a/internal/libdocker/proxy.go b/internal/libdocker/proxy.go
index a53e5af..0bb2ea9 100644
index d3a14ae6..8779671e 100644
--- a/internal/libdocker/proxy.go
+++ b/internal/libdocker/proxy.go
@@ -16,7 +16,7 @@ const hiveproxyTag = "hive/hiveproxy"
Expand Down
2 changes: 0 additions & 2 deletions .github/assets/kurtosis_network_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ participants:
- el_type: geth
cl_type: lighthouse
- el_type: reth
el_extra_params:
- --engine.experimental
el_image: "ghcr.io/paradigmxyz/reth:kurtosis-ci"
cl_type: teku
additional_services:
Expand Down
15 changes: 15 additions & 0 deletions .github/assets/kurtosis_op_network_params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ethereum_package:
participants:
- el_type: reth
cl_type: lighthouse
optimism_package:
chains:
- participants:
- el_type: op-geth
cl_type: op-node
- el_type: op-reth
el_image: "ghcr.io/paradigmxyz/op-reth:kurtosis-ci"
cl_type: op-node
batcher_params:
extra_params:
- "--throttle-interval=0"
47 changes: 47 additions & 0 deletions .github/workflows/compact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Ensures that `Compact` codec changes are backwards compatible.
#
# 1) checkout `main`
# 2) randomly generate and serialize to disk many different type vectors with `Compact` (eg. Header, Transaction, etc)
# 3) checkout `pr`
# 4) deserialize previously generated test vectors

on:

pull_request:
merge_group:
push:
branches: [main]

env:
CARGO_TERM_COLOR: always

name: compact-codec
jobs:
compact-codec:
runs-on:
group: Reth
strategy:
matrix:
bin:
- cargo run --bin reth --features "dev"
- cargo run --bin op-reth --features "optimism dev" --manifest-path crates/optimism/bin/Cargo.toml
steps:
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Checkout base
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref || 'main' }}
# On `main` branch, generates test vectors and serializes them to disk using `Compact`.
- name: Generate compact vectors
run: |
${{ matrix.bin }} -- test-vectors compact --write
- name: Checkout PR
uses: actions/checkout@v4
with:
clean: false
# On incoming merge try to read and decode previously generated vectors with `Compact`
- name: Read vectors
run: ${{ matrix.bin }} -- test-vectors compact --read
27 changes: 0 additions & 27 deletions .github/workflows/deny.yml

This file was deleted.

Loading
Loading