Skip to content

Reth patch #837

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

Open
wants to merge 94 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
4c25858
wip
jnoorchashm37 Mar 7, 2025
84c7f7d
wip
jnoorchashm37 Mar 14, 2025
1ae2bfc
wip but almost done
jnoorchashm37 Mar 14, 2025
26873b8
let's goooooo
jnoorchashm37 Mar 14, 2025
537ddf3
made stable
jnoorchashm37 Mar 14, 2025
930b16c
updated ci
jnoorchashm37 Mar 14, 2025
0296526
clippy
jnoorchashm37 Mar 14, 2025
1370e9d
clippy
jnoorchashm37 Mar 14, 2025
69c38f4
clippy
jnoorchashm37 Mar 14, 2025
3a39bfc
clippy
jnoorchashm37 Mar 14, 2025
f480560
clippy
jnoorchashm37 Mar 14, 2025
5587d3a
clippy
jnoorchashm37 Mar 14, 2025
9f372fd
clippy
jnoorchashm37 Mar 14, 2025
871f66d
clippy
jnoorchashm37 Mar 14, 2025
5d8d35d
clippy
jnoorchashm37 Mar 14, 2025
ea4ed0a
clippy
jnoorchashm37 Mar 14, 2025
a0d22f5
clippy
jnoorchashm37 Mar 14, 2025
38f793e
clippy
jnoorchashm37 Mar 14, 2025
a9c2784
clippy
jnoorchashm37 Mar 14, 2025
334c7b5
clippy
jnoorchashm37 Mar 14, 2025
38c04b6
clippy
jnoorchashm37 Mar 14, 2025
dc66065
clippy
jnoorchashm37 Mar 14, 2025
bf12498
clippy
jnoorchashm37 Mar 14, 2025
9e39fe0
clippy
jnoorchashm37 Mar 14, 2025
42aa749
clippy
jnoorchashm37 Mar 14, 2025
8eaa90b
clippy
jnoorchashm37 Mar 14, 2025
7a4feff
clippy
jnoorchashm37 Mar 14, 2025
dc76aa9
clippy
jnoorchashm37 Mar 14, 2025
57db12b
clippy
jnoorchashm37 Mar 14, 2025
fdd7cb3
clippy
jnoorchashm37 Mar 14, 2025
b1fa350
clippy
jnoorchashm37 Mar 14, 2025
f5f4fd7
cli
jnoorchashm37 Mar 14, 2025
e08d43f
clippy
jnoorchashm37 Mar 14, 2025
f456bc3
cli
jnoorchashm37 Mar 14, 2025
1198c6a
cli
jnoorchashm37 Mar 14, 2025
67ad1b3
updated build
jnoorchashm37 Mar 14, 2025
f0fc29f
updated build
jnoorchashm37 Mar 14, 2025
1198450
updated wip
jnoorchashm37 Apr 7, 2025
3defe89
fmt all
jnoorchashm37 Apr 7, 2025
403b101
updated brontes ci workflow
jnoorchashm37 Apr 7, 2025
d7dceaf
skipping to matrix tests
jnoorchashm37 Apr 7, 2025
fa4d414
skipping to matrix tests
jnoorchashm37 Apr 7, 2025
068f1fc
trying new
jnoorchashm37 Apr 7, 2025
c497847
trying new
jnoorchashm37 Apr 7, 2025
3135e8f
updated
jnoorchashm37 Apr 7, 2025
ee244d2
updated
jnoorchashm37 Apr 7, 2025
9db5ced
added keyscan
jnoorchashm37 Apr 7, 2025
53011f7
added keyscan
jnoorchashm37 Apr 7, 2025
2364a3c
removed commented
jnoorchashm37 Apr 7, 2025
5cbdb63
comments
jnoorchashm37 Apr 7, 2025
b3bb57e
stable tests
jnoorchashm37 Apr 7, 2025
37ea60f
added verbosity
jnoorchashm37 Apr 7, 2025
32c3808
added db stuff
jnoorchashm37 Apr 7, 2025
5c1455c
no default sorella-server
jnoorchashm37 Apr 7, 2025
4246879
updated local reth match
jnoorchashm37 Apr 7, 2025
ea7c8b9
updated local reth match
jnoorchashm37 Apr 7, 2025
99687cb
updated local reth match
jnoorchashm37 Apr 7, 2025
9efd577
no ci
jnoorchashm37 Apr 7, 2025
0dcf134
no ci
jnoorchashm37 Apr 8, 2025
774a0fd
fixes
Will-Smith11 Apr 8, 2025
8a970e6
updated types
jnoorchashm37 Apr 8, 2025
708ec79
updated types
jnoorchashm37 Apr 8, 2025
e1114cc
updated
jnoorchashm37 Apr 8, 2025
a96369c
fmt
jnoorchashm37 Apr 8, 2025
832ecec
updated tracing
jnoorchashm37 Apr 8, 2025
5cfd74b
seeing gas calc err
0xvanbeethoven Apr 9, 2025
223337e
tedst
0xvanbeethoven Apr 9, 2025
ee6a91b
testing
0xvanbeethoven Apr 9, 2025
de489c4
oups
0xvanbeethoven Apr 9, 2025
8739ea1
testing
0xvanbeethoven Apr 9, 2025
f7d050f
fix
0xvanbeethoven Apr 9, 2025
8a0be9f
debuggingh
0xvanbeethoven Apr 9, 2025
294d479
test
0xvanbeethoven Apr 9, 2025
cf80aba
testing
0xvanbeethoven Apr 9, 2025
208b43c
testing
0xvanbeethoven Apr 9, 2025
52dc5f0
fix: use total gas, not gas at log
Will-Smith11 Apr 10, 2025
f0a79f9
bumped to reth latestg
0xvanbeethoven Apr 10, 2025
2b9985b
fixed classifier build issues
0xvanbeethoven Apr 10, 2025
ffdd7e2
fix tests
0xvanbeethoven Apr 10, 2025
f9ec9b0
ready for ci
jnoorchashm37 Apr 10, 2025
3eb277a
fix docs ci + fmt
0xvanbeethoven Apr 10, 2025
ba96d41
Merge branch 'reth-patch' of https://github.com/SorellaLabs/brontes i…
0xvanbeethoven Apr 10, 2025
1afc9c3
updated lock
0xvanbeethoven Apr 10, 2025
47e6822
lol
0xvanbeethoven Apr 10, 2025
3520570
clippy + all features build fix
0xvanbeethoven Apr 10, 2025
7c7ea1a
fix docs build
0xvanbeethoven Apr 10, 2025
4adb8d6
fix clippy
0xvanbeethoven Apr 10, 2025
7778ab2
log pipeline shutdown
Will-Smith11 Apr 10, 2025
5975310
added db unopened err
0xvanbeethoven Apr 10, 2025
c0bab2d
added err
0xvanbeethoven Apr 10, 2025
bad6cd9
added err
0xvanbeethoven Apr 10, 2025
c12f826
fixed protocol parse error
0xvanbeethoven Apr 11, 2025
0fec643
fixing seg fault
0xvanbeethoven Apr 11, 2025
a799b39
testing
0xvanbeethoven Apr 11, 2025
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
90 changes: 56 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly

- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.85.0
components: clippy,rustfmt
toolchain: nightly

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
key: "clippy-nightly"
key: "clippy-stable"

- run: git config --global url."https://x-access-token:${{ secrets.CI }}@github.com/".insteadOf "https://github.com/"
shell: bash
Expand All @@ -34,39 +36,60 @@ jobs:
RUSTFLAGS: -D warnings

build:
name: "build and fmt"
name: "build"
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly

- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
toolchain: nightly
toolchain: 1.85.0
components: clippy

- uses: Swatinem/rust-cache@v2
with:
key: "buildfmt-nightly"
key: "buildfmt-stable"
cache-on-failure: true

# allow for downloads
- run: git config --global url."https://x-access-token:${{ secrets.CI }}@github.com/".insteadOf "https://github.com/"
shell: bash
- run: git config --global url."https://${{ secrets.CI }}@github.com/".insteadOf "[email protected]:"
shell: bash

- name: "build nightly"
- name: "build stable"
run: cargo build --workspace --all-features
env:
RUSTFLAGS: -D warnings

- name: "cargo fmt"
run: cargo fmt --all --check
fmt:
name: fmt
runs-on: ubuntu-latest
steps:
- name: Check-Out
uses: actions/checkout@v4

- run: git config --global url."https://x-access-token:${{ secrets.CI }}@github.com/".insteadOf "https://github.com/"
shell: bash
- run: git config --global url."https://${{ secrets.CI }}@github.com/".insteadOf "[email protected]:"
shell: bash

- name: Install Nightly
run: |
rustup toolchain install nightly
rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt

- name: cargo build
run: cargo build --workspace --all-features

- name: cargo +nightly fmt
run: cargo +nightly fmt --all -- --check

test:
runs-on: ubuntu-latest
if: always() && !cancelled() && !contains(needs.*.result, 'failure') && github.event.pull_request.draft == false
needs: [clippy, build]
needs: [clippy, build, fmt]
strategy:
fail-fast: false
matrix:
Expand All @@ -75,20 +98,20 @@ jobs:
- name: Get branch names.
id: branch-names
uses: tj-actions/branch-names@v8

- name: Init ssh config
run: |
mkdir ~/.ssh/
echo "${{ secrets.BASTION_SSH }}" > ~/.ssh/bastion
chmod 600 ~/.ssh/bastion
echo "${{ secrets.BRONTES_SSH }}" > ~/.ssh/brontes_server
chmod 600 ~/.ssh/brontes_server
mkdir ~/.ssh/
ssh-keyscan -H ${{ secrets.BRONTES_IP }} >> ~/.ssh/known_hosts
echo "${{ secrets.BRONTES_SSH }}" > ~/.ssh/brontes-ci
chmod 600 ~/.ssh/brontes-ci
echo "${{ secrets.SSH_CONFIG }}" > ~/.ssh/config

