Skip to content

Commit

Permalink
Merge branch 'main' into leovct/feat-make-rpc-gas-cap-configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jul 17, 2023
2 parents 469e173 + 90b6d00 commit 310ac8b
Show file tree
Hide file tree
Showing 319 changed files with 15,709 additions and 3,701 deletions.
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@
!/dist

# include licenses
!LICENSE-*
!LICENSE-*

# include example files
!/examples
6 changes: 3 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
name: bench
jobs:
iai:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
# Only run benchmarks in merge groups
if: github.event_name != 'pull_request'
steps:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
# Checks that benchmarks not run in CI compile
bench-check:
name: check
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install toolchain
Expand All @@ -74,7 +74,7 @@ jobs:
if: always()
name: bench success
needs: bench-check
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: test

steps:
Expand All @@ -30,7 +30,7 @@ jobs:
run: mdbook test

lint:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: lint

steps:
Expand All @@ -48,7 +48,7 @@ jobs:
run: mdbook-linkcheck --standalone

build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
deploy:
# Only deploy if a push to main
if: github.ref_name == 'main' && github.event_name == 'push'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [test, lint, build]

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: ci
jobs:
lint:
name: code lint
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand All @@ -35,12 +35,12 @@ jobs:
- name: cargo clippy
uses: actions-rs/clippy-check@v1
with:
args: --all --all-features
args: --all --all-features -- -A clippy::incorrect_clone_impl_on_copy_type -A clippy::arc_with_non_send_sync
token: ${{ secrets.GITHUB_TOKEN }}

doc-lint:
name: doc lint
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install toolchain
Expand All @@ -51,7 +51,7 @@ jobs:

grafana-lint:
name: grafana lint
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Check dashboard JSON with jq
Expand All @@ -62,7 +62,7 @@ jobs:
lint-success:
if: always()
name: lint success
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [lint, doc-lint, grafana-lint]
steps:
- name: Decide whether the needed jobs succeeded or failed
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-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
build:
name: build and push
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
packages: write
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Skip the Fuzzing Jobs until we make them run fast and reliably. Currently they will
# always recompile the codebase for each test and that takes way too long.
if: false
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
target:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
fuzz-success:
if: always()
name: fuzz success
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: all
steps:
# Note: This check is a dummy because we currently have fuzz tests disabled.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
name: hive
jobs:
prepare:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
fail-fast: false
needs: prepare
name: run
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- name: Download artifacts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name: integration
jobs:
test:
name: test (partition ${{ matrix.partition }}/${{ strategy.job-total }})
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
partition: [1, 2]
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
name: sync / 100k blocks
# Only run sync tests in merge groups
if: github.event_name == 'merge_group'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
RUST_LOG: info,sync=error
steps:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
integration-success:
if: always()
name: integration success
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [test]
steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
extract-version:
name: extract version
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Extract version
run: echo "VERSION=$(echo ${GITHUB_REF#refs/tags/})" >> $GITHUB_OUTPUT
Expand All @@ -34,10 +34,10 @@ jobs:
x86_64-pc-windows-gnu]
include:
- arch: aarch64-unknown-linux-gnu
platform: ubuntu-latest
platform: ubuntu-20.04
profile: maxperf
- arch: x86_64-unknown-linux-gnu
platform: ubuntu-latest
platform: ubuntu-20.04
profile: maxperf
- arch: x86_64-apple-darwin
platform: macos-latest
Expand All @@ -46,7 +46,7 @@ jobs:
platform: macos-latest
profile: maxperf
- arch: x86_64-pc-windows-gnu
platform: ubuntu-latest
platform: ubuntu-20.04
profile: maxperf

runs-on: ${{ matrix.platform }}
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
draft-release:
name: draft release
needs: [build, extract-version]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
VERSION: ${{ needs.extract-version.outputs.VERSION }}
permissions:
Expand Down Expand Up @@ -199,17 +199,15 @@ jobs:
| Payload Builders | <TODO> |
| Non-Payload Builders | <TODO> |

*See [Update
Priorities](https://paradigmxyz.github.io/reth/installation-priorities.html)
more information about this table.*
*See [Update Priorities](https://paradigmxyz.github.io/reth/installation/priorities.html) for more information about this table.*

## All Changes

${{ steps.changelog.outputs.CHANGELOG }}

## Binaries

[See pre-built binaries documentation.](https://https://paradigmxyz.github.io/reth/installation/binaries.html)
[See pre-built binaries documentation.](https://paradigmxyz.github.io/reth/installation/binaries.html)

The binaries are signed with the PGP key: `A3AE 097C 8909 3A12 4049 DF1F 5391 A3C4 1005 30B4`

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
name: sanity
jobs:
dep-version-constraints:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: dep version constraints test (partition ${{ matrix.partition }}/${{ strategy.job-total }})
strategy:
matrix:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
filename: .github/SANITY_DEPS_ISSUE_TEMPLATE.md

unused-deps:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: unused dependencies
steps:
- name: Checkout sources
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: stale issues
on:
workflow_dispatch: {}
schedule:
- cron: "30 1 * * *"

jobs:
close-issues:
runs-on: ubuntu-20.04
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8
with:
days-before-stale: 14
days-before-close: 7
stale-issue-label: "S-stale"
stale-pr-label: "S-stale"
exempt-issue-labels: "M-prevent-stale"
exempt-pr-labels: "M-prevent-stale"
stale-issue-message: "This issue is stale because it has been open for 14 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."
exempt-all-milestones: true
exempt-all-assignees: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: unit
jobs:
test:
name: test (partition ${{ matrix.partition }}/${{ strategy.job-total }})
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
partition: [1, 2, 3, 4]
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:

eth-blockchain:
name: ethereum / state tests (stable)
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
RUST_LOG: info,sync=error
steps:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

doc-test:
name: rustdoc
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install toolchain
Expand All @@ -95,7 +95,7 @@ jobs:
unit-success:
if: always()
name: unit success
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [test, eth-blockchain, doc-test]
steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ dist/
db-tools/

# VSCode
.vscode
.vscode

# Coverage report
lcov.info
Loading

0 comments on commit 310ac8b

Please sign in to comment.