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

Chore merge upstream b787d9e52 v2 #19

Merged
merged 104 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
05a7bdc
chore(provider): use `get_in_memory_or_storage` on `transactions_by_b…
joshieDo Oct 3, 2024
a6b1fee
chore(exex): adjust WAL gauge metric names (#11454)
shekhirin Oct 3, 2024
8cd052c
chore(provider): use `get_in_memory_or_storage_by_block` on `fn block…
joshieDo Oct 3, 2024
ac85fc0
chore(provider): find `last_database_block_number` with `BlockState` …
joshieDo Oct 3, 2024
91af1a7
feat: add metrics for failed deliveries (#11456)
mattsse Oct 3, 2024
e567810
chore: release 1.0.8 (#11457)
mattsse Oct 3, 2024
96f1406
chore(provider): use `block_ref` instead on `BlockState` (#11458)
joshieDo Oct 3, 2024
f1aae36
feat(rpc): Add codes in execution witness return (#11443)
0x00101010 Oct 3, 2024
59c6329
fix: ensure the request's gas limit does not exceed the target gas li…
mattsse Oct 3, 2024
a0867a6
feat(grafana): ExEx WAL (#11461)
shekhirin Oct 3, 2024
7d092a2
fix: use correct rpc errors (#11463)
mattsse Oct 3, 2024
af46562
chore(provider): clone after filtering on `sealed_headers_while` (#1…
joshieDo Oct 3, 2024
6c16df2
Map `TransferKind::EofCreate` => `OperationType::OpEofCreate` (#11090)
emhane Oct 3, 2024
d72e438
fix: windows build (#11465)
mattsse Oct 3, 2024
b4d5ade
chore: use `block_ref` on `CanonicalInMemoryState` (#11467)
joshieDo Oct 3, 2024
ab06997
chore(rpc): remove include_preimage param on debug_execution_witness …
0x00101010 Oct 3, 2024
84370b8
feat: make addons stateful (#11204)
mattsse Oct 4, 2024
1fe9f32
Relax Trait Bounds on TransactionPool::Transaction and EthPoolTransac…
0xForerunner Oct 4, 2024
2dc5f5d
test: add unit tests for `CanonicalChain` (#11472)
tcoratger Oct 4, 2024
af1eb61
feat(perf): integrate OnStateHook in executor (#11345)
fgimenez Oct 4, 2024
5fd6906
feat: cleaned up prepare_call_env() (#11469)
varun-doshi Oct 4, 2024
399192c
chore: use block.body directly (#11474)
mattsse Oct 4, 2024
c5cfaf1
feat: Add metrics to track transactions by type in txpool (#11403)
garwahl Oct 4, 2024
72e0ab1
chore: op chainspec (#11415)
greged93 Oct 4, 2024
0ce1dd6
chore(exex): more backfill debug logs (#11476)
shekhirin Oct 4, 2024
227e293
fix(exex): use thresholds in stream backfill (#11478)
shekhirin Oct 4, 2024
b537672
chore(db): capture tx opening backtrace in debug mode (#11477)
shekhirin Oct 4, 2024
16c39d9
chore(sdk): `SealedHeader` generic over header (#11429)
emhane Oct 4, 2024
d5ddb41
chore(lint): fix lint primitives (#11487)
emhane Oct 4, 2024
a42cfbb
chore(provider): add more test coverage on `BlockchainProvider::*by_t…
joshieDo Oct 4, 2024
62e6293
test: ensure default hash matches (#11486)
mattsse Oct 4, 2024
1f190ad
chore: rm deposit contract config for op (#11479)
mattsse Oct 4, 2024
16bc9c8
chore(lint): fix lint storage (#11485)
emhane Oct 4, 2024
093b1a1
chore(provider): add more test coverage on `BlockchainProvider::*by_b…
joshieDo Oct 4, 2024
72865f1
fix(rpc-eth-types): incorrect error msg(; -> :) (#11503)
jsvisa Oct 5, 2024
08c4065
Reexport optimism specific crates from `op-reth` (#11499)
0xForerunner Oct 5, 2024
2ca6141
feat: rpc replace function created (#11501)
varun-doshi Oct 5, 2024
a846cbd
Add metrics for failed deliveries to Grafana dashboard (#11481)
Parikalp-Bhardwaj Oct 5, 2024
28750e5
chore: Remove duplicate EthereumChainSpecParser in favor of existing …
garwahl Oct 5, 2024
36de90f
chore(lint): fix `clippy::needles_lifetimes` (#11496)
emhane Oct 5, 2024
659dec9
chore: rm from genesis impl (#11509)
mattsse Oct 5, 2024
cb078f9
fix: cap gas limit properly (#11505)
mattsse Oct 5, 2024
51db656
feat: add PoolBuilderConfigOverrides (#11507)
mattsse Oct 5, 2024
41455df
feat: expose Op node network_config helper (#11506)
mattsse Oct 5, 2024
c08c00f
chore(deps): weekly `cargo update` (#11518)
github-actions[bot] Oct 6, 2024
d2ab635
test: add unit tests for `PruneLimiter` (#11517)
tcoratger Oct 7, 2024
7842673
feat(provider): add `test_race` to `BlockchainProvider2` tests (#11523)
joshieDo Oct 7, 2024
4b12f32
fix(tree): make state methods work for historical blocks (#11265)
Rjected Oct 7, 2024
74a6453
rpc: use `eth_api()` method (#11516)
tcoratger Oct 7, 2024
f5c9701
chore: delete rpc-types (#11528)
crazykissshout Oct 7, 2024
f822848
feat: add get_highest_tx_by_sender to pools (#11514)
edisontim Oct 7, 2024
6a1ec0d
ci: add `windows` cargo check (#11468)
joshieDo Oct 7, 2024
e94d72b
fix: acquire permit first (#11537)
mattsse Oct 7, 2024
d4e9dd1
chore: dont fail on ttd (#11539)
mattsse Oct 7, 2024
04fa08c
grafana: add metrics of all transactions in pool by type (#11515)
No0key Oct 7, 2024
8a0bcbb
feat(exex): subscribe to notifications with head using `ExExContext` …
shekhirin Oct 7, 2024
54c8305
chore: enforce window (#11540)
mattsse Oct 7, 2024
8ca5ec9
Refactor get_payload_bodies_by_hash_with to be non-blocking (#11511)
Parikalp-Bhardwaj Oct 7, 2024
9a732f6
Introduce Eth PayloadTypes Impl (#11519)
stevencartavia Oct 7, 2024
a6b564e
fix(op-reth): add jemalloc feature to optimism-cli for version (#11543)
Rjected Oct 7, 2024
c35b8be
fix(grafana): remove rate function from panel "Transactions by Type i…
emhane Oct 7, 2024
b67f004
chore: move ethfiltererror (#11552)
mattsse Oct 7, 2024
5e288b2
chore: rm redundant type hint (#11557)
mattsse Oct 8, 2024
5eb71e3
Introduce Op PayloadTypes Impl (#11558)
stevencartavia Oct 8, 2024
33b78dc
chore: chain manual serialisation implementation (#11538)
greged93 Oct 8, 2024
6e92ab8
chore: rm unused optimism feature (#11559)
mattsse Oct 8, 2024
548f5b9
feat(trie): expose storage proofs (#11550)
rkrasiuk Oct 8, 2024
ece894b
chore: rm unused optimism feature from compat (#11560)
mattsse Oct 8, 2024
a2cfa9e
Added InternalBlockExecutionError to execute.rs exports (#11525)
debjit-bw Oct 8, 2024
3765dbe
docs(exex): include code for ExEx book from real files (#11545)
shekhirin Oct 8, 2024
4163835
fix: actually configure the custom gas limit (#11565)
mattsse Oct 8, 2024
cb431f1
chore: relax trait bound for `EthTransactions` (#11571)
onbjerg Oct 8, 2024
65e6683
fix(provider): fix sub overflow on `tx_range` queries for empty block…
joshieDo Oct 8, 2024
67db43d
chore(provider): add more test coverage on `BlockchainProvider` non-…
joshieDo Oct 8, 2024
946f1a4
feat: adding a new method to network config builder (#11569)
loocapro Oct 8, 2024
c32d4c3
chore: rm unused optimism feature from engine api (#11577)
mattsse Oct 8, 2024
c13ab7a
chore: replace some revm deps (#11579)
mattsse Oct 8, 2024
c61ae13
chore: rm bad cap function (#11562)
mattsse Oct 8, 2024
e18b0ba
feat: impl `Encodable2718` and `Decodable2718` for `PooledTransaction…
klkvr Oct 8, 2024
b09734a
fix(exex): exhaust backfill job when using a stream (#11578)
shekhirin Oct 8, 2024
fda6e35
fix: in-memory trie updates pruning (#11580)
klkvr Oct 8, 2024
10eb1e8
chore(providers): test race condition on all `BlockchainProvider2` ma…
joshieDo Oct 8, 2024
f332f71
chore: also derive arb for test (#11588)
mattsse Oct 8, 2024
6917b12
chore: bump alloy primitives 0 8 7 (#11586)
mattsse Oct 8, 2024
95913cb
chore(ci): remove expected failures related to checksummed addresses …
fgimenez Oct 8, 2024
f7c7629
chore(rpc): use `block_hash` instead on fetching `debug_trace_block` …
joshieDo Oct 8, 2024
f5f7620
feat: add mul support for SubPoolLimit (#11591)
mattsse Oct 8, 2024
e427eb2
docs: delete missing part path (#11590)
devthejohn Oct 8, 2024
3141f6d
fix: simplify reorg handling (#11592)
klkvr Oct 9, 2024
1e1de3d
fix: use original bytes for codes (#11593)
mattsse Oct 9, 2024
6295459
perf(rpc): use `Arc<BlockWithSenders` on `full_block_cache` (#11585)
joshieDo Oct 9, 2024
d5372a7
fix: active inflight count (#11598)
mattsse Oct 9, 2024
570c1df
fix(net): max inflight tx reqs default (#11602)
emhane Oct 9, 2024
8ba7bc0
fix: set deposit gasprice correctly (#11603)
mattsse Oct 9, 2024
3c4a94f
fix: set system tx correctly (#11601)
mattsse Oct 9, 2024
5ad6484
fix(trie): prefix set extension (#11605)
rkrasiuk Oct 9, 2024
8396209
feat: add tx propagation mode (#11594)
mattsse Oct 9, 2024
67e83b6
feat: add helper function to provde the tx manager config (#11608)
mattsse Oct 9, 2024
f5d6844
fix(grafana): set instance variable from `reth_info` metric (#11607)
shekhirin Oct 9, 2024
fb8bd77
fix(net): add concurrency param from config to `TransactionFetcherInf…
emhane Oct 9, 2024
b787d9e
perf(rpc): optimistically retrieve block if near the tip on `eth_getL…
joshieDo Oct 9, 2024
9654401
Merge branch 'main' into chore-merge-upstream-b787d9e5
Thegaram Oct 9, 2024
1707153
update fork base commit
Thegaram Oct 9, 2024
68ea302
remove new book tests
Thegaram Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/assets/hive/expected_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,6 @@ rpc-compat:
- eth_getBlockByNumber/get-latest (reth)
- eth_getBlockByNumber/get-safe (reth)

- eth_createAccessList/create-al-contract-eip1559 (reth)
- eth_createAccessList/create-al-contract (reth)
- eth_getProof/get-account-proof-blockhash (reth)
- eth_getProof/get-account-proof-latest (reth)
- eth_getProof/get-account-proof-with-storage (reth)
- eth_getTransactionByBlockHashAndIndex/get-block-n (reth)
- eth_getTransactionByBlockNumberAndIndex/get-block-n (reth)
- eth_getTransactionByHash/get-access-list (reth)
- eth_getTransactionByHash/get-blob-tx (reth)
- eth_getTransactionByHash/get-dynamic-fee (reth)
- eth_getTransactionByHash/get-legacy-create (reth)
- eth_getTransactionByHash/get-legacy-input (reth)
- eth_getTransactionByHash/get-legacy-tx (reth)
- eth_getTransactionReceipt/get-legacy-contract (reth)
- eth_getTransactionReceipt/get-legacy-input (reth)
- eth_getTransactionReceipt/get-legacy-receipt (reth)'

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
- Withdrawals Fork On Genesis (Paris) (reth)
Expand Down
17 changes: 0 additions & 17 deletions .github/assets/hive/expected_failures_experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,6 @@ rpc-compat:
- eth_getBlockByNumber/get-latest (reth)
- eth_getBlockByNumber/get-safe (reth)

- eth_createAccessList/create-al-contract-eip1559 (reth)
- eth_createAccessList/create-al-contract (reth)
- eth_getProof/get-account-proof-blockhash (reth)
- eth_getProof/get-account-proof-latest (reth)
- eth_getProof/get-account-proof-with-storage (reth)
- eth_getTransactionByBlockHashAndIndex/get-block-n (reth)
- eth_getTransactionByBlockNumberAndIndex/get-block-n (reth)
- eth_getTransactionByHash/get-access-list (reth)
- eth_getTransactionByHash/get-blob-tx (reth)
- eth_getTransactionByHash/get-dynamic-fee (reth)
- eth_getTransactionByHash/get-legacy-create (reth)
- eth_getTransactionByHash/get-legacy-input (reth)
- eth_getTransactionByHash/get-legacy-tx (reth)
- eth_getTransactionReceipt/get-legacy-contract (reth)
- eth_getTransactionReceipt/get-legacy-input (reth)
- eth_getTransactionReceipt/get-legacy-receipt (reth)'

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
- Withdrawals Fork On Genesis (Paris) (reth)
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ jobs:
- 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"
- name: Run clippy on binaries
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"
env:
RUSTFLAGS: -D warnings
- name: Run clippy on book binary sources
run: cargo clippy --manifest-path book/sources/Cargo.toml --workspace --bins
env:
RUSTFLAGS: -D warnings

Expand Down Expand Up @@ -128,7 +133,10 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt --all --check
- name: Run fmt
run: cargo fmt --all --check
- name: Run fmt on book sources
run: cargo fmt --manifest-path book/sources/Cargo.toml --all --check

udeps:
name: udeps
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Windows build

name: windows

on:
push:
branches: [main]
pull_request:
branches: [main]
merge_group:

jobs:
check-reth:
runs-on: ubuntu-20.04
timeout-minutes: 60

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: x86_64-pc-windows-gnu
- uses: taiki-e/install-action@cross
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: mingw-w64
run: sudo apt-get install -y mingw-w64
- name: Check Reth
run: cargo check --target x86_64-pc-windows-gnu

check-op-reth:
runs-on: ubuntu-20.04
timeout-minutes: 60

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: x86_64-pc-windows-gnu
- uses: taiki-e/install-action@cross
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: mingw-w64
run: sudo apt-get install -y mingw-w64
- name: Check OP-Reth
run: cargo check -p op-reth --features optimism --target x86_64-pc-windows-gnu
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,7 @@ jwttoken/
crates/storage/libmdbx-rs/mdbx-sys/libmdbx/cmake-build-debug

# Rust bug report
rustc-ice-*
rustc-ice-*

# Book sources should be able to build with the latest version
book/sources/Cargo.lock
Loading
Loading