Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
473b62a
Tidy unused variables from op payload builder (#427)
ferranbt Feb 12, 2025
5474a03
Reth 1.2.0 (#429)
ZanCorDX Feb 26, 2025
4dcce3d
Add metrics for reverted transactions and builder balance in exex (#451)
avalonche Feb 27, 2025
bbb95f3
Flashblocks with incremental blocks + support in tester (#454)
ferranbt Feb 27, 2025
b26742d
Remove reverting transactions from pool in op-rbuilder (#456)
avalonche Mar 5, 2025
51edfb9
Fix deposit command to right address (#468)
avalonche Mar 6, 2025
7e9c551
Add priority fee integration test (#463)
avalonche Mar 6, 2025
b95efbb
Make flashblock ws url as a flag and add more data (#442)
cody-wang-cb Mar 10, 2025
9982017
Make block times dynamic in flashblock builder (#482)
cody-wang-cb Mar 10, 2025
57005df
Fix flashblocks receipt index (#494)
cody-wang-cb Mar 12, 2025
8c2d124
Refactor ExecutedPayload and ExecutionInfo (#477)
SozinM Mar 13, 2025
1c0ccd8
Remove prints in op-rbuilder (#502)
ferranbt Mar 14, 2025
372afa7
Add txn monitoring in op-rbuilder pool (#500)
ferranbt Mar 17, 2025
06ed75b
Interop support (#462)
SozinM Mar 18, 2025
e2cb917
Fixed grammatical errors for improved readability (#511)
Hopium21 Mar 19, 2025
b09e71e
deps: reth v1.3.4 (#507)
efbig Mar 26, 2025
5e533eb
Remove previous interop impl (#526)
SozinM Mar 31, 2025
9edb8da
fix: don't miss blocks on batcher updates (#529)
0x416e746f6e Apr 2, 2025
d7c0c23
Fix integration tests (#536)
avalonche Apr 3, 2025
6ee8422
Add metrics for flashblock and message tracking in OpRBuilder (#543)
jowparks Apr 10, 2025
5230230
deps: reth v1.3.8 (#553)
efbig Apr 15, 2025
52b8a62
Fix Isthmus request hash; support reth 1.3.11 (#564)
cody-wang-cb Apr 17, 2025
b72f58d
chore: fix op-rbuilder devnet docs (#562)
danyalprout Apr 17, 2025
f3083cd
Use latest reth for op-rbuilder (#570)
avalonche Apr 21, 2025
1cf957c
Fix isthmus withdrawals hash on payload builder vanilla (#571)
avalonche Apr 24, 2025
c676436
Fix resource usage in monitoring task (#588)
SozinM Apr 25, 2025
c8c9af3
fix: don't build flashblocks with more gas than block gas limit (#567)
danyalprout Apr 25, 2025
8cee172
op-rbuilder: Update Documentation / CI Script (#575)
danyalprout Apr 25, 2025
5f78693
Revert revert protection in op-rbuilder (#602)
cody-wang-cb Apr 30, 2025
2e38edb
Finish block building process even when cancel request is found (#606)
ferranbt May 9, 2025
f5bf1b0
Add usage of jemalloc in op-rbuilder when feature is enabled + improv…
SozinM May 9, 2025
f042224
fix: set an address for authrpc to the op-rbuilder readme (#581)
therustmonk May 12, 2025
75a7dd3
Clean up the repo
ferranbt May 12, 2025
c14644f
Merge pull request #1 from flashbots/feat/clean
ferranbt May 12, 2025
0474933
Add info log for reverting tx hashes
avalonche May 12, 2025
9cfada0
remove unecessary import
avalonche May 12, 2025
e0a4a29
Merge pull request #2 from flashbots/reverting-hashes
avalonche May 12, 2025
a5ba1a2
Remove monitoring tx task
ferranbt May 12, 2025
a3ca4af
Remove more things
ferranbt May 12, 2025
89689bd
Remove more stuff
ferranbt May 12, 2025
dd2250e
Last clean
ferranbt May 12, 2025
fefefd8
more cleaning
ferranbt May 12, 2025
63e087e
Use nightly clippy
May 13, 2025
3eb4d3b
Add variable builder deadline
ferranbt May 13, 2025
bdf827a
Fix lint
ferranbt May 13, 2025
52c7ff1
Fix on FB
ferranbt May 13, 2025
7bb2cff
Remove dep
ferranbt May 13, 2025
b98c4b5
Merge pull request #28 from flashbots/feat/arg-deadline
ferranbt May 13, 2025
31711c9
Merge pull request #27 from flashbots/msozin/clippy-and-fmt-nightly
ferranbt May 13, 2025
e30875b
Change to info
ferranbt May 13, 2025
4eabe5f
Add flag to enable revert protection
ferranbt May 13, 2025
08df5cb
Update
ferranbt May 13, 2025
7714cf8
add metric
ferranbt May 13, 2025
6259db1
Fix
ferranbt May 13, 2025
6fd2719
Merge pull request #30 from flashbots/fix/monitoring-info
ferranbt May 13, 2025
4bba2d1
Fix lint
ferranbt May 13, 2025
38f560d
Merge pull request #32 from flashbots/feat/add-flag-to-enable-revert-…
ferranbt May 13, 2025
a73fc53
Remove print statement
ferranbt May 13, 2025
f7db9ba
Remove print
ferranbt May 13, 2025
ded6902
Merge pull request #33 from flashbots/fix-remove-print
ferranbt May 13, 2025
3beb8bf
Add e2e test for monitor txn
ferranbt May 13, 2025
ca4e894
Partial
ferranbt May 13, 2025
7777de6
Add test
ferranbt May 13, 2025
95fc529
Fix lint
ferranbt May 13, 2025
e30490a
Merge pull request #34 from flashbots/e2e/monitor-txn
ferranbt May 13, 2025
ce5be3d
Test new generator
ferranbt May 14, 2025
59a3e3c
More changes
ferranbt May 14, 2025
47d606d
add integration tet
ferranbt May 14, 2025
a479349
Merge pull request #50 from flashbots/test-new-gen
ferranbt May 15, 2025
4ec8035
Was using wrong static for jemalloc (#51)
May 15, 2025
075ac32
Add version metric to op-rbuilder (#52)
May 15, 2025
b32cabd
Add a --playground flag on op-rbuilder to start with the flags requir…
karim-agha May 15, 2025
cea9ae8
Integration test uses genesis file (#44)
ferranbt May 15, 2025
653640a
Issue #36: Migrate the rest of the test to the new test utility (#53)
karim-agha May 20, 2025
4ee5a4e
Fix withdrawals root (#56)
May 20, 2025
dbb03df
Bump reth to 1.4.1 (#54)
May 21, 2025
02311cf
Add helper utility to check for block inclusion in e2e tests (#60)
ferranbt May 21, 2025
bcc255b
Add opt-in revert protection (#59)
ferranbt May 23, 2025
e155e20
Fix bundle result (#66)
ferranbt May 26, 2025
a8c7ee8
Remove flashblocks conditional compilation (#67)
karim-agha May 26, 2025
a23787e
Use correct DA transaction compression (#61)
May 27, 2025
7e196e6
Modity flashblocks ws bind/port flags (#71)
ferranbt May 27, 2025
bf5d9e1
Migrate e2e tests to Isthmus (#45)
ferranbt May 27, 2025
d43eaf7
Add total_block_built_duration metric back to vanilla builder (#77)
avalonche May 28, 2025
628b8f4
Feat/revert protection status endpoint (#76)
ferranbt May 29, 2025
f378658
Fix da scaling (#81)
May 30, 2025
0805d42
Add logs for da limits (#86)
ferranbt May 30, 2025
bcc5483
Add log for the block building execution (#87)
ferranbt May 30, 2025
9529c68
Add builder txn to Flashblocks (#89)
ferranbt May 30, 2025
ab3cc8a
Use original function with manual scaling (#96)
Jun 2, 2025
7a24735
Add error log in case builder tx da size sets max_da_block_size to 0 …
Jun 2, 2025
5f2eca5
Add replacement for default reth version (#98)
Jun 2, 2025
29fbc58
Added feature-gated interop (#93)
Jun 3, 2025
1354add
Use Gauge for da size limits (#105)
Jun 3, 2025
b461fa9
Account for DA and gas limit in flashblocks (#104)
Jun 3, 2025
eecce03
Upgrade to reth 1.4.7 and main rollup-boost branch (#112)
avalonche Jun 4, 2025
0f69fd7
Add block number and DA used to logging (#107)
cody-wang-cb Jun 4, 2025
5fc7b37
Add gas limit and DA transaction results for tracing (#110)
avalonche Jun 4, 2025
13d441f
Use block number as hex (#116)
ferranbt Jun 4, 2025
43b6768
Add another builder tx after the first flashblock (#121)
Jun 4, 2025
f4b51ee
Add reverting hashes + min block number to Bundle (#115)
ferranbt Jun 5, 2025
200db77
feat: add a feature to activate otlp telemetry (#31)
therustmonk Jun 5, 2025
b8cc260
Bundles: Ensure that the min block number is inside the MAX_BLOCK_RAN…
trianglesphere Jun 6, 2025
307f3c0
Fix bundle type reverting hashes optional param (#126)
ferranbt Jun 6, 2025
a9676b3
Remove toml and add feature gate (#117)
Jun 6, 2025
9198745
Move bundle validation to primitives folder (#129)
ferranbt Jun 7, 2025
01b627a
Split op-rbuilder in lib and main (#138)
ferranbt Jun 9, 2025
3e9395a
In-process tests, optional dockerized validation node (#132)
karim-agha Jun 11, 2025
1f70a52
fmt (#142)
Jun 11, 2025
cd3b6cc
Add minTimestamp and maxTimestamp as optional fields to bundle (#141)
akundaz Jun 11, 2025
83bbd73
Add metric for bundles received (#149)
akundaz Jun 12, 2025
048a495
Add metric to count reverted bundles (#151)
akundaz Jun 16, 2025
6b38398
Remove extra generic param (#152)
Jun 16, 2025
be4bcce
Add pingpong and closing frame handle (#154)
Jun 16, 2025
af637b1
Supress infallible clippy error (#155)
Jun 16, 2025
bf61aa1
Use tungstenite provided ping handling (#156)
Jun 16, 2025
4f12d5e
Avoid boxing for the txlogging task (#153)
therustmonk Jun 16, 2025
2ec74c5
Fix regression tester command (#160)
ferranbt Jun 17, 2025
8656471
Genesis command outputs genesis file (#159)
ferranbt Jun 17, 2025
95e8ead
Account for flashblocks time drift (#123)
Jun 17, 2025
ebbc038
Run the vanilla tests using both the flashblocks builder and the vani…
karim-agha Jun 17, 2025
c3e66d8
fix: add default-run to the op-rbuilder's manifest (#162)
therustmonk Jun 17, 2025
e6ecf7b
Flashtestions (#137)
avalonche Jun 17, 2025
b0a512d
Flashtestations flag (#165)
avalonche Jun 17, 2025
42fb725
Add some telemetry for `eth_sendBundle` (#176)
akundaz Jun 23, 2025
6aaa5fd
Review (#170)
SozinM Jun 25, 2025
117c864
Add cli flag for funding key (#168)
avalonche Jun 25, 2025
cb22d05
Move builder tx right after deposits and put it into base flashblock …
SozinM Jun 26, 2025
66eb367
Implement correct flashblocks time cutoff (#172)
SozinM Jun 27, 2025
4fc3d81
Change default leeway-time + add handing for block cancellation (#185)
SozinM Jul 1, 2025
dd58e9e
Bump reth 1.5.0 (#186)
krl Jul 3, 2025
dcc678b
Add simple logging to timer task (#191)
SozinM Jul 7, 2025
a266b98
Improve metrics so we could better plot them (#193)
SozinM Jul 9, 2025
889e41e
Bump reth to 1.5.1 (#192)
SozinM Jul 9, 2025
f2feb76
Fix ordering issue by not including arriving txs into the best transa…
SozinM Jul 9, 2025
4f45dc7
Remove without_updates for flashblocks (#198)
SozinM Jul 11, 2025
7566486
Add a test to validate that no-tx-pool works (#199)
ferranbt Jul 15, 2025
6b69848
Add TDX quote provider service (#200)
avalonche Jul 16, 2025
53819b5
Add gauge metrics for block building steps (#205)
akundaz Jul 17, 2025
d892e6d
Remove redundant account initialization (#208)
krl Jul 17, 2025
73ec080
Add flashblocks index to payload building context (#210)
avalonche Jul 22, 2025
0a64d1f
gauge metrics to inspect flag settings (#207)
akundaz Jul 22, 2025
6ba67d5
Bump reth to 1.6 (#215)
krl Jul 24, 2025
1cec430
Less confusing naming, state is called db and db is called state (#219)
krl Jul 31, 2025
d42edae
Add flashblock number filters to eth_sendBundle (#213)
akundaz Jul 31, 2025
587a73d
Fix bundle state and produce executed block (#223)
SozinM Aug 4, 2025
c1a38f8
Add caching to generator (#221)
avalonche Aug 4, 2025
7eb701e
fix: record missing flashblocks (#225)
akundaz Aug 7, 2025
6ba6cdb
fix: record num txs built with flashblocks enabled (#227)
akundaz Aug 7, 2025
344f68a
combine eth api modifications (#231)
akundaz Aug 12, 2025
9fcf51b
Add correct metric value (#234)
SozinM Aug 13, 2025
387bdcc
feat: add transaction gas limit (#214)
varun-doshi Aug 13, 2025
492f714
Add fix to preserve all executed blocks for flashblocks (#229)
SozinM Aug 20, 2025
2551b1c
fix: override clap long version envs (#235)
julio4 Aug 20, 2025
ff4a155
Improve best tx wrapper (#245)
SozinM Aug 22, 2025
fe5c09f
docs: eth_sendBundle (#243)
akundaz Aug 25, 2025
ddefb4f
update rust edition to 2024 (#244)
akundaz Aug 25, 2025
75f0282
feat: address gas limiter (#253)
akundaz Sep 5, 2025
2b3f5a7
feat: add commit message and author in version metrics (#236)
julio4 Sep 11, 2025
b4e5860
fix: gracefull cancellation on payload build failure (#239)
julio4 Sep 11, 2025
f8e900e
fix: flashblock contraints in bundle api (#259)
akundaz Sep 12, 2025
b6e515f
bump reth to 1.7.0 (#258)
SozinM Sep 12, 2025
ccf9c83
flag to determine if calculating state root (#241)
cody-wang-cb Sep 16, 2025
8341ed1
refactor: add `unreachable_pub` warning and autofix warnings (#263)
noot Sep 16, 2025
7ba3416
Refactor payload builder to accept generic builder tx (#217)
avalonche Sep 17, 2025
1813788
refactor: clean up and improve flashblocks `build_payload` (#260)
noot Sep 17, 2025
d7b23c2
fix: check per-address gas limit before checking if the tx reverted (…
akundaz Sep 17, 2025
9e1a24d
Add support for flashblocks number contract builder tx (#256)
avalonche Sep 19, 2025
e5c4c04
Bump reth to 1.8.1 (#274)
SozinM Sep 25, 2025
96d85db
feat: overwrite reth default cache directory (#238)
julio4 Sep 25, 2025
2970863
Add remote quote provider arg for flashtestations (#276)
avalonche Sep 25, 2025
13426ac
add metrics to track gas used by reverting txs (#273)
akundaz Sep 30, 2025
4f5ecd3
Add flashblocks number integration tests (#277)
avalonche Oct 3, 2025
1da9895
Update flashtestation service with latest contracts (#281)
avalonche Oct 3, 2025
49b1d8c
Flag to save tee key to local file (#286)
avalonche Oct 9, 2025
c8bff33
Add flashtestation builder tx and registration in block (#282)
avalonche Oct 16, 2025
c2b90f4
Add flashtestations integration tests (#283)
avalonche Oct 16, 2025
3422c78
chore: add unused_async lint, deny unreachable_pub (#299)
noot Oct 17, 2025
14cb6b7
refactor: clean up flashblocks context in payload builder (#297)
noot Oct 20, 2025
8107f87
Add permit flashtestations tx calls from builder (#285)
avalonche Oct 22, 2025
0fe01d5
Remove non permit flashtestation calls (#302)
avalonche Oct 23, 2025
1b70993
feat: implement p2p layer and broadcast flashblocks (#275)
noot Oct 27, 2025
dc3608e
feat: implement flashblock sync over p2p (#288)
noot Oct 28, 2025
ba04e0a
reth bump (#306)
SozinM Nov 3, 2025
9ae42b5
feat: publish synced flashblocks to ws (#310)
noot Nov 3, 2025
5695cba
Add permit functions for flashblocks number contract (#287)
avalonche Nov 4, 2025
ee102a6
remove ws publishing from synced flashblocks (#312)
noot Nov 4, 2025
229e6f8
[breaking-change] Fix arg for calculating state root (#314)
avalonche Nov 10, 2025
35c330b
feat: Integrate downstream changes (Jovian hardfork + miner_setGasLim…
tobidae-cb Nov 10, 2025
a959e18
Add workload id as metric to builder (#315)
avalonche Nov 10, 2025
1df3e0e
chore(deps/reth): bump reth to 1.9.2 (#318)
theochap Nov 13, 2025
0efe630
chore(deps): bump reth (#321)
theochap Nov 18, 2025
a2d4310
fix: jovian hardfork tests & fixes (#320)
danyalprout Nov 18, 2025
f06b7f2
Add blob gas used to flashblocks delta (#325)
avalonche Nov 19, 2025
0144fd4
feat: resoure metering rpc/lookup
danyalprout Nov 10, 2025
3fe6981
update flashtestation logic to use new workload ID computation (#331)
Melvillian Nov 24, 2025
06dd34d
Add cumulative da of builder tx da size (#322)
avalonche Nov 24, 2025
4fb5961
Merge pull request #22 from danyalprout/tips-rpc
danyalprout Nov 24, 2025
49dfbc0
Merge pull request #25 from base/upstream-main
danyalprout Nov 25, 2025
c92d1ff
Fix deps (#336)
SozinM Dec 1, 2025
42181cc
Merge pull request #27 from flashbots/main
danyalprout Dec 1, 2025
67e8ce6
builder backrun
cody-wang-cb Dec 17, 2025
5b52892
replacement
cody-wang-cb Dec 17, 2025
0410952
fix fmt
cody-wang-cb Dec 17, 2025
e9a1bfe
add is empty
cody-wang-cb Dec 17, 2025
f8ba64b
remove not needed logs
cody-wang-cb Dec 17, 2025
00c81b0
switch considering transaction to info
cody-wang-cb Dec 18, 2025
ad787ec
sort by priority fee; add backrun integration test
cody-wang-cb Dec 19, 2025
8e22f94
support all or nothing bundles
cody-wang-cb Dec 19, 2025
6364ae8
priority fee validation
cody-wang-cb Dec 19, 2025
1aac278
add bundle sorting
cody-wang-cb Dec 19, 2025
62dbb41
use bundle total fee for validation
cody-wang-cb Dec 19, 2025
9a2bc01
refactor
cody-wang-cb Dec 22, 2025
bb3b5bf
remove key by sender
cody-wang-cb Dec 22, 2025
4458907
skip checking bundles if failed validation
cody-wang-cb Dec 22, 2025
222463d
merge resrouce metering and backrun bundle into one
cody-wang-cb Dec 22, 2025
28b331b
single buffer size; fix lint
cody-wang-cb Dec 22, 2025
18b1063
fix DA estimation; use one getter
cody-wang-cb Dec 22, 2025
bf0ec44
optimize gettor
cody-wang-cb Dec 22, 2025
47e6a2e
use FBPooledTransaction
cody-wang-cb Dec 22, 2025
4be1d76
info logs
cody-wang-cb Dec 23, 2025
f9f5bf0
Merge pull request #32 from base/cody/builder_backrun
cody-wang-cb Dec 23, 2025
65b26c7
handle evm error gracefully
cody-wang-cb Jan 6, 2026
8b2d838
use different metric
cody-wang-cb Jan 6, 2026
62fe7b7
check invalid err
cody-wang-cb Jan 6, 2026
cfefa86
Merge pull request #36 from base/cody/handle_evm_error
cody-wang-cb Jan 6, 2026
779a91e
chore: rename runner/primitives crates and move reth-rpc to shared
danyalprout Jan 10, 2026
2b4da5c
chore: unify extensions to be one per crate
danyalprout Jan 10, 2026
3108574
chore: migrate generic node setup to client-primitives, remove client…
danyalprout Jan 10, 2026
b55a54e
chore: unify test account logic
danyalprout Jan 10, 2026
3f5fef5
chore: removed dead code
danyalprout Jan 10, 2026
01f9d25
chore: migrated test harness to support extensions
danyalprout Jan 10, 2026
30fc46f
chore: update metering rpc tests to use the node harness
danyalprout Jan 10, 2026
985b582
chore: code cleanup
danyalprout Jan 11, 2026
1882a18
chore: migrate metering non-rpc tests
danyalprout Jan 11, 2026
96f6074
chore: chain spec loaders
danyalprout Jan 11, 2026
07827bf
chore: remove genesis file + build it in rust
danyalprout Jan 11, 2026
bb07cd0
chore: setup shared primitives and move accounts/contracts there unde…
danyalprout Jan 11, 2026
571c1db
chore: move FB test harness to flashblocks crate
danyalprout Jan 11, 2026
3ceb995
chore: delete test-utils, rename client-primites to node
danyalprout Jan 11, 2026
20a3495
chore: add GHA/script to check that shared crates dont depend on client/
danyalprout Jan 11, 2026
391034c
chore: format features and update lockfile
danyalprout Jan 11, 2026
49f6d1c
review feedback
danyalprout Jan 11, 2026
b439aa8
chore: inline config extraction in extension constructors
danyalprout Jan 11, 2026
7aa0f89
migrate back to generic install_ext
danyalprout Jan 11, 2026
d842b62
feat: import op-rbuilder crates with preserved history
danyalprout Jan 11, 2026
d0e7185
minimal changes to integrate project
danyalprout Jan 12, 2026
2f7eac2
fix running tests locally (we have oltp env vars on macs
danyalprout Jan 12, 2026
8391c04
fix: add native dependencies to udeps CI job
danyalprout Jan 12, 2026
fe50834
Merge branch 'main' of github.com:base/node-reth into danyal/merge-bu…
haardikk21 Jan 12, 2026
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
141 changes: 141 additions & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
name: Builder CI

on:
push:
pull_request:
merge_group:

env:
CARGO_TERM_COLOR: always
# Zero out OTEL env vars to prevent local environment interference in tests
OTEL_EXPORTER_OTLP_ENDPOINT: ""
OTEL_EXPORTER_OTLP_HEADERS: ""
OTEL_SDK_DISABLED: "true"

permissions:
contents: read

jobs:
build-builder:
name: Build Builder Crates
runs-on: ubuntu-24.04
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libsqlite3-dev \
clang \
libclang-dev \
llvm \
build-essential \
pkg-config \
libtss2-dev

- uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
with:
components: clippy

- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
cache-on-failure: true
add-rust-environment-hash-key: "false"
key: builder-stable-${{ hashFiles('Cargo.lock') }}

- name: Install just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3

- name: Build builder crates
run: just build-builder

test-builder:
name: Test Builder Crates
runs-on: ubuntu-24.04
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libsqlite3-dev \
clang \
libclang-dev \
llvm \
build-essential \
pkg-config \
libtss2-dev

- uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable

- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1

- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
cache-on-failure: true
add-rust-environment-hash-key: "false"
key: builder-stable-${{ hashFiles('Cargo.lock') }}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@50d5a8956f2e319df19e6b57539d7e2acb9f8c1e # v1.5.0
with:
version: stable

- name: Install just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3

- name: Run builder tests
run: just test-builder
env:
TESTS_TEMP_DIR: ${{ github.workspace }}

clippy-builder:
name: Clippy Builder Crates
runs-on: ubuntu-24.04
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libsqlite3-dev \
clang \
libclang-dev \
llvm \
build-essential \
pkg-config \
libtss2-dev

- uses: dtolnay/rust-toolchain@0c3131df9e5407c0c36352032d04af846dbe0fb7 # nightly
with:
components: clippy

- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
cache-on-failure: true
add-rust-environment-hash-key: "false"
key: builder-nightly-${{ hashFiles('Cargo.lock') }}

- name: Install just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3

- name: Run clippy on builder crates
run: just check-clippy-builder
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ jobs:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libsqlite3-dev \
clang \
libclang-dev \
llvm \
build-essential \
pkg-config \
libtss2-dev

- uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
Expand All @@ -44,6 +57,19 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: recursive

- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libsqlite3-dev \
clang \
libclang-dev \
llvm \
build-essential \
pkg-config \
libtss2-dev

- uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
Expand Down Expand Up @@ -96,6 +122,19 @@ jobs:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libsqlite3-dev \
clang \
libclang-dev \
llvm \
build-essential \
pkg-config \
libtss2-dev

- uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
with:
components: clippy
Expand Down Expand Up @@ -142,6 +181,19 @@ jobs:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libsqlite3-dev \
clang \
libclang-dev \
llvm \
build-essential \
pkg-config \
libtss2-dev

- uses: rui314/setup-mold@725a8794d15fc7563f59595bd9556495c0564878 # v1
- uses: dtolnay/rust-toolchain@0c3131df9e5407c0c36352032d04af846dbe0fb7 # nightly
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
Expand Down
Loading