Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

release: prepare for v0.1.0-beta.1 #14

Merged
merged 253 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
d6b861e
feat(exex): send `ExExNotification` instead of `CanonStateNotificatio…
shekhirin Apr 23, 2024
d1e3896
fix(stages): send revert chain notification instead of a reorg on unw…
shekhirin Apr 23, 2024
3224837
fix(args/txpool): duplicate arg of txpool.max-account-slots (#7806)
jsvisa Apr 23, 2024
6d2e20c
chore: Move consensus trait to standalone crate (#7757)
ThreeHrSleep Apr 23, 2024
eabd022
feat: support short issue links in label workflow (#7814)
onbjerg Apr 23, 2024
672e4c5
chore(bin/stage): add explicit doc of the use of to-block and hashing…
jsvisa Apr 23, 2024
9fd35f9
chore: move TestConensus to reth-consensus (#7813)
mattsse Apr 23, 2024
b3db4cf
feat: add UX improvements on e2e testing (#7804)
joshieDo Apr 23, 2024
00ca9cd
feat: add prague helpers to spec (#7817)
onbjerg Apr 23, 2024
ee1c811
feat: integrate RpcMiddleware in IPC (#7790)
AbnerZheng Apr 23, 2024
ce1e401
docs: add warning regarding `increment_block` necessity on `write_to_…
joshieDo Apr 23, 2024
a8a434d
chore: flatten more deps (#7824)
mattsse Apr 23, 2024
c659e28
feat(storage): replace Tree generic with Arc<dyn TreeViewer> (#7810)
KyrylR Apr 23, 2024
cfeead7
add `reth-evm-optimism` (#7821)
lakshya-sky Apr 23, 2024
a75d6cd
chore: rm dbg (#7827)
mattsse Apr 23, 2024
0f9145b
chore: add CanonStateSubscriptions to NoopTree (#7828)
mattsse Apr 23, 2024
665e67e
ci: use `HOMEBREW` secret (#7829)
onbjerg Apr 23, 2024
7a59388
chore(github): use codespell to inspect and correct spelling issues (…
jsvisa Apr 23, 2024
8698083
fix: dont panic on invalid l1 blockinfo calldata (#7834)
mattsse Apr 23, 2024
dcad03c
refactor(reth-basic-payload-builder): remove unnecessary assignment (…
ralexstokes Apr 24, 2024
9db1712
refactor: replace `to_primitive_transaction_kind` by `From` impl (#7831)
tcoratger Apr 24, 2024
f372db4
feat: blob e2e test (#7823)
loocapro Apr 24, 2024
dc6a02c
docs(book): recommend running with Docker Compose (#7637)
shekhirin Apr 24, 2024
4f81f3a
feat(discv5): recycle clean up code (#7727)
emhane Apr 24, 2024
1f84c27
chore: delete empty files (#7843)
Rjected Apr 24, 2024
784d8dc
refactor: replace OP error variant with general purpose error (#7844)
lakshya-sky Apr 24, 2024
90da320
refactor: remove unused map_err (#7837)
greged93 Apr 24, 2024
66c6cbc
feat(exex): do not log ID on ExEx start (#7846)
shekhirin Apr 24, 2024
ddc5ed3
fix(rpc): correct `Other` error msg (#7845)
onbjerg Apr 24, 2024
659059c
feat: split nodebuilder generics into separate states (#7847)
mattsse Apr 24, 2024
76a3d82
feat: add thorough error message to state root error (#7607)
Rjected Apr 24, 2024
a22cf21
fix: still delete headers from db in headers unwind (#7579)
Rjected Apr 24, 2024
766e77a
chore: log failed tip fetch only after 20 tries (#7850)
Rjected Apr 24, 2024
0e8e573
chore: rename exex example crate names (#7851)
onbjerg Apr 24, 2024
4cef380
docs: update examples readme (#7852)
onbjerg Apr 24, 2024
652be13
feat: adds panels for execution extension metrics (#7605)
mw2000 Apr 25, 2024
9f0874d
chore: add `reth-stages-api` to `CODEOWNERS` (#7865)
onbjerg Apr 25, 2024
d0382fb
chore: add `trie-parallel` to `CODEOWNERS` (#7866)
rkrasiuk Apr 25, 2024
90bf400
chore: merge consensus and revm owners (#7867)
rkrasiuk Apr 25, 2024
132f7fb
chore: remove `evalir` from `CODEOWNERS` (#7868)
rkrasiuk Apr 25, 2024
0f7e354
chore: add `cli/*` to `CODEOWNERS` (#7870)
onbjerg Apr 25, 2024
c7008de
fix(cli): set start header (#7725)
emhane Apr 25, 2024
f6e68e2
feat(op): timestamp below bedrock (#7768)
emhane Apr 25, 2024
33e7e02
fix: derank peers that responded with bad data (#7854)
mattsse Apr 25, 2024
08cdd67
fix(auto-seal): build dev blocks with withdrawals (#7857)
hai-rise Apr 25, 2024
1c17f08
Replace TransactionKind with alloy_primitives::TxKind (#7859)
rodrigoherrerai Apr 25, 2024
79235a7
chore: add `node-*` crates to `CODEOWNERS` (#7869)
onbjerg Apr 25, 2024
ed45c3c
chore: some touchups (#7873)
mattsse Apr 25, 2024
421888d
fix: log actual notification id in exex manager (#7874)
onbjerg Apr 25, 2024
6f22621
chore: rename BlockChain to Blockchain (#7840)
jsvisa Apr 25, 2024
29e5df8
chore: bidirectional eq for TxType (#7876)
mattsse Apr 25, 2024
1c81fae
refactor: rename some examples (#7881)
andrzejSulkowski Apr 25, 2024
35ac20b
feat: LaunchContext helpers (#7884)
mattsse Apr 25, 2024
9567b25
feat: support max_request_body_size (#7880)
AbnerZheng Apr 25, 2024
6d1aab5
refactor: minor `Signature` refactors (#7888)
tcoratger Apr 25, 2024
57e3f40
chore: unpin cc (#7891)
DaniPopes Apr 25, 2024
d312dbb
fix: chain spec for op mainnet (#7883)
emhane Apr 25, 2024
663a718
chore: more LaunchContext helpers (#7894)
mattsse Apr 25, 2024
16ae640
chore: decrease local pending block expiration time (#7896)
mattsse Apr 25, 2024
062b3d7
refactor: move network-txpool.rs example to its own folder (#7892)
andrzejSulkowski Apr 25, 2024
844bcb8
refactor: replace rpc TransactionKind with alloy_primitives::TxKind (…
andrzejSulkowski Apr 25, 2024
3ad3bbc
chore: more launch builder style function (#7897)
mattsse Apr 25, 2024
e2e5201
chore(deps): bump enr, discv5, secp256k1 (#7000)
DaniPopes Apr 25, 2024
adf1d25
feat(op): cmd init at block (#7784)
emhane Apr 25, 2024
7efdbf4
fix: account for legacy tx in `try_from` tx to `TransactionSignedEcRe…
tcoratger Apr 25, 2024
57d09e8
deps: remove `webpki-roots` from `reqwest` deps (#7887)
onbjerg Apr 25, 2024
6425064
fix: use enrforkid in dns (#7900)
mattsse Apr 26, 2024
fd46df0
feat: move db-access example into a separate module (#7902)
PanGan21 Apr 26, 2024
4278bc2
Bump `alloy-dyn-abi` and `alloy-sol-types` (#7903)
tcoratger Apr 26, 2024
d833f1a
feat: add new crate op-beacon-core (#7848)
rupam-04 Apr 26, 2024
688ee06
fix(discv5): fork id list in ENR (#7909)
emhane Apr 26, 2024
bb0809c
chore: reuse validation fn (#7911)
mattsse Apr 26, 2024
73ea686
chore: move reqwest to workspace dep (#7910)
mattsse Apr 26, 2024
b6b2cf8
Add windows Ipc Client implementation (#7187)
AbnerZheng Apr 26, 2024
7f0e81e
refactor: remove WsHttpServerKind enum and simplify server launch (#7…
smatthewenglish Apr 26, 2024
953ba04
chore: bump alloy 4e22b9e (#7895)
fgimenez Apr 26, 2024
51bdc6a
fix(exex): skipping logic of the notifications (#7919)
shekhirin Apr 26, 2024
704b3e3
chore(sync): add block number to body validation error (#7918)
emhane Apr 26, 2024
ffa36b7
use default implementation for `BlockId` (#7917)
tcoratger Apr 26, 2024
2f052a8
feat: replace low level IPC with interprocess (#7922)
AbnerZheng Apr 27, 2024
6bdba8a
chore: misc clippy fixes (#7926)
mattsse Apr 27, 2024
cc4a418
refactor: extract peer types to net/types (#7912)
andrzejSulkowski Apr 27, 2024
43f58f1
chore: get rid of compat call (#7930)
mattsse Apr 27, 2024
5f15af5
chore: bump ratatui; rm unused (#7934)
mattsse Apr 27, 2024
2deb259
feat: replace duplicate Withdrawal type with alloy (#7931)
mattsse Apr 27, 2024
2b6921b
chore: replace fnv with fxhashmap (#7927)
mattsse Apr 27, 2024
b3bac08
chore(deps): weekly `cargo update` (#7937)
github-actions[bot] Apr 28, 2024
bf66a3d
Move network.rs example to its own folder (#7936)
elijahhampton Apr 28, 2024
1e94d90
chore: rm redunant withdrawal fn (#7940)
mattsse Apr 28, 2024
e18869f
chore: rm redunant log fn (#7941)
mattsse Apr 28, 2024
f3ba800
chore: simplify accesslist extraction (#7942)
mattsse Apr 28, 2024
c535d59
refactor: extract GenesisAllocator type from primitives (#7932)
qiweiii Apr 28, 2024
ead0fbf
chore: rm anyhow dep (#7944)
mattsse Apr 28, 2024
cf6d34c
expose `PayloadTaskGuard` from `reth_basic_payload_builder` (#7945)
ralexstokes Apr 28, 2024
1f6753b
chore: mode node-builder to node dir (#7952)
mattsse Apr 29, 2024
1fbcdeb
Tracking current stage on pipeline unwind (#6558)
loocapro Apr 29, 2024
0501a43
feat: expose `PendingPayload` from `reth-basic-payload-builder` (#7946)
ralexstokes Apr 29, 2024
3fc5cf6
feat: use ComponentsBuilder as associated type in Node trait (#7957)
mattsse Apr 29, 2024
76e3aa9
feat: enable optimism hardforks on genesis parse (#7935)
fgimenez Apr 29, 2024
14ed719
chore(storage): use `TAKE` const instead of `UNWIND` (#7959)
shekhirin Apr 29, 2024
af2da06
chore: add required trait bounds to DB type (#7960)
mattsse Apr 29, 2024
b2c3d0c
chore: update codeowners (#7961)
mattsse Apr 29, 2024
ee70351
test: rm redundant helper trait (#7962)
mattsse Apr 29, 2024
a8cd1f7
chore: add test to `Compact` derived types to avoid backwards incompa…
joshieDo Apr 29, 2024
fd8fdcf
refactor: remove futureUnordered in ipc (#7920)
AbnerZheng Apr 29, 2024
12873d5
feat: expose fields of `ResolveBestPayload` for remote construction (…
ralexstokes Apr 29, 2024
33f4c3f
fix(op): genesis (#7969)
emhane Apr 29, 2024
3754b1e
feat(ci): add cfg check (#7965)
emhane Apr 29, 2024
55017ef
chore: less restrictive bounds (#7970)
mattsse Apr 29, 2024
0819780
feat: add `extract_chain_id` method (#7921)
lakshya-sky Apr 29, 2024
593b2b6
feat(rlp): custom rlp encoding tx type (#7968)
emhane Apr 29, 2024
6619faf
docs: correct `encode_for_signing` docs (#7973)
onbjerg Apr 29, 2024
d9faaa8
chore: rm unused consensus fns (#7972)
onbjerg Apr 29, 2024
4c01856
chore: pool type must be unpin (#7974)
rkrasiuk Apr 29, 2024
490fbb0
docs: minor doc nits in reth basic payload (#7977)
onbjerg Apr 29, 2024
9fc75c6
chore: pin ethereum tests (#7986)
rkrasiuk Apr 30, 2024
d281699
chore: rm clap as dep of `reth-static-file` (#7980)
onbjerg Apr 30, 2024
5d795b9
fix: handle Multiplex P2PStream.poll_ready errors (#7988)
fgimenez Apr 30, 2024
053b14a
feat: add method to EthBuiltPayload to get blob sidecars (#7979)
jacobkaufmann Apr 30, 2024
1fe00a7
feat: use `FnOnce` for node hooks (#7975)
mattsse Apr 30, 2024
b3d7b7d
feat: `StaticFileProviderFactory` (#7983)
rkrasiuk Apr 30, 2024
0f9658c
chore: use `FnOnce` on `WithLaunchContext` methods (#7989)
rkrasiuk Apr 30, 2024
c3cdd8c
feat(examples): sqlite rollup exex (#7826)
shekhirin Apr 30, 2024
a6661d6
chore(exex): display `exex_id` log field using `Display` (#7994)
shekhirin Apr 30, 2024
996f1ef
docs(storage): chain of blocks should not be empty (#7809)
shekhirin Apr 30, 2024
d03150e
chore: rm more unused deps (#7995)
onbjerg Apr 30, 2024
29e0e81
feat: add with_canon_state_notification_sender fn (#7997)
mattsse Apr 30, 2024
b99d367
fix: ensure peer exists b4 marking txs as received (#7998)
onbjerg Apr 30, 2024
d0973bb
fix: correct expiration for discv4 lookup requests (#7996)
onbjerg Apr 30, 2024
6d7cd53
chore(discv4): limit number of queued pings (#7999)
onbjerg Apr 30, 2024
e158542
feat: ensure offset size is at most 8 bytes (#8000)
onbjerg Apr 30, 2024
9153d88
chore: remove unnecessary Debug implmentation (#8001)
AbnerZheng Apr 30, 2024
5816826
fix(net, discv4): call find_node with valid endpoint (#8002)
fgimenez Apr 30, 2024
d04d955
feat: make nodetypes stateless and move evm to components (#7992)
mattsse Apr 30, 2024
afbb265
refactor: use `reth_rpc_types` `BlockId` in optimism rpc (#8003)
tcoratger Apr 30, 2024
e098952
feat: add `Deref` impl for `PayloadTaskGuard` (#7971)
ralexstokes Apr 30, 2024
d532217
fix(op): discv5 ENR (#7991)
emhane Apr 30, 2024
8e65cb3
Bump `evm-inspectors` and `alloy` (#8006)
tcoratger Apr 30, 2024
bf9d974
fix(op): use canyon,ecotone fork timestamps for op mainnet (#8011)
Rjected May 1, 2024
074c5c3
feat: introduce external context GAT in ConfigureEvm (#7842)
Rjected May 1, 2024
fb960fb
refactor: remove _args prefix from modules in node_core (#8015)
estensen May 1, 2024
f832b66
chore: rm uneccessary trait bounds (#8019)
mattsse May 1, 2024
99db2b3
feat(op): nonce replay (#7781)
emhane May 1, 2024
99924e4
perf(build): make maxperf-op (#7967)
emhane May 1, 2024
c1f5b45
fix(grafana): tx pool dashboard units (#8020)
emhane May 1, 2024
f157ec8
chore: remove redundant suffix in ChainPath methods (#8025)
DaniPopes May 1, 2024
399afd8
feat(node_builder): allow borrowing self in `ConfigureEvm::evm` (#8024)
DaniPopes May 1, 2024
0938504
chore: reduce number of Evm monomorphizations (#8030)
DaniPopes May 1, 2024
1c1cbe9
feat(pool): add `chain_id` to transaction mocks (#8031)
shekhirin May 1, 2024
9ae9af4
feat(pool): make mock transaction validator eth-compatible (#8034)
shekhirin May 1, 2024
9d2ca45
chore(engine): flatten fcu processing (#8027)
rkrasiuk May 1, 2024
f94ce6e
chore: cfg ImportOp behind optimism feature (#8033)
javamonn May 1, 2024
0aa7d4d
feat(rpc-builder): add tower layer for updating bearer token in auth …
sevazhidkov May 1, 2024
2334317
chore: deduplicate fork timestamp configuration in `ChainSpec` (#8038)
0xKitsune May 1, 2024
4f002f6
chore(engine): introduce blockchain tree action (#8029)
rkrasiuk May 2, 2024
bb7f113
feat: write pruning config if --full is present (#7938)
lakshya-sky May 2, 2024
978be33
chore(deps): rm builder dep (#8043)
mattsse May 2, 2024
10ef202
chore: update 1.0 release ETA to May (#8040)
raster21 May 2, 2024
7428573
feat(discv5): bootstrap cli (#8004)
emhane May 2, 2024
aba48a5
perf: add `ETL` to `init_from_state_dump` (#8022)
joshieDo May 2, 2024
f6649c3
docs(libmdbx): `static_files` -> `snapshots` (#8046)
shekhirin May 2, 2024
14d91c3
fix: make discv4 packets adhere to eip-8 (#8039)
onbjerg May 2, 2024
2eee192
fix: check for oob offset access in nippy jar (#8037)
onbjerg May 2, 2024
78f62dd
feat: add spawn_replay_transaction to EthTransactions (#8036)
javamonn May 2, 2024
1603113
docs(libmdbx): more `static_files` -> `snapshots` (#8047)
shekhirin May 2, 2024
e68ab2f
refactor: engine interceptors (#8048)
rkrasiuk May 2, 2024
2af2f0b
chore(engine): new payload blockchain tree action (#8041)
rkrasiuk May 2, 2024
7845c9c
minor typo fix (#8052)
rupam-04 May 2, 2024
5378dd7
feat: new payload skipper (#8050)
rkrasiuk May 2, 2024
0e3f031
feat(engine): make new payload canonical action (#8042)
rkrasiuk May 2, 2024
29be407
fix(op): bootnodes (#7990)
emhane May 2, 2024
9eb7d96
integrate FullNodeComponents in exexcomponents (#8051)
lakshya-sky May 2, 2024
e90dc44
feat: remove field ```max_gas_limit``` from ```BasicPayloadJobGenerat…
rupam-04 May 2, 2024
1a1c24b
dropped ```RUST_LOG=info``` from recommended commands (#8054)
rupam-04 May 2, 2024
232e7bf
feat(cli): make `db stats` non-detailed by default (#8056)
shekhirin May 2, 2024
2ac2433
feat(examples): add blob support to the rollup ExEx (#8028)
shekhirin May 2, 2024
a590ed7
chore(discv5): pub methods (#8057)
emhane May 2, 2024
aef1bcc
chore: make clippy happy (#8068)
rkrasiuk May 3, 2024
ec45ae6
chore: log only number & hash when skipping payload (#8069)
rkrasiuk May 3, 2024
067b0ff
feat: integrate ExecutorProvider (#7798)
mattsse May 3, 2024
90f3161
chore: remove InspectorStack (#8073)
mattsse May 3, 2024
f20e4cb
debt(discv5): discv5 integration into network (#8065)
emhane May 3, 2024
43599f9
chore: move node-ethereum to ethereum/node (#8076)
mattsse May 3, 2024
1cf65e3
feat(op): pass unverifiable ENRs to rlpx (#8059)
emhane May 3, 2024
d9f4adc
chore(deps): bump alloy, evm-inspectors (#8077)
fgimenez May 3, 2024
66f7083
chore: move dao hardfork constants to evm-ethereum (#8078)
mattsse May 3, 2024
ead753d
fix(cli): debug merkle script (#8067)
rkrasiuk May 3, 2024
f8cd8c5
feat: add helper functions for batch executor (#8087)
mattsse May 4, 2024
82e4ad9
docs(book): update CLI (#8093)
shekhirin May 4, 2024
ac1d532
chore: rm unused file (#8096)
mattsse May 4, 2024
2c70e2a
feat: rm reth-primitives dep (#8097)
mattsse May 4, 2024
bff14c6
chore: rm leftover peer.rs file (#8098)
mattsse May 4, 2024
4b78706
chore(cli): fix displayed block range in merkle debug script (#8091)
rkrasiuk May 4, 2024
d019961
replace U64 fields with primitive u64 (#8099)
guha-rahul May 4, 2024
101e99f
ci: remove check-cfg job (#8106)
DaniPopes May 5, 2024
fa59ec8
chore(deps): weekly `cargo update` (#8104)
github-actions[bot] May 5, 2024
1995035
chore: bump alloy 0bb7604 (#8107)
mattsse May 5, 2024
8f8b29b
refactor: replace futures_util pin and tokio_pin with std pin (#8109)
May 6, 2024
f83a872
feat: improve exex examples' validation (#8116)
0xalpharush May 6, 2024
68920b8
feat: add exex for in memory state (#8108)
mattsse May 6, 2024
00a02f5
chore: remote `try_` prefix from block to payload conversion methods …
rkrasiuk May 6, 2024
1d9894f
chore: bump alloy 17c5650 (#8118)
fgimenez May 6, 2024
7fd0915
fix(rpc_server): remember to set ipc config for auth server (#8120)
hai-rise May 6, 2024
5e77831
convert ```OptimismBlockExecution``` error variant into a general pur…
rupam-04 May 6, 2024
b77473c
fix: add checks for hardfork-specific fields to ensure_well_formed_pa…
fgimenez May 6, 2024
614e1bc
chore: move NodeRecord type (#8121)
mattsse May 6, 2024
c70b17a
feat: prague engine api types (#8119)
onbjerg May 6, 2024
16f85c4
fix(discv5): decouple rlpx & discv5 ipmode (#8080)
emhane May 6, 2024
47dade7
fix: set mainnet timestamps in op chainspecs for consensus checks (#8…
Rjected May 6, 2024
077f731
fix: ensure valid parent hash in prepare_invalid_response (#8123)
fgimenez May 6, 2024
c79c188
fix(discv5): no address cli arg (#8130)
emhane May 6, 2024
6f72c0a
cli(op): simplify init-state cmd (#8126)
emhane May 6, 2024
5f82993
chore: replace beacon types (#8125)
mattsse May 6, 2024
5b4e10c
Add helpful text for tx pool flags in reth --help (#8134)
guha-rahul May 7, 2024
cbc6f26
replace reth BlobTransactionSidecar with alloy's (#8135)
guha-rahul May 7, 2024
f281bbd
fix(op): stages checkpoints init-state (#8021)
emhane May 7, 2024
bcb0bff
chore: rm redundant optimism feature (#8136)
mattsse May 7, 2024
05e434e
feat: rm txmeta associated type (#8138)
mattsse May 7, 2024
a2623e8
fix: ensures that pruning data from static files only happens on call…
joshieDo May 7, 2024
00f9acb
chore: remove reth-revm optimism (#8141)
mattsse May 7, 2024
e172a8e
Move and rename ```BeaconConsensus``` to ```EthBeaconConsensus``` (#8…
rupam-04 May 7, 2024
1188898
fix(net): max inflight requests (#8139)
emhane May 7, 2024
7c4d37b
perf(net): constraint algorithm fill request with hashes (#8142)
emhane May 7, 2024
9bd74fd
fix: use `--syncmode=execution-layer` from `op-node` for optimistic p…
joshieDo May 7, 2024
0ad9c78
feat(op): import receipts (#7914)
emhane May 7, 2024
a7d8da5
feat(grafana): State & History panel (#8144)
emhane May 8, 2024
8954ffb
chore(grafana): dashboard names like public (#8148)
emhane May 8, 2024
6a6fe4c
fix(discv5): update metrics wrt unverifiable enrs (#8149)
emhane May 8, 2024
ad00e83
chore: move dashmap to workspace dep (#8153)
mattsse May 8, 2024
04d2c10
chore: rm outdated executor types (#8157)
mattsse May 8, 2024
72e5122
fix: prevents potential arithmetic underflow (#8156)
fgimenez May 8, 2024
18b7edb
fix(examples): ExEx rollup reverts (#8151)
shekhirin May 8, 2024
bdb8238
chore: remove type aliases (#8155)
mattsse May 8, 2024
331d1a0
feat(ci): add op-reth to release workflow (#8132)
Rjected May 8, 2024
d852f7f
chore(op): simplify op cli args (#8146)
emhane May 8, 2024
db86820
feat: introduce statewriter trait (#8160)
mattsse May 8, 2024
dd7c021
feat: feature gate rpc-types import for alloy conversions (#7963)
andrzejSulkowski May 8, 2024
d467744
release: v0.2.0-beta.7 (#8164)
Rjected May 8, 2024
aa07257
fix: use op-build instead of build-op in release workflow (#8167)
Rjected May 8, 2024
1184e8c
chore: use `NoopBodiesDownloader` & `NoopHeaderDownloader` on `stage …
joshieDo May 9, 2024
539c702
fix: use configs object list in matrix to release all platforms (#8179)
Rjected May 9, 2024
4bbc850
chore(pruner): set default timeout to `None` on `PrunerBuilder` (#8181)
joshieDo May 9, 2024
87fee5e
fix: use yaml lists instead of objects in release.yml (#8182)
Rjected May 9, 2024
ee3c939
chore(deps): remove outdated dev dep and comment (#8184)
DaniPopes May 9, 2024
ad54af8
fix: copy and prune data from database with `move_to_static_files`,…
joshieDo May 9, 2024
e6fe864
fix: use --show-sdk-platform-version instead of os-version (#8185)
Rjected May 9, 2024
a44e085
fix: do not use cross for x86_64 apple darwin (#8189)
Rjected May 9, 2024
aadf535
Merge pull request #7 from bnb-chain/merge_v0.2.0-beta.7
unclezoro May 11, 2024
b608fc4
Merge v0.2.0 beta.7 with opbnb support (#10)
keefel May 21, 2024
3c9d4a9
prepare for v0.1.0-beta.1 (#13)
keefel May 21, 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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = .git,target,./crates/storage/libmdbx-rs/mdbx-sys/libmdbx,Cargo.toml,Cargo.lock
ignore-words-list = crate,ser,ratatui
13 changes: 10 additions & 3 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ body:
attributes:
value: |
Thanks for taking the time to fill out this bug report! Please provide as much detail as possible.

If you believe you have found a vulnerability, please provide details [here](mailto:[email protected]) instead.
- type: textarea
id: what-happened
attributes:
label: Describe the bug
description: |
A clear and concise description of what the bug is.

If the bug is in a crate you are using (i.e. you are not running the standard `reth` binary) please mention that as well.
validations:
required: true
Expand All @@ -25,7 +25,7 @@ body:
description: Please provide any steps you think might be relevant to reproduce the bug.
placeholder: |
Steps to reproduce:

1. Start '...'
2. Then '...'
3. Check '...'
Expand Down Expand Up @@ -76,6 +76,13 @@ body:
description: This can be obtained with `reth db version`
validations:
required: true
- type: textarea
id: network
attributes:
label: Which chain / network are you on?
description: This is the argument you pass to `reth --chain`. If you are using `--dev`, type in 'dev' here. If you are not running with `--chain` or `--dev` then it is mainnet.
validations:
required: true
- type: dropdown
id: node-type
attributes:
Expand Down
20 changes: 15 additions & 5 deletions .github/scripts/label_pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,28 @@ function shouldIncludeLabel (label) {
return !isStatus && !isTrackingIssue && !isPreventStale && !isDifficulty;
}

// Get the issue number from an issue link in the forms `<keyword> <issue url>` or `<keyword> #<issue number>`.
function getIssueLink (repoUrl, body) {
const urlPattern = new RegExp(`(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved) ${repoUrl}/issues/(?<issue_number>\\d+)`, 'i')
const issuePattern = new RegExp(`(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved) \#(?<issue_number>\\d+)`, 'i')

const urlRe = body.match(urlPattern);
const issueRe = body.match(issuePattern);
if (urlRe?.groups?.issue_number) {
return urlRe.groups.issue_number
} else {
return issueRe?.groups?.issue_number
}
}

module.exports = async ({ github, context }) => {
try {
const prNumber = context.payload.pull_request.number;
const prBody = context.payload.pull_request.body;
const repo = context.repo;

const repoUrl = context.payload.repository.html_url;
const pattern = new RegExp(`(close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved) ${repoUrl}/issues/(?<issue_number>\\d+)`, 'i')

const re = prBody.match(pattern);
const issueNumber = re?.groups?.issue_number;

const issueNumber = getIssueLink(repoUrl, prBody);
if (!issueNumber) {
console.log('No issue reference found in PR description.');
return;
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ on:
env:
REPO_NAME: ${{ github.repository_owner }}/reth
IMAGE_NAME: ${{ github.repository_owner }}/reth
OP_IMAGE_NAME: ${{ github.repository_owner }}/op-reth
CARGO_TERM_COLOR: always
DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/reth
OP_DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/op-reth
DOCKER_USERNAME: ${{ github.actor }}

jobs:
Expand All @@ -36,9 +38,15 @@ jobs:
run: |
docker run --privileged --rm tonistiigi/binfmt --install arm64,amd64
docker buildx create --use --name cross-builder
- name: Build and push image, tag as "latest"
- name: Build and push reth image, tag as "latest"
if: ${{ contains(github.event.ref, 'beta') }}
run: make PROFILE=maxperf docker-build-push-latest
- name: Build and push image
- name: Build and push reth image
if: ${{ ! contains(github.event.ref, 'beta') }}
run: make PROFILE=maxperf docker-build-push
- name: Build and push op-reth image, tag as "latest"
if: ${{ contains(github.event.ref, 'beta') }}
run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push-latest
- name: Build and push op-reth image
if: ${{ ! contains(github.event.ref, 'beta') }}
run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push
16 changes: 9 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ concurrency:
jobs:
test:
name: test / ${{ matrix.network }}
runs-on:
group: Reth
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
strategy:
matrix:
network: ["ethereum", "optimism"]
include:
- network: ethereum
extra-features: ""
- network: optimism
extra-features: "opbnb"
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -40,21 +43,20 @@ jobs:
name: Run tests
run: |
cargo nextest run \
--locked --features "asm-keccak ${{ matrix.network }}" \
--locked --features "asm-keccak ${{ matrix.network }} ${{ matrix.extra-features }}" \
--workspace --exclude examples --exclude ef-tests \
-E "kind(test)"
- if: matrix.network == 'optimism'
name: Run tests
run: |
cargo nextest run \
--locked -p reth-node-optimism --features "optimism"
--locked -p reth-node-optimism --features "optimism ${{ matrix.extra-features }}"

sync:
name: sync / 100k blocks
# Only run sync tests in merge groups
if: github.event_name == 'merge_group'
runs-on:
group: Reth
runs-on: ubuntu-latest
env:
RUST_LOG: info,sync=error
RUST_BACKTRACE: 1
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ jobs:
include:
- binary: reth
network: ethereum
extra-features: ""
- binary: op-reth
network: optimism
extra-features: "opbnb"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run:
cargo clippy --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }} asm-keccak jemalloc jemalloc-prof min-error-logs min-warn-logs min-info-logs min-debug-logs min-trace-logs"
- run: cargo clippy --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }} ${{ matrix.extra-features }} asm-keccak jemalloc jemalloc-prof min-error-logs min-warn-logs min-info-logs min-debug-logs min-trace-logs"
env:
RUSTFLAGS: -D warnings

Expand Down Expand Up @@ -67,8 +68,10 @@ jobs:
include:
- binary: reth
network: ethereum
extra-features: ""
- binary: op-reth
network: optimism
extra-features: "opbnb"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand All @@ -77,7 +80,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo build --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }}"
- run: cargo build --bin "${{ matrix.binary }}" --workspace --features "${{ matrix.network }} ${{ matrix.extra-features }}"
env:
RUSTFLAGS: -D warnings

Expand All @@ -95,9 +98,7 @@ jobs:
env:
# Keep in sync with ./book.yml:jobs.build
# This should only add `-D warnings`
RUSTDOCFLAGS:
--cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page
-Zunstable-options -D warnings
RUSTDOCFLAGS: --cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page -Zunstable-options -D warnings

fmt:
name: fmt
Expand All @@ -110,6 +111,12 @@ jobs:
components: rustfmt
- run: cargo fmt --all --check

codespell:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: codespell-project/actions-codespell@v2

grafana:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand All @@ -124,7 +131,7 @@ jobs:
name: lint success
runs-on: ubuntu-latest
if: always()
needs: [clippy-binaries, clippy, crate-checks, docs, fmt, grafana]
needs: [clippy-binaries, clippy, crate-checks, docs, fmt, codespell, grafana]
timeout-minutes: 30
steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Update Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.HOMEBREW }}
no_fork: true
tap: paradigmxyz/brew
formula: reth
36 changes: 21 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
REPO_NAME: ${{ github.repository_owner }}/reth
OP_IMAGE_NAME: ${{ github.repository_owner }}/op-reth
IMAGE_NAME: ${{ github.repository_owner }}/reth
CARGO_TERM_COLOR: always

Expand All @@ -26,11 +27,11 @@ jobs:

build:
name: build release
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.configs.os }}
needs: extract-version
strategy:
matrix:
include:
configs:
- target: x86_64-unknown-linux-gnu
os: ubuntu-20.04
profile: maxperf
Expand All @@ -46,29 +47,34 @@ jobs:
- target: x86_64-pc-windows-gnu
os: ubuntu-20.04
profile: maxperf
build:
- command: build
binary: reth
- command: op-build
binary: op-reth
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.target }}
target: ${{ matrix.configs.target }}
- uses: taiki-e/install-action@cross
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Apple M1 setup
if: matrix.target == 'aarch64-apple-darwin'
if: matrix.configs.target == 'aarch64-apple-darwin'
run: |
echo "SDKROOT=$(xcrun -sdk macosx --show-sdk-path)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-os-version)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version)" >> $GITHUB_ENV

- name: Build Reth
run: make PROFILE=${{ matrix.profile }} build-${{ matrix.target }}
run: make PROFILE=${{ matrix.configs.profile }} ${{ matrix.build.command }}-${{ matrix.configs.target }}
- name: Move binary
run: |
mkdir artifacts
[[ "${{ matrix.target }}" == *windows* ]] && ext=".exe"
mv "target/${{ matrix.target }}/${{ matrix.profile }}/reth${ext}" ./artifacts
[[ "${{ matrix.configs.target }}" == *windows* ]] && ext=".exe"
mv "target/${{ matrix.configs.target }}/${{ matrix.configs.profile }}/${{ matrix.build.binary }}${ext}" ./artifacts

- name: Configure GPG and create artifacts
env:
Expand All @@ -78,22 +84,22 @@ jobs:
export GPG_TTY=$(tty)
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --batch --import
cd artifacts
tar -czf reth-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.target }}.tar.gz reth*
echo "$GPG_PASSPHRASE" | gpg --passphrase-fd 0 --pinentry-mode loopback --batch -ab reth-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.target }}.tar.gz
tar -czf ${{ matrix.build.binary }}-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.configs.target }}.tar.gz ${{ matrix.build.binary }}*
echo "$GPG_PASSPHRASE" | gpg --passphrase-fd 0 --pinentry-mode loopback --batch -ab ${{ matrix.build.binary }}-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.configs.target }}.tar.gz
mv *tar.gz* ..
shell: bash

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: reth-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.target }}.tar.gz
path: reth-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.target }}.tar.gz
name: ${{ matrix.build.binary }}-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.configs.target }}.tar.gz
path: ${{ matrix.build.binary }}-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.configs.target }}.tar.gz

- name: Upload signature
uses: actions/upload-artifact@v4
with:
name: reth-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.target }}.tar.gz.asc
path: reth-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.target }}.tar.gz.asc
name: ${{ matrix.build.binary }}-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.configs.target }}.tar.gz.asc
path: ${{ matrix.build.binary }}-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.configs.target }}.tar.gz.asc

draft-release:
name: draft release
Expand Down Expand Up @@ -184,7 +190,7 @@ jobs:
ENDBODY
)
assets=()
for asset in ./reth-*.tar.gz*; do
for asset in ./*reth-*.tar.gz*; do
assets+=("$asset/$asset")
done
tag_name="${{ env.VERSION }}"
Expand Down
Loading
Loading