- name: cargo test
id: run_tests
continue-on-error: true
run: |
ssh brontes_server -tt "bash --login -c '
ssh brontes-reth -tt "bash --login -c '
source ~/.bashrc
cd \$HOME
mkdir -p ${{ steps.branch-names.outputs.current_branch }}-test-${{ matrix.features }}
Expand All @@ -101,7 +124,7 @@ jobs:
- name: Cleanup
if: always()
run: |
ssh brontes_server -tt "bash --login -c '
ssh brontes-reth -tt "bash --login -c '
set -x
rm -rf \$HOME/${{ steps.branch-names.outputs.current_branch }}-test-${{ matrix.features }}
rm -rf /home/brontes-ci/data/${{ steps.branch-names.outputs.current_branch }}-test-${{ matrix.features }}
Expand All @@ -114,7 +137,7 @@ jobs:
it-test:
runs-on: ubuntu-latest
if: always() && !cancelled() && !contains(needs.*.result, 'failure') && github.event.pull_request.draft == false
needs: [clippy, build]
needs: [clippy, build, fmt]
strategy:
fail-fast: false
matrix:
Expand All @@ -123,20 +146,20 @@ jobs:
- name: Get branch names.
id: branch-names
uses: tj-actions/branch-names@v8

- name: Init ssh config
run: |
mkdir ~/.ssh/
echo "${{ secrets.BASTION_SSH }}" > ~/.ssh/bastion
chmod 600 ~/.ssh/bastion
echo "${{ secrets.BRONTES_SSH }}" > ~/.ssh/brontes_server
chmod 600 ~/.ssh/brontes_server
mkdir ~/.ssh/
ssh-keyscan -H ${{ secrets.BRONTES_IP }} >> ~/.ssh/known_hosts
echo "${{ secrets.BRONTES_SSH }}" > ~/.ssh/brontes-ci
chmod 600 ~/.ssh/brontes-ci
echo "${{ secrets.SSH_CONFIG }}" > ~/.ssh/config

- name: cargo it test
id: run_it_tests
continue-on-error: true
run: |
ssh brontes_server -tt "bash --login -c '
ssh brontes-reth -tt "bash --login -c '
source ~/.bashrc
cd \$HOME
mkdir -p ${{ steps.branch-names.outputs.current_branch }}-it-${{ matrix.features }}
Expand All @@ -150,7 +173,7 @@ jobs:
- name: Cleanup
if: always()
run: |
ssh brontes_server -tt "bash --login -c '
ssh brontes-reth -tt "bash --login -c '
set -x
rm -rf \$HOME/${{ steps.branch-names.outputs.current_branch }}-it-${{ matrix.features }}
rm -rf /home/brontes-ci/data/${{ steps.branch-names.outputs.current_branch }}-it-${{ matrix.features }}
Expand All @@ -168,16 +191,15 @@ jobs:
steps:
- name: Init ssh config
run: |
mkdir ~/.ssh/
echo "${{ secrets.BASTION_SSH }}" > ~/.ssh/bastion
chmod 600 ~/.ssh/bastion
echo "${{ secrets.BRONTES_SSH }}" > ~/.ssh/brontes_server
chmod 600 ~/.ssh/brontes_server
mkdir ~/.ssh/
ssh-keyscan -H ${{ secrets.BRONTES_IP }} >> ~/.ssh/known_hosts
echo "${{ secrets.BRONTES_SSH }}" > ~/.ssh/brontes-ci
chmod 600 ~/.ssh/brontes-ci
echo "${{ secrets.SSH_CONFIG }}" > ~/.ssh/config

- name: Run cleanup
run: |
ssh brontes_server -tt "bash --login -c '
ssh brontes-reth -tt "bash --login -c '
set -x
rm -rf \$HOME/*/
echo \"Cleanup completed\"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
mdbook build

- name: Build docs
run: cargo doc --no-deps --all-features
run: cargo +nightly doc --no-deps --all-features
env:
RUSTDOCFLAGS:
--cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page
Expand All @@ -89,7 +89,7 @@ jobs:
.

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: github-pages
path: ${{ runner.temp }}/artifact.tar
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/telegram_bot_new_issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4

- name: Download Rust Binary
run: |
gh release download -R SorellaLabs/github-utils -p Linux.tgz
tar -xzf Linux.tgz
env:
GH_TOKEN: ${{ secrets.CI }}
- name: Download Rust Binary
run: |
gh release download -R SorellaLabs/github-utils -p Linux.tgz
tar -xzf Linux.tgz
env:
GH_TOKEN: ${{ secrets.CI }}

- name: Run Rust Binary
run: ./Linux/github-actions telegram-bot -t ${{ secrets.TELEGRAM_BOT_TOKEN }} -g ${{ secrets.G_API_KEY }} --repo ${{ vars.REPO }} -s ${{ vars.PROJECT }} -n --number ${{ github.event.issue.number }}
- name: Run Rust Binary
run: ./Linux/github-actions telegram-bot -t ${{ secrets.TELEGRAM_BOT_TOKEN }} -g ${{ secrets.G_API_KEY }} --repo ${{ vars.REPO }} -s ${{ vars.PROJECT }} -n --number ${{ github.event.issue.number }}
Loading
Loading