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

Gwyneth support #1

Open
wants to merge 151 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
aae45e1
Added some comments to some interesting code points
Brechtpd Aug 30, 2024
c47792c
add debug print and files for gwyneth
Sep 3, 2024
0e069a7
add info to config toml
Sep 6, 2024
3d63643
debug
Sep 10, 2024
9d39264
more debug prints to trace orders
Sep 11, 2024
904ff11
fix debug
Sep 11, 2024
ce5e4d2
more debug
Sep 11, 2024
92c4798
more debug prints
Sep 11, 2024
082570c
print tx hash
Sep 11, 2024
f68697a
fix
Sep 11, 2024
be5f1ac
add build and release yaml
Sep 11, 2024
f49c87b
update workflow
Sep 11, 2024
30a1508
add release action
Sep 11, 2024
4458389
use tad and release name
Sep 11, 2024
ffe51b2
don't request data from relayers + create gwyneth relayer
Brechtpd Sep 17, 2024
b3abbcf
debug print cl_node_url
Brechtpd Sep 17, 2024
dafb1b5
more debug prints around block building
Sep 18, 2024
8da56bd
more debug
Sep 18, 2024
f3c9e02
query layer2 latest blocks
Sep 18, 2024
91b8a21
statement fix
Sep 18, 2024
12bf803
fix chain_id
Sep 18, 2024
ffb0742
debug prints
Sep 18, 2024
2799990
use http
Sep 18, 2024
436d111
actually add the gwyneth relayer
Brechtpd Sep 18, 2024
ca33db7
debug propose println
Brechtpd Sep 18, 2024
344d90b
add gwyneth relayer as default
Brechtpd Sep 18, 2024
4fcf01f
more prints
Brechtpd Sep 18, 2024
b8a70ac
fix port
Sep 18, 2024
9e7f9fe
remove some debug prints
Sep 18, 2024
7603fe3
add vars to config
Sep 19, 2024
35ec9a3
preapre for multi l2 scenario
Sep 19, 2024
883771d
realistic-looking rbuilder config
Sep 19, 2024
24286da
rename default relayer to gwyneth
Brechtpd Sep 19, 2024
3929d42
remove the need for mutable config and builder
Sep 20, 2024
44892c4
try alloy variant
Sep 20, 2024
79f8b1d
Merge remote-tracking branch 'origin/gwyneth' into gwyneth_get_layer2…
Brechtpd Sep 20, 2024
a4f9432
Merge remote-tracking branch 'origin/gwyneth_get_layer2_info' into gw…
Brechtpd Sep 20, 2024
6aaad00
use constant connection and reconnect when cancelled
Sep 20, 2024
0d081e7
remove unused crate
Sep 20, 2024
1a6657a
Merge pull request #7 from taikoxyz/layer2_info_with_alloy
Brechtpd Sep 20, 2024
b5d73b3
Merge pull request #6 from taikoxyz/gwyneth_get_layer2_info
Brechtpd Sep 20, 2024
8d62793
fix compile error
Brechtpd Sep 20, 2024
aaf7040
block building start
Brechtpd Sep 21, 2024
6a8dd70
disable profit checking
Brechtpd Sep 22, 2024
8f1d089
give order pools a different port
Brechtpd Sep 23, 2024
b6de4d8
disable consistency check for now
Brechtpd Sep 23, 2024
48fa514
Make block building context chain specific
Brechtpd Sep 23, 2024
f50eb29
integrate ProposeBlock struct
Sep 23, 2024
ac03f98
Use SubmitBlockRequest in propose_block
Sep 24, 2024
8c519ef
add block metadata and tx_list creation
Sep 24, 2024
fecfa67
run cargo fix
Sep 24, 2024
39f59a5
Set latest parent on block context for all chains
Brechtpd Sep 25, 2024
b41cf9b
add original chain id debug info
Brechtpd Sep 25, 2024
8d6a70b
use correct L1 chain id
Brechtpd Sep 25, 2024
f75165f
propose block txn submission
Sep 25, 2024
fcd2109
adjust config
Sep 25, 2024
f29b11f
change default chain id
Brechtpd Sep 25, 2024
a6caef7
change origin chain id for now because revm does not support multiple…
Brechtpd Sep 25, 2024
7c81b7b
origin chain id "fix"
Brechtpd Sep 25, 2024
f862ae2
always set the tx chain_id on revm
Brechtpd Sep 25, 2024
09224fe
debug payout signer
Brechtpd Sep 26, 2024
ab0d5f5
fix chain_id payout + debug prints
Brechtpd Sep 26, 2024
f97d69a
add debug prints
Brechtpd Sep 26, 2024
a2b1556
fix compile error
Brechtpd Sep 26, 2024
733e9d4
change default db to L2
Brechtpd Sep 26, 2024
e04b798
work around inconsistent parent hash
Brechtpd Sep 26, 2024
82c4986
more debug statements to find why submit block isn't called
Brechtpd Sep 26, 2024
bcc2d0b
update best block even if same profit
Brechtpd Sep 26, 2024
d0feec0
more debug messages
Brechtpd Sep 26, 2024
967147d
more debug
Brechtpd Sep 26, 2024
320dbd4
disable sleep + some debug prints
Brechtpd Sep 26, 2024
f5ba498
more debug
Brechtpd Sep 26, 2024
d51a98b
debug
Brechtpd Sep 26, 2024
d8dfe69
debug
Brechtpd Sep 26, 2024
4208d16
work around wrong chain spec
Brechtpd Sep 26, 2024
c764356
workaround base fee imcompat
Brechtpd Sep 26, 2024
d5bc78b
Merge pull request #10 from taikoxyz/gwyneth-block-proposing2
Brechtpd Sep 26, 2024
c78d038
debug
Brechtpd Sep 27, 2024
4702ec5
debug
Brechtpd Sep 27, 2024
4e56e92
debug and refactor a bit
Brechtpd Sep 27, 2024
2e3d8b2
keep extra data empty for now
Brechtpd Sep 27, 2024
ff807e6
more proposing stuff
Brechtpd Sep 27, 2024
d3211d6
more signing
Brechtpd Sep 27, 2024
318dab2
some cleanup and some debug
Brechtpd Sep 27, 2024
4cd529e
debug
Brechtpd Sep 27, 2024
c9d1c8f
workaround L2 block body not being available
Brechtpd Sep 27, 2024
87e81bc
debug
Brechtpd Sep 27, 2024
ca08234
decrease number of prints
Brechtpd Oct 3, 2024
e26edd1
remove prints + prefer larger blocks
Brechtpd Oct 3, 2024
57d7d1b
remove spammy prints
Brechtpd Oct 3, 2024
48af3cc
remove spammy print
Brechtpd Oct 4, 2024
ad553ba
better debugs
Brechtpd Oct 4, 2024
d661101
nothing really
Brechtpd Oct 4, 2024
84006e9
update proposeBlock function signature
Brechtpd Oct 4, 2024
3e38a94
Merge pull request #8 from taikoxyz/gwyneth-block-building
Brechtpd Oct 5, 2024
40de1fe
Merge remote-tracking branch 'origin/develop' into gwyneth
Brechtpd Oct 6, 2024
6b544f4
update config
Brechtpd Oct 6, 2024
bc77dba
Merge pull request #11 from taikoxyz/gwyneth-update-rbuilder
Brechtpd Oct 6, 2024
e6417a8
Merge remote-tracking branch 'origin/develop' into gwyneth
Brechtpd Oct 6, 2024
61cc705
Use gwyneth-reth for multi-chain block building!
Brechtpd Oct 8, 2024
2cdbd6d
update alloy to fix issue with std in 0.8.0
Brechtpd Oct 8, 2024
d389c41
update reth
Brechtpd Oct 8, 2024
2e1c73a
prints!
Brechtpd Oct 9, 2024
df1ccdc
pass in multiple dbs
Brechtpd Oct 9, 2024
55a8a13
update reth
Brechtpd Oct 9, 2024
7930a72
remove unnecessary prints
Brechtpd Oct 9, 2024
a2e6ec3
just a commit to trigger compiliation hopefully
Brechtpd Oct 9, 2024
6ec8589
minimize diff
Brechtpd Oct 11, 2024
f5c4aef
Merge pull request #12 from taikoxyz/gwynethV3
Brechtpd Oct 11, 2024
865feb5
update reth deps
Brechtpd Oct 11, 2024
62d0971
remove payout tx for testing
Brechtpd Oct 16, 2024
96d30e3
test db fix simulation
Brechtpd Oct 16, 2024
1f20dd2
undo some changes
Brechtpd Oct 16, 2024
ac028b9
prints to see if changes actually are picked up :(
Brechtpd Oct 16, 2024
cacfe1e
set more dbs
Brechtpd Oct 16, 2024
e153159
change not picked up
Brechtpd Oct 16, 2024
4a2e954
encode tx list differently
Brechtpd Oct 16, 2024
68db319
figure out why tx_list decoding sometimes fails
Brechtpd Oct 16, 2024
e4076de
encode transactions correctly hopefully
Brechtpd Oct 16, 2024
17ae8f7
try to fix requirement of 2 txs for some reason
Brechtpd Oct 16, 2024
a124cd7
switch to gwyneth repo
Brechtpd Oct 17, 2024
0aa25cd
slight cleanup
Brechtpd Oct 17, 2024
7ebff02
Merge pull request #13 from taikoxyz/rbuilder-fix
Brechtpd Oct 17, 2024
f466143
print some more sim/block stats
Brechtpd Oct 17, 2024
b6a7971
more testing stuff
Brechtpd Oct 17, 2024
2313fcf
more sleep is healthy
Brechtpd Oct 17, 2024
cfd2e4f
ignore L1 transactions
Brechtpd Oct 17, 2024
d9310d3
undo compiler optimizations
Brechtpd Oct 17, 2024
5f696df
log sending simulation result
Brechtpd Oct 17, 2024
1b3a5f4
print some nonce stuff
Brechtpd Oct 17, 2024
954f8e9
actual chain nonce management
Brechtpd Oct 17, 2024
7396584
sleep some more, very healthy
Brechtpd Oct 17, 2024
db080d6
small debug logging improvents
Brechtpd Oct 18, 2024
036e3de
Merge pull request #14 from taikoxyz/rbuilder-fix
Brechtpd Oct 18, 2024
3fae51a
start remove hacky stuff
Brechtpd Oct 19, 2024
3fc9b26
Better block building ctx
Brechtpd Oct 21, 2024
6bc8822
get gwyneth chains to sync from config
Brechtpd Oct 22, 2024
ace0ae7
fix compile error
Brechtpd Oct 22, 2024
1368ae7
remove hardcoded chain ids
Brechtpd Oct 23, 2024
812dde6
add second L2
Brechtpd Oct 23, 2024
142e3b3
nothing really
Brechtpd Oct 23, 2024
fa7c817
update chain id
Brechtpd Oct 23, 2024
12ce35e
update l2 chain ids
Brechtpd Oct 24, 2024
45a5043
Merge pull request #15 from taikoxyz/rbuilder-fix
Brechtpd Oct 24, 2024
3afe8f0
update dockerfile
Oct 25, 2024
5bd61a2
sync composability with state deltas
Brechtpd Jan 11, 2025
f2810ee
Merge pull request #20 from taikoxyz/cross-chain
Brechtpd Jan 11, 2025
383a3ca
fix bundle reverts
Brechtpd Jan 13, 2025
ba11f47
Fix reverts being per tx instead of per block
Brechtpd Jan 13, 2025
46dc01e
remove some sleeps and comments
Brechtpd Jan 13, 2025
073fe2b
Merge pull request #21 from taikoxyz/changeset
Brechtpd Jan 14, 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
61 changes: 61 additions & 0 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Build and Release Binary

on:
push:
branches: [ gwyneth ] # Trigger on push to main branch
pull_request:
branches: [ gwyneth ] # Trigger on PR to main branch
workflow_dispatch: # Allow manual trigger

jobs:
build:
runs-on: ubuntu-22.04 # This ensures we build on Ubuntu 22.04

steps:
- uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Build
run: cargo build --release

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: rbuilder
path: target/release/rbuilder

release:
needs: build
runs-on: ubuntu-22.04
if: github.event_name == 'push' && github.ref == 'refs/heads/gwyneth'

steps:
- uses: actions/download-artifact@v4
with:
name: rbuilder

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.run_number }}
release_name: Release ${{ github.run_number }}
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./rbuilder
asset_name: rbuilder
asset_content_type: application/octet-stream
Loading
Loading