Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
257 commits
Select commit Hold shift + click to select a range
a8e0880
chore(ci): run check and clippy on tests and benches too (#4587)
shekhirin Sep 14, 2023
455af56
fix(ci): valgrind installation (#4605)
rkrasiuk Sep 15, 2023
6b8db8a
fix(txpool): pending subpool basefee update (#4610)
rkrasiuk Sep 15, 2023
ee85fa3
test: add blob exclusive test e2e (#4606)
mattsse Sep 15, 2023
b156cb9
feat: add blob transactions subpool (#4608)
mattsse Sep 15, 2023
a572c3b
Make tx pool mock public (#4611)
MetaB0y Sep 15, 2023
873b6f7
fix: holesky genesis (#4616)
rkrasiuk Sep 15, 2023
357301c
fix: return UnsupportedFork on V2 endpoints (#4593)
Rjected Sep 15, 2023
62e7d98
feat(cli): allow multiple trusted peers (#4619)
hack3r-0m Sep 15, 2023
f153d8f
feat(revm): Integrate State (#3512)
rakita Sep 16, 2023
ae0d524
chore(deps): bump jsonrpsee 0.20.1 (#4624)
mattsse Sep 16, 2023
5cb9a7d
Merge branch 'main' into clabby/op-reth
clabby Sep 16, 2023
f7b28e5
fix: apply FCU on invalid PayloadAttributes (#4591)
Rjected Sep 16, 2023
a55f48c
chore(deps): weekly `cargo update` (#4627)
github-actions[bot] Sep 17, 2023
16072b9
4844 blob txs (#4631)
supernovahs Sep 18, 2023
8baf234
chore: demote session established log level (#4564)
rkrasiuk Sep 18, 2023
cbb7434
test: add assert_invariants (#4623)
mattsse Sep 18, 2023
aeb37aa
fix: fill missing eip4844 settings (#4633)
mattsse Sep 18, 2023
6658920
feat: enable size-limited file logs by default (#4192)
onbjerg Sep 18, 2023
93ccf41
perf(rpc): fetch range of blocks and return empty if unchanged (#4592)
mattsse Sep 18, 2023
69045fd
chore: get rid of unreachable (#4638)
mattsse Sep 18, 2023
20455d0
refactor: use revm blob fee calc (#4637)
mattsse Sep 18, 2023
cabb5be
fix: use proper type for engine_newPayloadV2 (#4630)
Rjected Sep 18, 2023
4aa3ebd
chore: fix doc lints (#4639)
shekhirin Sep 18, 2023
b5905c4
feat(bin): log prune config on startup (#4641)
shekhirin Sep 18, 2023
50fd69b
Some conflict resolution
clabby Sep 18, 2023
78edae4
feat(prune): add pruner log with `INFO` level (#4573)
tcoratger Sep 18, 2023
11f5f3f
feat(engine): hooks (#4582)
shekhirin Sep 18, 2023
733ee19
refactor(bin): CL events conditions (#4643)
shekhirin Sep 18, 2023
55339d7
feat: add max logs per response cli arg (#4644)
mattsse Sep 18, 2023
394a3a9
feat(rpc): split `test_fee_history` in multiple tests (#4646)
tcoratger Sep 18, 2023
11ee5d7
fix: typos (#4648)
omahs Sep 19, 2023
d846199
refactor: remove duplicate RPC namespaces from arguments (#4418)
ungaro Sep 19, 2023
a96dbb4
perf: optimize engine poll loop (#4655)
mattsse Sep 19, 2023
a80b720
feat: add pre-block EIP-4788 beacon root contract call (#4457)
Rjected Sep 19, 2023
1406142
fix: clear buffered blocks on sync (#4658)
mattsse Sep 19, 2023
57c10e5
refactor(engine, tree): connect buffered blocks on pruner finish (#4613)
shekhirin Sep 19, 2023
8012942
feat: Duplicate Withdrawal and move try from impls to rpc-compat (#4186)
supernovahs Sep 19, 2023
449a9c0
fix: deny unknown payload fields (#4667)
Rjected Sep 19, 2023
ad10a17
fix: set block env excess blob gas (#4672)
mattsse Sep 19, 2023
24d7bde
fix: convert SpecId::Cancun to cancun precompile id (#4675)
mattsse Sep 19, 2023
a964a7e
feat(net): add helper functions to `TransactionsHandle` implementatio…
tcoratger Sep 20, 2023
a979f5b
add `TransactionsProvider` implementation for `MockEthProvider` (#4656)
alessandromazza98 Sep 20, 2023
0fbc3f6
chore: shorten info interval (#4666)
mattsse Sep 20, 2023
ec4b302
feat: add pyspec cancun tests to hive workflow (#4677)
Rjected Sep 20, 2023
24a8590
feat: validate blob_gas_used in header (#4676)
Rjected Sep 20, 2023
afbe88f
feat(error): revamp `make_canonical` error (#3899)
tcoratger Sep 20, 2023
6016da7
refactor(engine): always connect buffered blocks on r/w hook finish (…
shekhirin Sep 20, 2023
0874767
refactor(interfaces): `Result` -> `RethResult`, `Error` -> `RethError…
shekhirin Sep 20, 2023
1962014
feat(primitives): add `calculate_blob_gas_used` function in `SealedBl…
tcoratger Sep 20, 2023
0a17bc6
chore: update revm and map new errors to rpc (#4696)
Rjected Sep 20, 2023
b870a4e
feat(interfaces): better document `BlockchainTreeError` (#4693)
tcoratger Sep 20, 2023
a52b433
feat(book): update CLI section (#4694)
shekhirin Sep 20, 2023
1718f14
feat: add enough blob fee tx state (#4680)
mattsse Sep 20, 2023
30b4ddb
fix: add CANCUN to revm_spec_by_timestamp_after_merge (#4699)
Rjected Sep 20, 2023
a29f102
chore: simplify get precompiles (#4681)
mattsse Sep 20, 2023
f00df57
fix: add excess_blob_gas for first cancun block (#4700)
Rjected Sep 21, 2023
6d3e229
feat(interfaces): move `BlockHashNotFoundInChain` to `BlockchainTreeE…
tcoratger Sep 21, 2023
cf5d0e2
chore: fix non_snake_case rust-analyzer warning (#4689)
DaniPopes Sep 21, 2023
5be8ae4
refactor(engine): update sync state for r/w hooks (#4687)
shekhirin Sep 21, 2023
8cb28a7
fix: bump revm with breaking change (#4706)
mattsse Sep 21, 2023
5779fa4
feat(interfaces): better doc for `BlockValidationError` and `BlockExe…
tcoratger Sep 21, 2023
5c3d7d0
(chore) surface block hash for MissingTotalDifficulty error (#4711)
0xprames Sep 21, 2023
6a60175
fix: make into_transaction fallible (#4710)
DaniPopes Sep 21, 2023
9c51a0a
(chore) Add enode address on startup (#4712)
0xprames Sep 21, 2023
acd7470
fix(tree): retain `max(additional, max_reorg_depth)` block hashes (#4…
shekhirin Sep 21, 2023
070554a
feat: add updated beacon root contract address (#4665)
Rjected Sep 21, 2023
bb0da4a
feat: enable EIP-7516 hive tests (#4717)
Rjected Sep 21, 2023
aab57b5
fix: pin revm until we move to crates deps again (#4707)
mattsse Sep 21, 2023
48231c8
remove deprecated log line (#4719)
idatsy Sep 21, 2023
7a5b631
feat: add `nippy-jar` format for snapshots (#4512)
joshieDo Sep 21, 2023
e83d3aa
chore: bump revm (#4723)
Rjected Sep 22, 2023
ad9235b
feat(interfaces): better documentation for `ConsensusError` (#4725)
tcoratger Sep 22, 2023
a792841
feat: add merge and pre-merge pyspec jobs (#4726)
Rjected Sep 22, 2023
995986e
chore: fix flaky test (#4729)
mattsse Sep 22, 2023
64aba9c
feat(CI): add timeout to CI (#4728)
tcoratger Sep 22, 2023
5c028cc
fix: add slash to match only fork suites (#4732)
Rjected Sep 22, 2023
b6e452b
fix: allow unknown fields in ExecutionPayloadV1 (#4733)
Rjected Sep 22, 2023
3018054
support EIP-4844 transaction when building pending block (#4688)
alessandromazza98 Sep 22, 2023
675c6bf
perf/refactor: use tokio_util::sync::PollSender for ActiveSession -> …
cbrit Sep 22, 2023
344ffbd
fix(hive): jobs need experimental flag (#4744)
Rjected Sep 23, 2023
c24a6b2
feat(txpool) add blob transaction sidecar listeners (#4722)
0xprames Sep 23, 2023
b7a6eed
fix: export self::zstd (#4747)
mattsse Sep 23, 2023
2de29fb
(chore) fix reth book dockercmd with correct datadir path for volume …
0xprames Sep 24, 2023
0a4e428
Example: Manual P2P (#4736)
mouseless0x Sep 24, 2023
7a0781c
fix: block overrides inconsistencies (#4746)
mattsse Sep 24, 2023
2ddca43
fix: add hive job experimental flag again (#4756)
Rjected Sep 24, 2023
f67f850
Callrequest fee validation (#4685)
supernovahs Sep 25, 2023
1b17453
chore: pin breaking icu releases (#4760)
mattsse Sep 25, 2023
0f9def0
perf: remove unnecessary state clone (#4763)
rkrasiuk Sep 25, 2023
b701cbc
release: v0.1.0-alpha.9 (#4766)
rkrasiuk Sep 25, 2023
8f9d290
chore: add and fix more lints, improve docs (#4765)
DaniPopes Sep 25, 2023
f873a20
fix(book): default identity (#4767)
shekhirin Sep 25, 2023
1fdd602
feat(docs): mention brew tap in release.md (#4768)
shekhirin Sep 25, 2023
371388d
fix generate-jwt.sh for zsh users (#4769)
clifton Sep 25, 2023
272f062
chore: add missing builder functions (#4770)
mattsse Sep 25, 2023
1f33cb5
feat: update genesis for holesky (#4773)
Rjected Sep 25, 2023
6d634e9
test: disable discovery for test_listener_addr_in_use (#4774)
mattsse Sep 25, 2023
faf9a89
chore(cancun): beacon root address update (#4784)
rkrasiuk Sep 26, 2023
dae31fa
chore: timestamp fork activation semantics (#4785)
rkrasiuk Sep 26, 2023
7024e9a
chore(dep): reth db workspace (#4782)
rkrasiuk Sep 26, 2023
0a1e2c3
fix: pass feature flag to iai bench (#4791)
rkrasiuk Sep 26, 2023
ff27ecc
chore(primitives): root calculation using `HashBuilder` (#4780)
rkrasiuk Sep 26, 2023
d970fff
chore: lower cargo-deny license confidence (#4793)
DaniPopes Sep 26, 2023
6e928f0
chore: add missing builder fn for outbound dials (#4786)
mattsse Sep 26, 2023
e255dd8
test: flaky geth test (#4800)
mattsse Sep 26, 2023
321ded5
feat(network): implement `PropagateHashTo` helper in `TransactionsCom…
duguorong009 Sep 26, 2023
a2c5a5c
chore: make proto module pub (#4788)
mattsse Sep 26, 2023
4603dc3
chore: unhide clippy config file (#4794)
DaniPopes Sep 26, 2023
29a5201
fix typo as_eip2930 (#4801)
AtomicAzzaz Sep 26, 2023
f7c3bbc
test: replace unused_tcp_udp with port 0 (#4805)
mattsse Sep 26, 2023
d0ef5af
chore(primitives): move `KeccakHasher` behind `test-utils` feature fl…
rkrasiuk Sep 26, 2023
5e01a21
chore(tree, engine, prune, stages, storage): improve logs (#4790)
shekhirin Sep 26, 2023
eb6dc51
fix: ensure no blob transactions in payloads pre-cancun (#4779)
Rjected Sep 26, 2023
1b16d80
release: v0.1.0-alpha.10 (#4781)
rkrasiuk Sep 26, 2023
4dbd883
feat(primitives): remove `mod ethers_compat` (#4771)
tcoratger Sep 26, 2023
b994d15
chore: silence unused warning (#4817)
mattsse Sep 27, 2023
66fc196
feat: add block_range provider function (#4819)
mattsse Sep 27, 2023
5b2c03a
feat(provider): query block range using cursors (#4821)
rkrasiuk Sep 27, 2023
ac6570f
feat: add blob subpool variants and state (#4824)
mattsse Sep 27, 2023
0cdd302
feat: create a `NippyJar` snapshot from multiple `Table` (#4716)
joshieDo Sep 27, 2023
6d02811
chore(deps): dedup c-kzg by unpinning it (#4827)
DaniPopes Sep 27, 2023
29d66a1
fix: use u64 nonce field for prestate (#4825)
mattsse Sep 27, 2023
61a1ac9
fix(rpc): use nested lists for debug_traceCallMany (#4820)
mattsse Sep 27, 2023
2138a8b
feat(primitives): add `Receipts` to encapsulate `Vec<Vec<Option<Recei…
tcoratger Sep 27, 2023
50175f8
fix: omit empty fields of AccountState (#4828)
mattsse Sep 27, 2023
ec25f49
chore(deps): bump boa (#4787)
mattsse Sep 28, 2023
8e9937b
ci: minor fixes (#4831)
DaniPopes Sep 28, 2023
2fb582e
Merge branch 'main' into clabby/revm-state-integration-updates
clabby Sep 28, 2023
a50f574
Start more resolution
clabby Sep 28, 2023
73db2d8
Update private-testnet.md (#4836)
mohasdev Sep 28, 2023
a4e7760
fix(bin): warn about CL health only when pipeline is idle (#4835)
shekhirin Sep 28, 2023
b85aa94
docs: paradigmxzy -> paradigmxyz (#4837)
shekhirin Sep 28, 2023
216effd
feat: add hivetests profile (#4833)
Rjected Sep 28, 2023
3ef0364
default RPC limit (#4838)
DoTheBestToGetTheBest Sep 28, 2023
5f9a917
feat: Alloy migration (#4737)
DaniPopes Sep 28, 2023
c6ef9d7
fix: remove zero-amount withdrawals before incrementing balances (#4840)
Rjected Sep 28, 2023
486b289
chore: bump c-kzg to crate version (#4841)
rakita Sep 28, 2023
f534b40
fix: do not validate increasing withdrawal indexes (#4844)
Rjected Sep 28, 2023
760a515
feat(engine, snapshot): snapshot hook (#4690)
shekhirin Sep 28, 2023
6d7dacf
docs: add holesky to list of chains in cli docs (#4842)
jgresham Sep 28, 2023
0adc856
feat(primitives): increase minimum pruning distance (#4750)
shekhirin Sep 28, 2023
ad78d4c
fix: return INVALID again if block contains blob transactions pre-can…
Rjected Sep 28, 2023
3887a18
fix(snapshot): debug assertion methods (#4846)
shekhirin Sep 28, 2023
e84adc5
fix(engine): return sync state back to Idle when hook finishes (#4847)
shekhirin Sep 28, 2023
8f3e4a1
feat(engine): poll running hook between CL messages (#4839)
shekhirin Sep 29, 2023
6b29454
feat(snapshot, prune): highest snapshots tracker (#4721)
shekhirin Sep 29, 2023
25aed7b
feat(tx-pool): Add new TransactionPool trait for getting the best tra…
PanGan21 Sep 29, 2023
53ff254
fix(snapshot): debug assertion methods (#4851)
shekhirin Sep 29, 2023
bbe54eb
chore: downgrade spammy log (#4853)
mattsse Sep 29, 2023
3c681fa
feat: add NoopBlockchainTree (#4852)
mattsse Sep 29, 2023
23d2baf
Add an ability to change P2P listening address (#4849)
Sep 29, 2023
8f6a33b
chore(`deps`): change revm to use evalir/revm instead of dani branch …
Evalir Sep 29, 2023
ce85e17
fix(bin): latest block in status message (#4856)
shekhirin Sep 29, 2023
8fd27a4
fix: return gas per tx in error (#4858)
rakita Sep 29, 2023
a046288
fix: unwrap latest block for cli log (#4859)
mattsse Sep 29, 2023
702d04b
chore(deps): rm hashbrown dep (#4861)
mattsse Sep 29, 2023
01b264a
chore(deps): bump Alloy to 0.4 and remove patch (#4862)
DaniPopes Sep 30, 2023
05198e9
feat(network): PropagateTransactionsTo implementation (#4772)
SleepingShell Sep 30, 2023
fd697d9
Changes to enable validation api extension (#4783)
ckoopmann Sep 30, 2023
858ea41
fix(tx-pool) make BestTransactionsAttributes public (#4870)
AtomicAzzaz Oct 1, 2023
b273eeb
chore(deps): weekly `cargo update` (#4866)
github-actions[bot] Oct 2, 2023
3bd6079
Add test to example rpc extension (#4872)
ckoopmann Oct 2, 2023
602e775
fix(execution): reset tx env blob settings (#4873)
rkrasiuk Oct 2, 2023
fbfca3f
feat: add sync fn to send a lookup message (#4875)
mattsse Oct 2, 2023
f59db31
chore(deps): move more things to workspace (#4881)
mattsse Oct 2, 2023
08c5c43
fix: check active hardforks using head block for validator (#4882)
mattsse Oct 2, 2023
74808ed
feat: support trace_filter (#4818)
mattsse Oct 2, 2023
6f4febc
feat: add discv4 terminate (#4879)
DoTheBestToGetTheBest Oct 3, 2023
6396e3f
Update private-testnet.md (#4886)
abhijeetbhagat Oct 3, 2023
2cddd0f
Add ChainSpec::hardfork_fork_id and ChainSpec::shanghai_fork_id helpe…
0xprames Oct 3, 2023
b1a7a87
chore: bump revm (#4884)
Rjected Oct 3, 2023
d3cc4cc
refactor: move broadcast channel init into tree (#4894)
mattsse Oct 3, 2023
081d71e
change transaction value fields from u128 to a wrapper-type of U256 (…
Oct 4, 2023
afebb2b
intrinsic gas check (#4867)
supernovahs Oct 4, 2023
5f56e52
chore: add dedicated send functions (#4903)
mattsse Oct 4, 2023
1c39b37
fix: export everything from traits mod (#4900)
mattsse Oct 4, 2023
e93edfc
chore: return empty vec if input vec is empty (#4906)
mattsse Oct 4, 2023
af8e3c9
feat(pruner): shared deletion limit (#4880)
shekhirin Oct 4, 2023
bf7b6f8
fix: manually implements `arbitrary` for `TxValue` (#4907)
joshieDo Oct 4, 2023
066998d
refactor: simplify RethNodeCommandConfig trait (#4895)
mattsse Oct 4, 2023
0a36bb6
Add input and accesslist to mock tx (#4904)
DoTheBestToGetTheBest Oct 5, 2023
2c4b8b7
fix: delegate all calls (#4915)
mattsse Oct 5, 2023
005ca66
chore: make unit type default (#4916)
mattsse Oct 5, 2023
4dceabf
fix: add blob_gas_used after succesful tx execution (#4913)
Rjected Oct 5, 2023
1e7d028
refactor(prune): segment trait, receipts impl (#4887)
shekhirin Oct 5, 2023
99dfad9
Simplify node components (#4922)
supernovahs Oct 5, 2023
442f28a
chore: rm redundant if empty check (#4923)
mattsse Oct 5, 2023
a9b09a7
chore: `BlobsBundle::take` (#4925)
rkrasiuk Oct 5, 2023
12c0bde
feat: add ipc path to config (#4920)
mattsse Oct 5, 2023
ec543ab
chore(payload): additional debug logs (#4926)
rkrasiuk Oct 5, 2023
50b5215
fix(engine): always push back hooks, add tests (#4924)
shekhirin Oct 5, 2023
49ac2f5
feat: add metrics to engine RPC API (#4912)
Rjected Oct 5, 2023
f18845d
impl for Eip2930 (#4927)
DoTheBestToGetTheBest Oct 5, 2023
50fa71d
feat(cli): debug build block (#4914)
rkrasiuk Oct 6, 2023
529635f
fix: always serialize zero balance (#4929)
mattsse Oct 6, 2023
9c8eca6
feat: add `reth db snapshot <TYPE>` command (#4889)
joshieDo Oct 6, 2023
c825aaf
fix: only accept rpc enveloped format for transactions in payload (#4…
Rjected Oct 6, 2023
36306ce
feat: add cli ext event hooks example (#4935)
mattsse Oct 6, 2023
851831f
fix: filter out unchanged account states in diff mode (#4931)
mattsse Oct 6, 2023
51ecf3e
fix: improve account diff populate (#4934)
mattsse Oct 6, 2023
6fd66b3
chore: update lock (#4942)
mattsse Oct 7, 2023
5de0443
fix(disc) Send find_node request only after verifiying our endpoint p…
0xprames Oct 7, 2023
537ad17
(chore) fix vergen git sha in docker (#4946)
0xprames Oct 7, 2023
98bc2b5
chore(deps): weekly `cargo update` (#4949)
github-actions[bot] Oct 8, 2023
18c4891
chore: add some geth tracer ergonomics (#4952)
mattsse Oct 8, 2023
9561f28
fix: improve eth_createAccessList (#4954)
yash-atreya Oct 9, 2023
670d459
Better topic0 (#4950)
supernovahs Oct 9, 2023
9ca0cdc
feat(prune): headers segment triggered by snapshots (#4936)
shekhirin Oct 9, 2023
e823c40
feat(prune): transactions segment (#4937)
shekhirin Oct 9, 2023
b62db45
builder functions for GethDefaultTracingOptions (#4956)
DoTheBestToGetTheBest Oct 9, 2023
ee5b8c9
fix: Match prestate tracer to Geth spec, fix storage diff misattribut…
mslipper Oct 9, 2023
450282c
Added trivial implementation of MockEthProvider for completeness. (#4…
PlamenHristov Oct 9, 2023
e474c0d
chore: phase out Substate::new (#4957)
mattsse Oct 9, 2023
1cccd09
perf: disable nagle algorithm for rlpx sessions (#4944)
mattsse Oct 9, 2023
67773ad
docs: fix typos (#4963)
vuittont60 Oct 10, 2023
eb22cde
fix: dockerignore comment (#4971)
mattsse Oct 10, 2023
fb96369
moving Log::from_primitive to rpc compat crate (#4968)
i-m-aditya Oct 10, 2023
c6531b4
feat: Feat/add on rpc server started hook (#4947)
allnil Oct 10, 2023
39f566e
fix: use correct payload length for blob pooled txs (#4972)
Rjected Oct 10, 2023
e042922
fix: use pending block tag for actual pending block (#4966)
mattsse Oct 11, 2023
00a92f5
chore: remove consensus generic (#4981)
mattsse Oct 11, 2023
b076a01
feat(test): add debug trace ext helpers (#4982)
mattsse Oct 11, 2023
a2c62cd
rpc tracing to workspace (#4986)
supernovahs Oct 11, 2023
65cc314
chore: rm redundant config (#4987)
mattsse Oct 11, 2023
1831197
refactor(prune): impl `Segment` for other prune segments (#4899)
shekhirin Oct 12, 2023
d2845af
minor doc update on how to run individual tests (#4990)
smatthewenglish Oct 12, 2023
bd7b8f5
notify full transaction listeners (4902) (#4978)
SleepingShell Oct 12, 2023
d2a967d
Large tx integration test (#4959)
mouseless0x Oct 12, 2023
505c6bc
docs: add note about ignore version field (#4994)
mattsse Oct 12, 2023
3a8c062
chore: simplify HashedCursorFactory trait (#4984)
robinsdan Oct 12, 2023
2dbd142
feat(bin, prune): pass prune segments from CLI & refactor modes (#4964)
shekhirin Oct 12, 2023
3ab8aec
chore: ask for node type in `bug.yml` issue template (#4988)
shekhirin Oct 12, 2023
f7bffee
chore: extract validate tx impl from trait impl (#4993)
mattsse Oct 12, 2023
422f38a
fix(ef-tests): seal engine typo and deserialization (#4997)
rkrasiuk Oct 12, 2023
d6ea90f
feat(ef-tests): validate state root (#4995)
rkrasiuk Oct 12, 2023
71ccd2a
chore: replace deprecated hub with gh for releases (#4996)
dutterbutter Oct 12, 2023
27a0a06
feat: add TreeState container type (#5000)
mattsse Oct 12, 2023
d3794f2
update trace_filter, trace block only to highest matching index (#4974)
smatthewenglish Oct 12, 2023
e86b80a
feat(bin, snapshot): `SnapshotSegment`, headers segment & refactors (…
shekhirin Oct 12, 2023
34bc498
Adding EthTransactionValidator::validate_all function (#5006)
DoTheBestToGetTheBest Oct 12, 2023
6c8c084
feat: track encoded length with pooled txs (#4976)
Rjected Oct 13, 2023
15fe5ed
chore: use new type for BlockchainId (#5012)
mattsse Oct 13, 2023
92ceb2f
EIP4844 variant to TypedTransactionRequest (#5005)
DoTheBestToGetTheBest Oct 13, 2023
411893e
feat: add validate transactions function (#5010)
mattsse Oct 13, 2023
920e3f0
perf: drop lock early (#5016)
mattsse Oct 13, 2023
48cf69d
chore(deps): move some deps to workspace (#5020)
mattsse Oct 14, 2023
3bf2c88
feat(rpc): move `trace_block_with` and `trace_block_until` to `EthTra…
tcoratger Oct 14, 2023
f431c14
Merge branch 'main' into clabby/revm-state-integration-updates
clabby Oct 14, 2023
5b09808
More rebasing
clabby Oct 14, 2023
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
docs = "doc --workspace --all-features --no-deps"
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
!deny.toml
!Makefile

# include for vergen constants
!/.git

# include dist directory, where the reth binary is located after compilation
!/dist

Expand Down
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,36 @@ body:
validations:
required: false
- type: input
id: client-version
attributes:
label: What version/commit are you on?
description: This can be obtained with `reth --version` or `git rev-parse HEAD` if you've built Reth from source
validations:
required: false
- type: textarea
id: database-version
attributes:
label: What database version are you on?
description: This can be obtained with `reth db version`
validations:
required: false
- type: dropdown
id: node-type
attributes:
label: What type of node are you running?
options:
- Archive (default)
- Full via --full flag
- Pruned with custom reth.toml config
validations:
required: false
- type: textarea
id: prune-config
attributes:
label: What prune config do you use, if any?
description: `[prune]` section in `reth.toml` file
validations:
required: false
- type: input
attributes:
label: If you've built Reth from source, provide the full command you used
Expand Down
29 changes: 5 additions & 24 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Install Valgrind
run: |
sudo apt install valgrind
sudo apt update && sudo apt install valgrind

- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -52,36 +52,17 @@ jobs:
mv testdata pr

- name: Set main baseline
run: cargo bench --package reth-db --bench iai --manifest-path main/Cargo.toml
run: cargo bench --package reth-db --bench iai --features test-utils --manifest-path main/Cargo.toml

- name: Compare PR benchmark
shell: 'script -q -e -c "bash {0}"' # required to workaround /dev/tty not being available
run: |
./pr/.github/scripts/compare_iai.sh

# Checks that benchmarks not run in CI compile
bench-check:
name: check
runs-on:
group: Reth
strategy:
matrix:
network: ["ethereum", "optimism"]
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Check if benchmarks build
run: cargo check --workspace --benches --features "jemalloc-prof,${{ matrix.network }},min-error-logs,min-warn-logs,min-info-logs,min-debug-logs,min-trace-logs"

bench-success:
if: always()
name: bench success
needs: bench-check
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
# Note: This check is a dummy because we don't have any bench checks enabled.
- run: echo OK.
45 changes: 26 additions & 19 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: test
timeout-minutes: 60

steps:
- uses: actions/checkout@v3
Expand All @@ -18,20 +19,21 @@ jobs:
run: |
mkdir mdbook
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
echo $(pwd)/mdbook >> $GITHUB_PATH

- name: Install mdbook-template
run: |
mkdir mdbook-template
curl -sSL https://github.com/sgoudham/mdbook-template/releases/latest/download/mdbook-template-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook-template
echo `pwd`/mdbook-template >> $GITHUB_PATH
echo $(pwd)/mdbook-template >> $GITHUB_PATH

- name: Run tests
run: mdbook test

lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
name: lint
timeout-minutes: 60

steps:
- uses: actions/checkout@v3
Expand All @@ -41,42 +43,45 @@ jobs:
mkdir mdbook-linkcheck
curl -sSL -o mdbook-linkcheck.zip https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/latest/download/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip
unzip mdbook-linkcheck.zip -d ./mdbook-linkcheck
chmod +x `pwd`/mdbook-linkcheck/mdbook-linkcheck
echo `pwd`/mdbook-linkcheck >> $GITHUB_PATH
chmod +x $(pwd)/mdbook-linkcheck/mdbook-linkcheck
echo $(pwd)/mdbook-linkcheck >> $GITHUB_PATH

- name: Run linkcheck
run: mdbook-linkcheck --standalone

build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- uses: dtolnay/rust-toolchain@nightly

- name: Install mdbook
run: |
mkdir mdbook
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
echo $(pwd)/mdbook >> $GITHUB_PATH

- name: Install mdbook-template
run: |
mkdir mdbook-template
curl -sSL https://github.com/sgoudham/mdbook-template/releases/latest/download/mdbook-template-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook-template
echo `pwd`/mdbook-template >> $GITHUB_PATH
echo $(pwd)/mdbook-template >> $GITHUB_PATH

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Build book
run: mdbook build

- name: Build docs
run: RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --all --no-deps
run: cargo docs
env:
# Keep in sync with ./ci.yml:jobs.docs
RUSTDOCFLAGS:
--cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page
-Zunstable-options

- name: Move docs to book folder
run: |
Expand Down Expand Up @@ -108,7 +113,7 @@ jobs:
deploy:
# Only deploy if a push to main
if: github.ref_name == 'main' && github.event_name == 'push'
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: [test, lint, build]

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
Expand All @@ -120,6 +125,8 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

timeout-minutes: 60

steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down
79 changes: 38 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,61 +5,57 @@ on:
branches: [main]

env:
RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always

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

name: ci
jobs:
lint:
name: code lint
runs-on: ubuntu-20.04
clippy:
name: clippy
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo clippy --workspace --all-targets --all-features
env:
RUSTFLAGS: -D warnings

- name: cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --all --all-features

- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check

- name: cargo clippy
uses: actions-rs/cargo@v1
docs:
name: docs
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
command: clippy
args: --all --all-features
cache-on-failure: true
- run: cargo docs --document-private-items
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

doc-lint:
name: doc lint
runs-on: ubuntu-20.04
fmt:
name: fmt
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Check if documentation builds
run: RUSTDOCFLAGS="-D warnings" cargo doc --all --no-deps --all-features --document-private-items
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt --all --check

grafana-lint:
name: grafana lint
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Check dashboard JSON with jq
Expand All @@ -70,8 +66,9 @@ jobs:
lint-success:
if: always()
name: lint success
runs-on: ubuntu-20.04
needs: [lint, doc-lint, grafana-lint]
runs-on: ubuntu-latest
needs: [clippy, docs, fmt, grafana-lint]
timeout-minutes: 30
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency: deny-${{ github.head_ref || github.run_id }}
jobs:
deny:
name: deny
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
fuzz-success:
if: always()
name: fuzz success
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: all
steps:
# Note: This check is a dummy because we currently have fuzz tests disabled.
Expand Down
Loading