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

Sidecar: builder-API implementation #62

Merged
merged 101 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
f303882
feat(sidecar): builder api skeleton
Jun 4, 2024
b5da33a
feat(sidecar): wip builder API proxy
Jun 5, 2024
8287683
refactor(sidecar): api spec module
Jun 5, 2024
86b950b
feat(sidecar): fix get_payload params
Jun 5, 2024
bb2e388
fix(sidecar): convert get_header to get_header_with_proofs path
Jun 5, 2024
000fa05
feat(sidecar): fetch local payload on failed get_header
Jun 5, 2024
662e23c
fix(sidecar): get_header errors
Jun 5, 2024
826eb54
feat(sidecar): more progress on mevboost client
Jun 5, 2024
c9b0049
fix(sidecar): temp rm ssz from some types
Jun 5, 2024
1d2f9ca
fix(sidecar): rpc tag
Jun 6, 2024
3304cc0
feat(sidecar): finish proxy
Jun 6, 2024
c450159
fix(sidecar): proxy error handling
Jun 6, 2024
393f4ec
misc(sidecar): clippy
Jun 6, 2024
4c2032e
feat(sidecar): fix types, integrate new mevboost client
Jun 6, 2024
cba5d1d
refactor(sidecar): move logic outside json-rpc api
Jun 6, 2024
cc241db
feat(sidecar): start payload fetcher integration
Jun 6, 2024
31431e4
wip: convert block template to payload and bid
Jun 7, 2024
8937e80
wip: resolve types to the same standard, rebase conflicts
merklefruit Jun 17, 2024
d082d06
chore: cleanup types and warnings
merklefruit Jun 17, 2024
c97e519
chore: fix conflicts and rebase
merklefruit Jun 22, 2024
9983438
chore: rebase
merklefruit Jun 22, 2024
cdc330c
chore(cargo): pin dependencies
thedevbirb Jun 19, 2024
5c25f78
feat(fallback): implement new state root calculation using partial mp…
thedevbirb Jun 19, 2024
991ee2b
feat(sidecar): call trace manager
thedevbirb Jun 20, 2024
29ca9d4
chore(sidecar): call trace manager cleanup and docs
thedevbirb Jun 20, 2024
9fcea2e
chore(sidecar): clippy
thedevbirb Jun 21, 2024
cfbb6e6
chore: rebase
merklefruit Jun 22, 2024
ca1b391
Merge pull request #89 from chainbound/feat/create-fallback-block
Jun 24, 2024
c27a7bc
test(sidecar): js tracer wip
thedevbirb Jun 25, 2024
9d00b5e
experimental: get payload from EL error hints
merklefruit Jun 25, 2024
2f05ba0
feat: engine hinter
merklefruit Jun 26, 2024
c4f0aff
feat: passing test + cleanup
merklefruit Jun 26, 2024
7f57ea7
feat: sign builder submissions
merklefruit Jun 26, 2024
a0c085f
chore: cleanup
merklefruit Jun 26, 2024
73b7273
chore: cleanup
merklefruit Jun 26, 2024
8127c0e
Merge pull request #91 from chainbound/feat/partial-mpt
Jun 26, 2024
256130a
Merge pull request #93 from chainbound/experiment/el-error-hints
Jun 26, 2024
43e0a2c
feat: consensus state skeleton
merklefruit Jun 25, 2024
a2c0196
feat: cleanup and added docs
merklefruit Jun 26, 2024
ff44875
Merge pull request #96 from chainbound/06-26-feat_cleanup_and_added_docs
merklefruit Jun 27, 2024
dc42505
feat(sidecar): mev-boost proxy config
thedevbirb Jun 27, 2024
540d28a
chore(docker): annoying casing warning
thedevbirb Jun 27, 2024
8d6d155
chore(boost): signature types, string methods on constraints
thedevbirb Jun 27, 2024
f562fbf
chore(repo): gitignore for dump log files
thedevbirb Jun 27, 2024
ee38284
chore(sidecar-bin): better error messages; max 5 tries for sending co…
thedevbirb Jun 27, 2024
f43c1c6
chore(sidecar): delete old mevboost from rebase
thedevbirb Jun 27, 2024
95cb5a9
chore(sidecar): remove base fee check, wait for #94
thedevbirb Jun 27, 2024
459dffc
feat(sidecar): max commitments options
thedevbirb Jun 27, 2024
ba0b57d
fix(sidecar-api): error messages, docs
thedevbirb Jun 27, 2024
68b9601
feat(sidecar): we're so back; builder-api/proxy working with preconfs…
thedevbirb Jun 27, 2024
030c21d
fix(sidecar): skip try commit checks for now until #94 etc is ready
thedevbirb Jun 27, 2024
4c0e475
feat(sidecar): fetch proposer duties
namn-grg Jul 1, 2024
28cc124
docs: add comments
namn-grg Jul 1, 2024
c9d24cf
feat(sidecar): state validation
namn-grg Jul 1, 2024
c7dff35
Merge pull request #98 from chainbound/ng/feat/consensus-state
merklefruit Jul 1, 2024
3e47216
feat: consensus state skeleton
merklefruit Jun 25, 2024
8b8c1f1
chore: rebase
merklefruit Jul 1, 2024
ab6401d
Merge pull request #94 from chainbound/feat/consensus-state
merklefruit Jul 1, 2024
95bb628
feat(cli): validator indexes
namn-grg Jul 1, 2024
838f568
chore(sidecar): integrate indexes - TODO
namn-grg Jul 1, 2024
83ba433
chore(sidecar): default value
namn-grg Jul 2, 2024
74e2615
chore(sidecar): integrate validator index
namn-grg Jul 2, 2024
c721cdf
doc
namn-grg Jul 2, 2024
7fca8a0
chore(sidecar): indexes parser
namn-grg Jul 2, 2024
fc0145f
chore(sidecar): validate request
namn-grg Jul 2, 2024
2757712
chore(sidecar): refactor consensus state
namn-grg Jul 2, 2024
01f64b3
doc: remove comment
namn-grg Jul 2, 2024
6748f63
chore: use value_parser
namn-grg Jul 2, 2024
1885232
chore: remove parser fn
namn-grg Jul 2, 2024
488e867
chore(sidecar): some changes
Jul 3, 2024
bc8e1ba
chore(sidecar): put the filter fn inside consensus state
namn-grg Jul 3, 2024
af6cfc6
chore: make fn private
namn-grg Jul 3, 2024
48a9ef5
fix(sidecar): extra-data
thedevbirb Jul 3, 2024
b4f57cb
Merge pull request #101 from chainbound/feat/sidecar/validator-index
merklefruit Jul 3, 2024
30d63e9
feat(sidecar): integrate local builder with builder api
thedevbirb Jun 28, 2024
1bbe8bc
fix(sidecar): builder api + fallback wip
thedevbirb Jun 28, 2024
a9b71cd
chore: minor changes
merklefruit Jul 1, 2024
851aeb9
stub
thedevbirb Jul 1, 2024
0318b74
feat(sidecar): commitment deadline + refactoring
thedevbirb Jul 2, 2024
3d4e37f
Co-authored-by: nicolas <[email protected]>
thedevbirb Jul 2, 2024
b36bfc5
fix(sidecar): commitment deadline polling
thedevbirb Jul 2, 2024
11e71a5
fix(sidecar): introduce latest_slot in ConsensusState for deadline va…
thedevbirb Jul 2, 2024
1e5d7a5
fix(sidecar): re-introduce block hash hint
thedevbirb Jul 2, 2024
e4cda7e
feat(sidecar): slot-time-in-seconds flag
thedevbirb Jul 2, 2024
5242ea3
wip: signature error
merklefruit Jul 2, 2024
afb6882
fix: consensus roots calculation + payload version
merklefruit Jul 3, 2024
ad4c983
fix: get_payload response type, blobs bundle field
merklefruit Jul 3, 2024
744cde7
chore: rm unused comments, increase tracing level for some logs
merklefruit Jul 3, 2024
bf76777
fix(sidecar): restore execution checks
thedevbirb Jul 3, 2024
09997cf
chore: addressed review comments
merklefruit Jul 3, 2024
067346f
chore: added note
merklefruit Jul 3, 2024
b981807
feat: refactor config and add ChainConfig
merklefruit Jul 3, 2024
35cd0c6
chore: minor changes
merklefruit Jul 3, 2024
d074de9
fix(sidecar): nonce on block template, remove extra commit transaction
thedevbirb Jul 3, 2024
4f87242
Merge pull request #108 from chainbound/chore/refactor-config
merklefruit Jul 4, 2024
3ad9942
Merge pull request #97 from chainbound/feat/fallback-builder-api
thedevbirb Jul 4, 2024
0186a10
chore: slot_time config rename
merklefruit Jul 4, 2024
d5f3a31
chore: addressed some review comments
merklefruit Jul 4, 2024
3f91e73
chore: restored prev_randao manual fetch
merklefruit Jul 4, 2024
c177e46
chore: restored apk unpinned versions
merklefruit Jul 4, 2024
e8ae749
Merge pull request #111 from chainbound/chore/builder-api-review
thedevbirb Jul 4, 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*_dump.log
14 changes: 10 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ sidecar-dump:
@id=$(docker ps -n 100 | grep sidecar | awk -F' ' '{print $1}') && \
docker logs $id 2>&1 | tee sidecar_dump.log


