Skip to content

Commit

Permalink
Merge pull request #76 from weaveVM/merge-with-v1-0-8
Browse files Browse the repository at this point in the history
Merge with v1.0.8
  • Loading branch information
allnil authored Oct 10, 2024
2 parents b4a9890 + d3041b5 commit 34d4fdf
Show file tree
Hide file tree
Showing 873 changed files with 20,448 additions and 13,673 deletions.
5 changes: 3 additions & 2 deletions .github/assets/check_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ exclude_crates=(
reth-ethereum-payload-builder
reth-etl
reth-evm-ethereum
reth-evm-optimism
reth-execution-errors
reth-exex
reth-exex-test-utils
Expand All @@ -49,8 +48,9 @@ exclude_crates=(
reth-node-ethereum
reth-node-events
reth-node-metrics
reth-node-optimism
reth-optimism-cli
reth-optimism-evm
reth-optimism-node
reth-optimism-payload-builder
reth-optimism-rpc
reth-payload-builder
Expand All @@ -66,6 +66,7 @@ exclude_crates=(
reth-rpc-types
reth-stages
reth-storage-errors
reth-engine-local
# The following are not supposed to be working
reth # all of the crates below
reth-invalid-block-hooks # reth-provider
Expand Down
20 changes: 18 additions & 2 deletions .github/assets/hive/expected_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,25 @@ rpc-compat:
- 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
- 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)
- Withdrawals Fork on Block 1 (Paris) (reth)
Expand Down
18 changes: 17 additions & 1 deletion .github/assets/hive/expected_failures_experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,23 @@ rpc-compat:
- eth_getBlockByNumber/get-genesis (reth)
- eth_getBlockByNumber/get-latest (reth)
- eth_getBlockByNumber/get-safe (reth)
- eth_sendRawTransaction/send-blob-tx (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:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Runs benchmarks.
# Runs benchmarks on serialization/deserialization of storage values and keys.

on:
pull_request:
Expand Down Expand Up @@ -48,13 +48,16 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref || 'main' }}
# On `main` branch, generates test vectors and serializes them to disk using `serde-json`.
- name: Generate test vectors
run: cargo run --bin reth --features dev -- test-vectors tables
# Runs iai and stores `main` baseline report for comparison later on $BASELINE.
- name: Save baseline
run: cargo bench -p reth-db --bench iai --profile profiling --features test-utils -- --save-baseline=$BASELINE
- name: Checkout PR
uses: actions/checkout@v4
with:
clean: false
# Runs iai on incoming merge using previously generated test-vectors and compares the report against `main` report.
- name: Compare PR benchmarks
run: cargo bench -p reth-db --bench iai --profile profiling --features test-utils -- --baseline=$BASELINE
6 changes: 6 additions & 0 deletions .github/workflows/hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,3 +264,9 @@ jobs:
with:
webhook-url: ${{ secrets.RETH_ALERTS_WEBHOOK }}
content: "Failed run: https://github.com/paradigmxyz/reth/actions/runs/${{ github.run_id }}"
- name: Slack Webhook Action
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: "Failed run: https://github.com/paradigmxyz/reth/actions/runs/${{ github.run_id }}"
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
name: Run tests
run: |
cargo nextest run \
--locked -p reth-node-optimism --features "optimism"
--locked -p reth-optimism-node --features "optimism"
integration-success:
name: integration success
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@clippy
with:
toolchain: nightly-2024-09-25
components: clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -39,7 +42,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2024-09-09
toolchain: nightly-2024-09-25
components: clippy
- uses: Swatinem/rust-cache@v2
with:
Expand Down
Loading

0 comments on commit 34d4fdf

Please sign in to comment.