Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: prepare for v1.0.5 #160

Merged
merged 898 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
898 commits
Select commit Hold shift + click to select a range
aa42dbc
fix: ensure receipts are written to storage during test setups (#10660)
joshieDo Sep 2, 2024
659375d
eip7702: use alloy `TxEip7702` (#10617)
tcoratger Sep 2, 2024
08719de
primitives: small refactor in `gas_limit` method (#10668)
tcoratger Sep 2, 2024
54f56db
chore: resolve merge conflicts
pythonberg1997 Sep 3, 2024
80793cf
feat(tree): cache trie updates for nonfinalized canonical blocks (#1…
Rjected Sep 3, 2024
785411b
Merge branch 'refs/heads/develop' into merge-v1.0.6
pythonberg1997 Sep 3, 2024
69139a8
chore: resolve merge conflicts
pythonberg1997 Sep 3, 2024
08c35fd
Merge pull request #127 from bnb-chain/merge-v1.0.6
pythonberg1997 Sep 3, 2024
857f97e
chore(storage): remove unnecessary check empty vec (#10671)
htiennv Sep 3, 2024
c011d47
fix: typo in `BSC_CHAPEL` (#129)
pythonberg1997 Sep 3, 2024
5fc7755
fix(discv5): return discv5 local node record (#10640)
emhane Sep 3, 2024
020597d
Update generic name in payload crate (#10669)
malik672 Sep 3, 2024
774a2d0
feat: support new engine on bsc-reth (#128)
j75689 Sep 3, 2024
d30e3a4
node: revise `NodeTypes` trait (#10665)
tcoratger Sep 3, 2024
dea1e21
feat: add invalid block hook field to tree (#10432)
Rjected Sep 3, 2024
332b994
net: rm unused import (#10676)
tcoratger Sep 3, 2024
6b509dd
blockchain-tree: add unit tests for `BlockIndices` (#10675)
tcoratger Sep 3, 2024
9d46b06
feat(engine): invalid block hooks crate (#10629)
shekhirin Sep 3, 2024
5744ad1
feat: impl StateReader for BlockchainProvider2 (#10618)
Rjected Sep 3, 2024
df93e75
test (provider): receiptProvider impl of BlockchainProvider2<DB> (#10…
jenpaff Sep 3, 2024
fd8ca17
feat(tree): introduce executed_block_by_hash (#10553)
Rjected Sep 3, 2024
d659cd3
refactor: move exec metrics into executor (#10426)
onbjerg Sep 4, 2024
938227a
fix(op): parse l1 block info from l2 tx input (#10664)
emhane Sep 4, 2024
9257c8a
Cargo update (#10690)
emhane Sep 4, 2024
2c28438
chore: remove PerfectHasingFunction Filters (#10627)
nkysg Sep 4, 2024
e502132
primitives: simplify `generate_valid_header` logic (#10692)
tcoratger Sep 4, 2024
304550c
chore: update wasm crate (#10695)
nkysg Sep 4, 2024
4fbfedb
chore(reth-evm): no-default optional crate (#10694)
nkysg Sep 4, 2024
a1d9ece
feat: `NodeTypesWithDB` (#10683)
klkvr Sep 4, 2024
8151c9a
chore: more adjustments to grafana (#10696)
onbjerg Sep 4, 2024
3289cd7
feat(tree): make on_new_head and is_fork aware of disk (#10551)
Rjected Sep 4, 2024
3105320
chore: update grafana dashboard again (#10700)
onbjerg Sep 4, 2024
86a2ac6
fix: nippy jar error access is denied. os error 5 (#9747) (#10672)
kaxxa123 Sep 4, 2024
9e3edcc
fix: allow tx's from EIP-7702 delegated accounts (#10702)
onbjerg Sep 4, 2024
f82719f
rpc: small refactor in `TransactionSource` impl (#10704)
tcoratger Sep 4, 2024
f8e5b18
chore: relax txpool client trait bounds (#10705)
mattsse Sep 4, 2024
1ef4d6d
clippy: add `collection_is_never_read` clippy lint (#10703)
tcoratger Sep 4, 2024
22e9c1d
chore: allow `CC0-1.0` on `deny.toml` (#10706)
joshieDo Sep 4, 2024
98b214f
feat(tree): schedule block removal on disk reorgs (#10603)
Rjected Sep 4, 2024
834e99c
chore: moved optimism_receiptfn and its tests (#10520)
Redidacove Sep 5, 2024
8bbd403
fix: improve nonce too low error (#10711)
PanGan21 Sep 5, 2024
5df03fb
fix: reject 7702 transactions with empty auth list (#10709)
onbjerg Sep 5, 2024
5ecc9d2
feat: integrate `NodeTypesWithDB` (#10698)
klkvr Sep 5, 2024
ba3fc6a
feat(engine): support `--debug.etherscan` on experimental engine (#10…
shekhirin Sep 5, 2024
c267c1c
chore(engine): track elapsed on fork block added (#10710)
rkrasiuk Sep 5, 2024
b0fddef
optimism: use op-alloy TxDeposit (#10667)
tcoratger Sep 5, 2024
1ec5678
ForkCondition: some small refactors (#10712)
tcoratger Sep 5, 2024
e8128a3
feat: add directory watcher to `StaticFileProvider::read_only` (#10701)
joshieDo Sep 5, 2024
60bc403
fix(tree): remove_blocks fixes, return hash and number in persistence…
Rjected Sep 5, 2024
fdad74e
rust: bump rust to 1.81 (#10721)
tcoratger Sep 5, 2024
7fd1691
ethereum-forks: add unit tests for `ForkCondition` (#10707)
tcoratger Sep 5, 2024
665bfd7
fix: don't filter out hardforks (#10723)
onbjerg Sep 5, 2024
a996eea
refactor: relax bound on `NodeTypesWithDB` (#10720)
klkvr Sep 5, 2024
6adb4bc
chore: ignore proc-macro-error 1.0.4 advisory (#10727)
mattsse Sep 5, 2024
80d511b
chore: bump example dep (#10726)
mattsse Sep 5, 2024
2b6b715
Remove load_trusted_setup_from_bytes (#10719)
estensen Sep 5, 2024
d3281ec
test: add hardfork parsing test (#10724)
mattsse Sep 5, 2024
b1ed3e6
feat(tree): add block validation metrics (#10728)
Rjected Sep 5, 2024
5af62b7
test(provider): Add unit tests for stateproviderfactory (#10697)
jenpaff Sep 5, 2024
0c2b496
chore(op): type safety in computation of op tx metadata (#10619)
emhane Sep 5, 2024
399c270
chore: EvmStateProvider doc improvements (#10735)
Rjected Sep 5, 2024
cdd0f00
chore(tree): make tree trace targets consistent (#10731)
Rjected Sep 5, 2024
3e2c34a
chore(tree): propagate on_new_head error (#10734)
Rjected Sep 6, 2024
b13e982
chore: expose PruneConfig in CLI args (#10639)
garwahl Sep 6, 2024
db7834d
Update layout doc (#10739)
Pana Sep 6, 2024
3ec5d37
feat(engine, tree): witness invalid block hook (#10685)
shekhirin Sep 6, 2024
a89de21
feat(exex): subscribe to notifications explicitly (#10573)
shekhirin Sep 6, 2024
dbf5d48
fix: unwind_to should be exclusive (#10738)
alexgao001 Sep 6, 2024
ed778e1
chore(tree): propagate on_new_persisted_block error (#10733)
Rjected Sep 6, 2024
27d4e8c
feat: test channel for pausing persistence receiver (#10699)
Rjected Sep 6, 2024
d1d544e
Create CLI documentation with a Rust script (instead of Python) + sty…
heeckhau Sep 6, 2024
423e022
trie: clean up reth-primitives imports (#10757)
tcoratger Sep 6, 2024
81a7fd3
chore: add rpgf json
gakonst Sep 7, 2024
b554ecc
chore(reth-primitives): clean unused file (#10765)
nkysg Sep 7, 2024
5194bcf
testing: clean up reth-primitives import (#10760)
nkysg Sep 7, 2024
10f3320
storage: clean up reth-primitives import (#10761)
nkysg Sep 7, 2024
162f601
transaction-pool: replace reth-primitive imports (#10766)
estensen Sep 7, 2024
e7defb2
feat: return executed block in eth payload builder (#10717)
estensen Sep 7, 2024
7a20b41
feat: Include missing block id in error responses (#7416)
ryanschneider Sep 7, 2024
afa32b5
fix: add `ancestor_blocks` when executing block in new engine (#131)
pythonberg1997 Sep 7, 2024
7b15d77
fix: unwind_to should be exclusive (#137)
alexgao001 Sep 9, 2024
de36c31
cli: replace reth-primitive imports (#10777)
estensen Sep 9, 2024
9a541c9
clippy: add more lints (#10778)
estensen Sep 9, 2024
cb0625c
consensus: replace reth-primitive imports (#10768)
estensen Sep 9, 2024
8296fcc
chore: re-export reth-consensus (#10782)
onbjerg Sep 9, 2024
4cbdc7c
consensus: add unit tests for `StorageInner` (#10776)
tcoratger Sep 9, 2024
1ea8cca
Remove receipts fn in BuiltPayload (#10772)
malik672 Sep 9, 2024
b78e0f6
feat: remove constraint of concrete type AnyTransactionReceipt for Et…
nkysg Sep 9, 2024
c258c15
feat(db): move reth-storage-api::ClientVersion and StoredBlockWithdra…
nkysg Sep 9, 2024
d8b12ac
Implement `engine_getBlobsV1` (#9723)
michaelsproul Sep 9, 2024
afdaf15
chore: bump revm inspectors (#10790)
mattsse Sep 9, 2024
75586e3
fix(reth-primitives-traits): removes todo (#10789)
nkysg Sep 9, 2024
6f7c8c8
chore(deps): weekly `cargo update` (#10773)
github-actions[bot] Sep 9, 2024
e7a4c85
blockchain-tree: replace reth-primitive imports (#10771)
estensen Sep 9, 2024
75b8499
node: replace reth-primitive imports (#10791)
estensen Sep 9, 2024
94e6939
chore(deps): bump peter-evans/create-pull-request from 6 to 7 (#10795)
dependabot[bot] Sep 9, 2024
9b7e692
chore: rm unused kzg settings fn (#10796)
mattsse Sep 9, 2024
0493eac
feat: support importing blocks without merkle calculation (#123)
j75689 Sep 10, 2024
39576e3
fix(hive): remove expected failures after upstream hive fix (#10801)
fgimenez Sep 10, 2024
4b0431c
chore: add debug logs when state root mismatched (#142)
pythonberg1997 Sep 10, 2024
282a96a
trie: add unit tests for `TrieAccount` (#10802)
tcoratger Sep 10, 2024
2985720
feat: expose `ChainSpec` metrics (#10737)
plaflamme Sep 10, 2024
1b74f16
feat: support custom chainspec parser for op (#10804)
mattsse Sep 10, 2024
0213e88
optimism: replace reth-primitive imports (#10800)
estensen Sep 10, 2024
5a55117
chore: fix typo in chainspec (#10805)
onbjerg Sep 10, 2024
ed42356
chore: bump alloy 0.3.3 (#10806)
mattsse Sep 10, 2024
72c53b8
fix(metrics): set sync metrics when blocks are added (#10799)
Rjected Sep 10, 2024
e4b5325
chore: unify empty payload building (#10807)
mattsse Sep 10, 2024
64e660b
Merge remote-tracking branch 'origin/develop' into dev
pythonberg1997 Sep 10, 2024
ac5ab94
chore: remove optimism feature from reth docs (#10809)
onbjerg Sep 10, 2024
c881d78
chore: resolve merge conflicts
pythonberg1997 Sep 10, 2024
e130457
Add client() getter to OpTransactionValidator (#10814)
ewoolsey Sep 10, 2024
5614a02
chore: bump revm-inspectors (#10815)
mattsse Sep 11, 2024
60dcea8
rpc: replace reth-primitive imports (#10812)
estensen Sep 11, 2024
f6b2021
dev: remove unused dev-deps (#10813)
greged93 Sep 11, 2024
554957c
Merge pull request #144 from pythonberg1997/develop
unclezoro Sep 11, 2024
d11bbe6
refactor: reduce `ProviderFactory` usage (#10798)
klkvr Sep 11, 2024
b3f87ec
fix: prevent panic during enr conversion (#10824)
mattsse Sep 11, 2024
53a081c
ci: pin clippy until lints fixed (#10825)
mattsse Sep 11, 2024
643ea42
chore: Make block download metric include inflight block range reques…
garwahl Sep 11, 2024
310bcaf
chore: Remove `rethdb` `op-node` build tag from book (#10819)
clabby Sep 11, 2024
3c57c31
crates/optimism: fix optimism (#10820)
MagicJoshh Sep 11, 2024
d9681ea
chore(op): define type `reth_optimism_rpc::OpReceiptBuilder` (#10781)
emhane Sep 11, 2024
bbaccc2
chore(rpc): `LoadReceipt::build_transaction_receipt` default impl to …
emhane Sep 11, 2024
3d7bcb0
chore: missing features in optimsim crates (#10830)
onbjerg Sep 11, 2024
6764f7b
feat(net): IP resolution in docker (#10681)
emhane Sep 11, 2024
cb7832e
chore: crates/consensus - Use derive_more::Error rather than impl std…
garwahl Sep 11, 2024
a5be445
chore: lower persistence threshold (#10833)
mattsse Sep 11, 2024
5b3c115
rpc: replace reth-primitive imports with alloy-eips (#10834)
estensen Sep 11, 2024
190d54a
fix: writes sidecars to static files when saving blocks (#145)
pythonberg1997 Sep 11, 2024
bc14ad1
perf: use last key value (#10836)
mattsse Sep 11, 2024
9aea661
fix: ensure that `SendersRecoveryStage` either recovers all senders o…
joshieDo Sep 11, 2024
c498fa6
Move `EthBlocks::block_receipts` default impl to impl for `EthApi` (#…
emhane Sep 11, 2024
265e926
fix(libmdbx): do not panic on timeout when closing cursor (#10838)
shekhirin Sep 11, 2024
7abf499
fix(libmdbx): renew tx on timeout when dropping cursor (#10840)
shekhirin Sep 11, 2024
2b75415
execution: make `ConfigureEvm` independent of chainspec argument (#10…
tcoratger Sep 11, 2024
6ed0ca5
fix: always acquire numbers lock first (#10842)
mattsse Sep 11, 2024
1c53518
fix: drop mmap handles before modifying during `handle_consistency` (…
joshieDo Sep 11, 2024
f6444b2
fix(tree): avoid holding two locks simultaneously (#10843)
rkrasiuk Sep 11, 2024
1c61839
feat(grafana): add stacked block processing latency graph (#10846)
Rjected Sep 11, 2024
3977efe
meta: add etc/ CODEOWNERS (#10848)
Rjected Sep 11, 2024
875cee2
Add pub visibility modifiers to some op executer types (#10852)
ewoolsey Sep 12, 2024
c38a425
chore: remove `prune_modes` arg from `BlockchainTree::new` (#10857)
klkvr Sep 12, 2024
c1b5fbb
fix: don't recurse on op rpc err conversion (#10860)
onbjerg Sep 12, 2024
b85a4e8
chore: alias of datadir.static-files and upate book cli (#10856)
9547 Sep 12, 2024
acdb7b7
perf(engine): parallel storage roots (#10666)
rkrasiuk Sep 12, 2024
4cbe931
chore(grafana): display empty string if no cargo features are availab…
shekhirin Sep 12, 2024
028000c
fix: include reverts in execution outcome when building payload (#10837)
fgimenez Sep 12, 2024
74c733d
chore: remove useless non exhaustive (#10865)
onbjerg Sep 12, 2024
29e11d3
fix: revert header error message change (#10866)
onbjerg Sep 12, 2024
d63498a
dev: test vectors seed (#10859)
greged93 Sep 12, 2024
817b152
docs: minor evm doc changes (#10867)
onbjerg Sep 12, 2024
ef1d9e7
fix: use configured chainspec parser for commands (#10876)
mattsse Sep 13, 2024
df701a0
fix(reth): bin/reth missing help msg of segment (#10873)
9547 Sep 13, 2024
2ae53e5
fix(cli): ensure `reth init-state` doesn't end in an invalid state ro…
joshieDo Sep 13, 2024
9f926ac
fix: don't validate requests in optimism (#10883)
onbjerg Sep 13, 2024
d3acd09
chore: remove unnecessary `segment` argument from `StaticFileProvider…
joshieDo Sep 13, 2024
dd95508
chore(op): Clean up module `reth_optimism_rpc::eth::sequencer` (#10884)
emhane Sep 13, 2024
8ddbd30
fix(cli): remove static file providers from cache on `reth db stats` …
joshieDo Sep 13, 2024
6fc81f2
dev: add send_and_resolve (#10847)
greged93 Sep 13, 2024
47d188c
cfg: replace std feature gate alloc imports with extern crate alloc (…
tcoratger Sep 13, 2024
9c4cf3d
chore(op): Use `tokio::sync::OnceCell` to set `SequencerClient` (#10885)
emhane Sep 13, 2024
784154b
chore(op): Move imports in `reth_optimism_rpc::sequencer` to module p…
emhane Sep 13, 2024
12e8af4
chore: bump alloy 0.3.5 (#10891)
mattsse Sep 13, 2024
87e5e09
feat: add support for wrapping the allocator with tracy (#10874)
DaniPopes Sep 13, 2024
3012018
feat(evm-ethereum): add BlockAccessListExecutor (#10849)
Rjected Sep 13, 2024
c6359b6
Fix: Allow missing docs for test modules (#10893)
Abhishekkochar Sep 13, 2024
75c6295
chore: separate trait for conversion into state provider (#10858)
klkvr Sep 13, 2024
b23bb7e
perf: improve genesis handling (#10878)
DaniPopes Sep 13, 2024
96854f9
fix: actually use `RevmBytecode::new_raw_checked` (#10899)
DaniPopes Sep 13, 2024
974926f
chore: remove an intermediate allocation in ExecutionOutcome (#10900)
DaniPopes Sep 13, 2024
bb18942
feat(evm-optimism): add OpBlockAccessListExecutor (#10895)
Rjected Sep 13, 2024
8852e85
chore: fix ci (#10903)
klkvr Sep 14, 2024
97cc9dd
chore: Some minor refactoring for cargo.toml (#10906)
anonymousGiga Sep 14, 2024
bff991d
chore(reth-execution-errors): use derive_more::From when possible (#1…
nkysg Sep 14, 2024
646b72f
chore: update genesis to chain spec conversion (#10764)
greged93 Sep 14, 2024
1c20e0e
chore: add is granite active at timestamp (#10908)
mattsse Sep 14, 2024
f37bd47
chore(deps): weekly `cargo update` (#10911)
github-actions[bot] Sep 15, 2024
b0eb78c
feat(trie): `TrieInput` (#10918)
rkrasiuk Sep 16, 2024
59a7798
feat(trie): async root intermediate nodes (#10920)
rkrasiuk Sep 16, 2024
fdd6497
feat(trie): integrate `TrieInput` into `StateProofProvider` methods (…
rkrasiuk Sep 16, 2024
06dbd3a
feat(trie): expose multiproof via `StateProofProvider` (#10915)
rkrasiuk Sep 16, 2024
605b93a
feat(trie): integrate `TrieInput` into `ParallelStateRoot` & `AsyncSt…
rkrasiuk Sep 16, 2024
664f8b2
feat(engine): compare invalid block witness against a healthy node (#…
shekhirin Sep 16, 2024
0fa8e83
refactor: make `reth-prune` independent of concrete `DatabaseProvider…
klkvr Sep 16, 2024
5468921
trie: replace reth_primitives with alloy_primitives (#10931)
Abhishekkochar Sep 16, 2024
56fb18b
ci: dev udeps (#10855)
greged93 Sep 16, 2024
66848d9
feat: use `DbProvider` on `UnifiedStorageWriter` (#10933)
joshieDo Sep 16, 2024
e714dba
fix(ci): use `taiki-e/install-action` instead for `cargo-udeps` (#10938)
joshieDo Sep 16, 2024
b38539c
feat: use `DBProvider` instead of `DB` on `init_genesis` (#10937)
joshieDo Sep 16, 2024
8b61b9b
fix(exex): do not advance backfill range twice (#10942)
shekhirin Sep 16, 2024
bf80098
chore: use MIN_TRANSACTION_GAS replace magic number (#10910)
nkysg Sep 16, 2024
0fd8132
feat(reth-evm-ethereum): use EVMError::map_db_err (#10916)
nkysg Sep 16, 2024
acdb205
chore(reth-provider): use Vec::with_capacity (#10912)
nkysg Sep 17, 2024
7367651
chore(reth-primitives-traits): use EOF_BYTECODE_ID etc (#10949)
nkysg Sep 17, 2024
de02d62
chore(reth-ethereum-consensus): use const GAS_LIMIT_BOUND_DIVISOR (#1…
nkysg Sep 17, 2024
e1b10ca
chore(op): remove redundant op feature from `reth-optimism-consensus`…
emhane Sep 17, 2024
21e92b8
fix(rpc): add fee/value and balance to insufficient funds RPC error (…
emhane Sep 17, 2024
847ac1d
blockchain-tree-api:replace reth_primitives with alloy_primitives (#1…
Abhishekkochar Sep 17, 2024
f04fc7c
chore(primitives, ethereum-forks): replace std feature gate alloc imp…
nkysg Sep 17, 2024
30d8ec7
chore(reth-primitives): use derive_more::From when possible (#10917)
nkysg Sep 17, 2024
1d0b18c
error: use derive-more `Error` for deriving error (#10841)
tcoratger Sep 17, 2024
c795389
fix(cli) Allow Pruning CLI Args to take precedence over TOML configur…
garwahl Sep 17, 2024
abd4642
reafctor: improve tx count (#10889)
malik672 Sep 17, 2024
2a04b1c
Move cfg_env and block_env configuration from PayloadBuilderAttribute…
garwahl Sep 17, 2024
92dacf4
execution: add transaction and header AT to `ConfigureEvmEnv` (#10754)
tcoratger Sep 17, 2024
346eb30
chore: include network primitives in workspace (#10952)
mattsse Sep 17, 2024
0cde072
feat(exex): backfill on subscription with head (#10787)
shekhirin Sep 17, 2024
b5fcc1b
chore: move eip2935 impl (#10954)
mattsse Sep 17, 2024
ad76d89
chore: early return EMPTY_ROOT_HASH (#10957)
DaniPopes Sep 17, 2024
0746479
feat(cli): enable witness invalid block hook by default (#10839)
shekhirin Sep 17, 2024
f843a05
perf(rpc): use only Revm cache for execution witness (#10454)
shekhirin Sep 17, 2024
192f59f
deps: bump `alloy-trie` to `0.5.3` (#10960)
rkrasiuk Sep 17, 2024
cd10cbf
feat: move next block cfg and env to configureevm (#10962)
mattsse Sep 17, 2024
9760319
docs: add geth reference for call fee check (#10970)
mattsse Sep 17, 2024
a8078f6
fix(trie): remove `debug_assert` for storage root (#10973)
rkrasiuk Sep 17, 2024
5e9f381
evm: use `Header` AT in `ConfigureEvmEnv` (#10968)
tcoratger Sep 17, 2024
afc0917
engine: don't skip state root when insert downloaded block (#147)
keefel Sep 18, 2024
c09391f
chore(chain-state): replace reth_primitives with alloy_primitives (#1…
Abhishekkochar Sep 18, 2024
1fd4b1d
chore(e2e-test-utils): replace reth_primitives with alloy_primitives …
Abhishekkochar Sep 18, 2024
5cd603d
fix: also include reverts for op (#10979)
mattsse Sep 18, 2024
94c15c0
chore: add display to FromEngine and other messages (#10986)
mattsse Sep 18, 2024
be04f24
chore: bump revm and inspectors (#10982)
mattsse Sep 18, 2024
f3744b3
chore: bump alloy (#10989)
mattsse Sep 18, 2024
d76fd14
chore: release 1.0.7 (#10990)
mattsse Sep 18, 2024
74e58d8
chore: change `BlockAndProofV1` to use alloy_eips instead (#10969)
0xkrane Sep 18, 2024
6d49dc1
feat: extend pool configuration (#10985)
greged93 Sep 18, 2024
21232b0
chore: move eip4788 impl (#10977)
mattsse Sep 18, 2024
2ee1416
cli: replace reth-primitive imports with alloy-eips (#10994)
estensen Sep 18, 2024
a92017b
chore: make error msg conform to normal usage (#10988)
0xkrane Sep 18, 2024
80c1159
storage: replace reth-primitive imports (#10981)
estensen Sep 18, 2024
c2019e3
feat: allow syncing `op-mainnet` with only state and without importin…
joshieDo Sep 18, 2024
06b9792
emv: add `BlockHeader` trait and default `fill_block_env` (#10993)
tcoratger Sep 18, 2024
91eb50c
feat: `eth_simulateV1` support (#10829)
klkvr Sep 18, 2024
e840238
chore(reth-primitives): use COMPACT_EXTENDED_IDENTIFIER_FLAG (#10926)
nkysg Sep 18, 2024
6fc2a23
chore: move eip7002 impl (#10998)
nkysg Sep 18, 2024
c09f650
chore: move eip7251 impl (#11000)
nkysg Sep 18, 2024
f64aecf
feat(cli): expose tree engine persistence configuration (#10999)
rkrasiuk Sep 18, 2024
df14d9a
chore: use the official alloy-chains dep (#149)
forcodedancing Sep 23, 2024
41d0922
chore: resolve conflicts
j75689 Sep 27, 2024
d1a9d9f
Merge remote-tracking branch 'bnb/new-engine' into merge/upstream_v1.0.7
j75689 Sep 27, 2024
dd637d6
Merge pull request #150 from bnb-chain/merge/upstream_v1.0.7
unclezoro Sep 29, 2024
c8fa37c
fix: enable skip_state_root_validation on new engine (#152)
unclezoro Sep 30, 2024
34b1ceb
chore: fix unit-tests (#155)
j75689 Oct 8, 2024
a99ce85
fix: execution error due to int conversion (#154)
j75689 Oct 8, 2024
362f25a
Merge remote-tracking branch 'bnb/develop' into merge/develop_to_new_…
j75689 Oct 8, 2024
6b73e06
Merge pull request #156 from j75689/merge/develop_to_new_engine
unclezoro Oct 8, 2024
7459b99
chore: fix ci error (#158)
j75689 Oct 8, 2024
e1527d8
Merge pull request #157 from bnb-chain/new-engine
unclezoro Oct 9, 2024
aca07e5
chore: update change log and cargo deps for v1.0.5 (#159)
j75689 Oct 9, 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
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
bin/ @onbjerg
crates/blockchain-tree/ @rakita @rkrasiuk @mattsse @Rjected
crates/blockchain-tree-api/ @rakita @rkrasiuk @mattsse @Rjected
crates/chainspec/ @Rjected @joshieDo @mattsse
crates/chainspec/ @Rjected @joshieDo @mattsse @emhane
crates/chain-state/ @fgimenez @mattsse @rkrasiuk
crates/cli/ @onbjerg @mattsse
crates/config/ @onbjerg
crates/consensus/ @rkrasiuk @mattsse @Rjected
Expand All @@ -20,7 +21,7 @@ crates/metrics/ @onbjerg
crates/net/ @emhane @mattsse @Rjected
crates/net/downloaders/ @onbjerg @rkrasiuk @emhane
crates/node/ @mattsse @Rjected @onbjerg
crates/optimism/ @mattsse @Rjected @fgimenez
crates/optimism/ @mattsse @Rjected @fgimenez @emhane
crates/payload/ @mattsse @Rjected
crates/primitives/ @Rjected
crates/primitives-traits/ @Rjected @joshieDo
Expand All @@ -43,4 +44,5 @@ crates/tokio-util/ @fgimenez @emhane
crates/tracing/ @onbjerg
crates/transaction-pool/ @mattsse
crates/trie/ @rkrasiuk @Rjected
etc/ @Rjected @onbjerg @shekhirin
.github/ @onbjerg @gakonst @DaniPopes
33 changes: 0 additions & 33 deletions .github/assets/check_no_std.sh

This file was deleted.

150 changes: 150 additions & 0 deletions .github/assets/check_wasm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
#!/usr/bin/env bash
set +e # Disable immediate exit on error

tool_chain=$1

# 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
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
reth-consensus-debug-client
reth-db-common
reth-discv4
reth-discv5
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
reth-ethereum-engine-primitives
reth-ethereum-payload-builder
reth-etl
reth-evm-ethereum
reth-evm-optimism
reth-execution-errors
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
reth-node-events
reth-node-metrics
reth-node-optimism
reth-optimism-cli
reth-optimism-payload-builder
reth-optimism-rpc
reth-payload-builder
reth-payload-primitives
reth-rpc
reth-rpc-api
reth-rpc-api-testing-util
reth-rpc-builder
reth-rpc-engine-api
reth-rpc-eth-api
reth-rpc-eth-types
reth-rpc-layer
reth-rpc-types
reth-stages
reth-storage-errors
# 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-provider # tokio
reth-prune # tokio
reth-stages-api # reth-provider, reth-prune
reth-static-file # tokio
reth-transaction-pool # c-kzg
reth-trie-parallel # tokio
)

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

# Function to check if a value exists in an array
contains() {
local array="$1[@]"
local seeking=$2
local in=1
for element in "${!array}"; do
if [[ "$element" == "$seeking" ]]; then
in=0
break
fi
done
return $in
}

for crate in "${crates[@]}"; do
if contains exclude_crates "$crate"; then
results+=("3:⏭️:$crate")
continue
fi

cmd="cargo +stable build -p $crate --target wasm32-wasip1 --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
2 changes: 1 addition & 1 deletion .github/assets/hive/build_simulators.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ wait
# Make sure we don't rebuild images on the CI jobs
git apply ../.github/assets/hive/no_sim_build.diff
go build .
mv ./hive ../hive_assets/
mv ./hive ../hive_assets/
57 changes: 7 additions & 50 deletions .github/assets/hive/expected_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ rpc-compat:
- debug_getRawTransaction/get-invalid-hash (reth)

- eth_call/call-callenv (reth)
- eth_createAccessList/create-al-contract-eip1559 (reth)
- eth_createAccessList/create-al-contract (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_sendRawTransaction/send-blob-tx (reth)

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
Expand Down Expand Up @@ -48,29 +53,6 @@ engine-api:
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=True, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasLimit, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Timestamp, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Paris) (reth)

# Hive issue
# https://github.com/ethereum/hive/issues/1135
- Invalid Missing Ancestor Syncing ReOrg, Transaction Signature, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Signature, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Nonce, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Nonce, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Gas, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Gas, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction GasPrice, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction GasPrice, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Value, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Value, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, ReceiptsRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, ReceiptsRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasLimit, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasUsed, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasUsed, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Timestamp, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Incomplete Transactions, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Incomplete Transactions, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)

# https://github.com/paradigmxyz/reth/issues/8305
# https://github.com/paradigmxyz/reth/issues/6217
Expand All @@ -86,35 +68,10 @@ engine-cancun:
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=True, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasLimit, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Timestamp, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Cancun) (reth)
- Invalid PayloadAttributes, Missing BeaconRoot, Syncing=True (Cancun) (reth)
- Invalid NewPayload, ParentBeaconBlockRoot, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, BlobGasUsed, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, Blob Count on BlobGasUsed, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, ExcessBlobGas, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)

# Hive issue
# https://github.com/ethereum/hive/issues/1135
- Invalid Missing Ancestor Syncing ReOrg, ReceiptsRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, ReceiptsRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasLimit, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasUsed, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasUsed, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Timestamp, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Incomplete Transactions, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Incomplete Transactions, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Signature, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Signature, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Nonce, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Nonce, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Gas, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Gas, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction GasPrice, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction GasPrice, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Value, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Value, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)

# https://github.com/paradigmxyz/reth/issues/8579
sync:
- sync reth -> reth
64 changes: 64 additions & 0 deletions .github/assets/hive/expected_failures_experimental.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# https://github.com/paradigmxyz/reth/issues/7015
# https://github.com/paradigmxyz/reth/issues/6332
rpc-compat:
- debug_getRawBlock/get-invalid-number (reth)
- debug_getRawHeader/get-invalid-number (reth)
- debug_getRawReceipts/get-invalid-number (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_sendRawTransaction/send-blob-tx (reth)

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
- Withdrawals Fork On Genesis (Paris) (reth)
- Withdrawals Fork on Block 1 (Paris) (reth)
- Withdrawals Fork on Block 2 (Paris) (reth)
- Withdrawals Fork on Block 3 (Paris) (reth)
- Withdraw to a single account (Paris) (reth)
- Withdraw to two accounts (Paris) (reth)
- Withdraw many accounts (Paris) (reth)
- Withdraw zero amount (Paris) (reth)
- Empty Withdrawals (Paris) (reth)
- Corrupted Block Hash Payload (INVALID) (Paris) (reth)
- Withdrawals Fork on Block 1 - 8 Block Re-Org NewPayload (Paris) (reth)
- Withdrawals Fork on Block 1 - 8 Block Re-Org, Sync (Paris) (reth)
- Withdrawals Fork on Block 8 - 10 Block Re-Org NewPayload (Paris) (reth)
- Withdrawals Fork on Block 8 - 10 Block Re-Org Sync (Paris) (reth)
- Withdrawals Fork on Canonical Block 8 / Side Block 7 - 10 Block Re-Org (Paris) (reth)
- Withdrawals Fork on Canonical Block 8 / Side Block 7 - 10 Block Re-Org Sync (Paris) (reth)
- 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
# https://github.com/paradigmxyz/reth/issues/6217
# https://github.com/paradigmxyz/reth/issues/8306
# https://github.com/paradigmxyz/reth/issues/7144
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)

# https://github.com/paradigmxyz/reth/issues/8579
sync:
- sync reth -> reth
1 change: 1 addition & 0 deletions .github/workflows/assertoor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
test_result: ${{ steps.test_result.outputs.test_result }}
test_status: ${{ steps.test_result.outputs.test_status }}
failed_test_status: ${{ steps.test_result.outputs.failed_test_status }}
if: github.repository == 'paradigmxyz/reth'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
CARGO_TERM_COLOR: always
BASELINE: base
IAI_CALLGRIND_RUNNER: iai-callgrind-runner
TOOL_CHAIN: "1.79"
TOOL_CHAIN: "1.81"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
Loading