# show the logs for the bolt devnet builder
kill-builder:
@id=$(docker ps -n 100 | grep bolt-builder | awk -F' ' '{print $1}') && \
docker stop $id

# show the dora explorer in the browser. NOTE: works only for Linux and MacOS at the moment
dora:
@url=$(just inspect | grep 'dora\s*http' | awk -F'-> ' '{print $2}' | awk '{print $1}') && \
Expand Down Expand Up @@ -103,19 +109,19 @@ build-images:

# build the docker image for the bolt builder
_build-builder:
cd builder && docker build -t ghcr.io/chainbound/bolt-builder:0.1.0 .
cd builder && docker buildx build -t ghcr.io/chainbound/bolt-builder:0.1.0 .

# build the docker image for the bolt relay
_build-relay:
cd mev-boost-relay && docker build -t ghcr.io/chainbound/bolt-relay:0.1.0 .
cd mev-boost-relay && docker buildx build -t ghcr.io/chainbound/bolt-relay:0.1.0 .

# build the docker image for the bolt sidecar
_build-sidecar:
cd bolt-sidecar && docker build -t ghcr.io/chainbound/bolt-sidecar:0.1.0 .
cd bolt-sidecar && docker buildx build -t ghcr.io/chainbound/bolt-sidecar:0.1.0 .

# build the docker image for the bolt mev-boost sidecar
_build-mevboost:
cd mev-boost && docker build -t ghcr.io/chainbound/bolt-mev-boost:0.1.0 .
cd mev-boost && docker buildx build -t ghcr.io/chainbound/bolt-mev-boost:0.1.0 .

# push all the docker images to the private github container registry
_push-images:
Expand Down
1 change: 1 addition & 0 deletions bolt-sidecar/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target/
.env
Loading