Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2802 commits
Select commit Hold shift + click to select a range
60d2acf
Merge remote-tracking branch 'origin/master' into bold_merge
tsahee Jul 29, 2025
fe7fe45
lint fixes
tsahee Jul 29, 2025
0ba6393
Merge branch 'master' into fix/improve-error-message-accuracy
rauljordan Jul 29, 2025
e8d1890
Merge pull request #3429 from OffchainLabs/gligneul/update-geth
joshuacolvin0 Jul 29, 2025
e6f66f4
fix computeHoldGas handling
joshuacolvin0 Jul 29, 2025
49f21f5
Use new golangci-lint fmt
joshuacolvin0 Jul 30, 2025
9b6cf98
Fix contracts formatter
joshuacolvin0 Jul 30, 2025
2d76671
check formatting on contracts-local instead of contracts
joshuacolvin0 Jul 30, 2025
7fdfe63
Merge branch 'master' into fix/improve-error-message-accuracy
eljobe Jul 30, 2025
aa6361d
Merge pull request #3422 from Galoretka/fix/improve-error-message-acc…
eljobe Jul 30, 2025
ac7a315
Merge branch 'master' into lint-fmt
eljobe Jul 30, 2025
d0e4d16
Merge pull request #3432 from OffchainLabs/lint-fmt
eljobe Jul 30, 2025
9c3a0f6
Update codeql-analysis.yml
Hopium21 Jul 30, 2025
d5f999f
Try NOT running the nitro CodeQL build in parallel
eljobe Jul 30, 2025
fceff93
Merge branch 'master' into coql
eljobe Jul 30, 2025
806f35c
Merge pull request #3433 from Hopium21/patch-1
eljobe Jul 30, 2025
3e22e0b
Merge branch 'master' into bold_merge
tsahee Jul 30, 2025
68179cd
Merge branch 'master' into coql
eljobe Jul 30, 2025
9b23d70
bold: delete bazel lock
tsahee Jul 30, 2025
b49edad
bold workflow: upload coverage
tsahee Jul 30, 2025
8bfdfcc
Merge pull request #3434 from OffchainLabs/coql
eljobe Jul 30, 2025
5ed18ab
Increase EVM Call timeout to avoid flaky CI
gligneul Jul 30, 2025
a97c403
bold: use normal nitro license
tsahee Jul 30, 2025
bdedcae
bold workflow: fix branch reference
tsahee Jul 30, 2025
3d5ed33
bold: update readme file
tsahee Jul 30, 2025
6859c32
gitignore: remove bazel
tsahee Jul 30, 2025
0074b72
Merge pull request #3435 from OffchainLabs/gligneul/fix-stylus-tests
gligneul Jul 30, 2025
b6d561f
Merge branch 'master' into holdgas-fix
gligneul Jul 30, 2025
41a4c4f
Merge branch 'master' into bold_merge
tsahee Jul 30, 2025
23cae22
Merge pull request #3430 from OffchainLabs/bold_merge
eljobe Jul 31, 2025
ff02d4d
Update docker.yml
Hopium21 Jul 31, 2025
e0980ea
Fix multi assertion confirmation tx sending (#752)
rauljordan Aug 1, 2025
7a750e3
Fix Double Deposit Issue (#758)
rauljordan Aug 1, 2025
ca5dba0
header
rauljordan Aug 1, 2025
7c7ca35
Merge pull request #3443 from OffchainLabs/bold-diff-in-archived-repo
rauljordan Aug 4, 2025
319f03e
Merge branch 'master' into patch-2
eljobe Aug 4, 2025
f283031
Merge pull request #3442 from Hopium21/patch-2
eljobe Aug 4, 2025
b9f8eec
Merge branch 'master' into holdgas-fix
eljobe Aug 5, 2025
7c81586
Merge pull request #3431 from OffchainLabs/holdgas-fix
eljobe Aug 5, 2025
68a1d20
Blob prices should not be used if parent chain doesn't return blob price
amsanghi Aug 5, 2025
39c4895
Merge pull request #3450 from OffchainLabs/auto_switch_to_calldata
joshuacolvin0 Aug 5, 2025
d7d8f16
add transactions to sequencing hooks
tsahee Aug 6, 2025
847d8ae
use new hooks in execengine
tsahee Aug 6, 2025
3ffc95e
use new hooks in sequencer
tsahee Aug 6, 2025
4e67920
use new hooks in tests
tsahee Aug 6, 2025
b8b3952
add system test
ganeshvanahalli Aug 7, 2025
eebf915
GlobalState not in chain should be a fatal error when requesting a co…
alexandrosfilios Aug 5, 2025
9f7aead
fix lint and avoid putting txs into retryQueue more than once
ganeshvanahalli Aug 7, 2025
e714d0a
add timeout to reading from txQueue
ganeshvanahalli Aug 7, 2025
4ea4dcb
address PR comments
ganeshvanahalli Aug 8, 2025
c4ce22a
try sequencing reviving failures in the current block instead of next
ganeshvanahalli Aug 8, 2025
e50b1cd
perf(util/colors): optimize regex compilation in Uncolor function
aso20455 Aug 9, 2025
355feb6
fix: notify clients when nonce-failure transactions expire
gap-editor Aug 9, 2025
9dc9391
Update foundry.toml
eeemmmmmm Aug 10, 2025
eab4b2a
Update stopwaiter.go
eeemmmmmm Aug 10, 2025
c95def1
Update util.go
eeemmmmmm Aug 10, 2025
0eb1f71
Update writer.go
eeemmmmmm Aug 10, 2025
d8beb01
Update init.go
eeemmmmmm Aug 10, 2025
2fb0bfc
Update rollup_stack.go
eeemmmmmm Aug 10, 2025
e6dcc57
Update redisstorage.go
eeemmmmmm Aug 10, 2025
a4c3cdb
address PR comments
ganeshvanahalli Aug 11, 2025
08ff966
address PR comments
ganeshvanahalli Aug 11, 2025
6564891
Merge pull request #3462 from aso20455/master
eljobe Aug 11, 2025
8a5bf7c
Merge branch 'master' into sequencetxs-using-hooks
eljobe Aug 11, 2025
a64bcc4
Merge pull request #3454 from OffchainLabs/sequencetxs-using-hooks
ganeshvanahalli Aug 11, 2025
13c1c3e
Merge branch 'master' into patch-1
eljobe Aug 11, 2025
189d737
Workaround stuck AuctionResolved logs via resolvedRounds contract call
MishkaRogachev Aug 11, 2025
01b6ea5
fix: lint problem blocking ci running tests
KolbyML Aug 11, 2025
16c01f8
Merge pull request #3463 from gap-editor/patch-1
KolbyML Aug 11, 2025
349c4c7
Review fixes for ExpressLaneTracker
MishkaRogachev Aug 11, 2025
bf43f8c
Merge branch 'master' into alter-express-line-tracker-no-logs
Tristan-Wilson Aug 12, 2025
efa52d5
Merge pull request #3472 from OffchainLabs/alter-express-line-tracker…
Tristan-Wilson Aug 12, 2025
5e2791c
Update arbitrator-ci.yml
Hopium21 Aug 12, 2025
f3004b3
Update bold.yml
Hopium21 Aug 12, 2025
52af0ca
Update ci.yml
Hopium21 Aug 12, 2025
b4f0eb5
Update codeql-analysis.yml
Hopium21 Aug 12, 2025
d870c1c
Update docker.yml
Hopium21 Aug 12, 2025
208540a
Update fuzz.yml
Hopium21 Aug 12, 2025
c359350
Update nightly-ci.yml
Hopium21 Aug 12, 2025
e29ed17
Update release-ci.yml
Hopium21 Aug 12, 2025
f32c59b
Update shellcheck-ci.yml
Hopium21 Aug 12, 2025
118ea2d
Update submodule-pin-check.yml
Hopium21 Aug 12, 2025
0b9a348
Merge branch 'master' into master
eeemmmmmm Aug 12, 2025
e9d6a74
Update init.go
eeemmmmmm Aug 12, 2025
fd46ebe
testcompiler: use higher level functions
tsahee Aug 12, 2025
bb7e206
allow cranelift compilation
tsahee Aug 12, 2025
2e78556
support cranelift in TestCompile
tsahee Aug 12, 2025
21835b9
Merge pull request #3478 from Hopium21/master
eljobe Aug 12, 2025
46d69dc
Update arbitrator-ci.yml
aso20455 Aug 13, 2025
84c374c
Update ci.yml
aso20455 Aug 13, 2025
4082638
Update codeql-analysis.yml
aso20455 Aug 13, 2025
8ddd68c
Update nightly-ci.yml
aso20455 Aug 13, 2025
45215ac
TestArbNativeTokenManagerInArbos32To41Upgrade
diegoximenes Aug 13, 2025
d526dd9
Sets arbosState.PrecompileMinArbOSVersions after all precompile inser…
diegoximenes Aug 13, 2025
7d58f8e
Merge pull request #3487 from OffchainLabs/fix_arbos41_arbnativetoken…
joshuacolvin0 Aug 13, 2025
fedeb73
Merge branch 'master' into master
eljobe Aug 14, 2025
cd0944b
Merge pull request #3481 from aso20455/master
joshuacolvin0 Aug 14, 2025
06e3fcb
Basic seq-coordinator config validation
Tristan-Wilson Aug 14, 2025
921683b
Revert "Merge pull request #3487 from OffchainLabs/fix_arbos41_arbnat…
diegoximenes Aug 14, 2025
effd05b
Merge pull request #3491 from OffchainLabs/revert_arbos41_upgrade_fix
joshuacolvin0 Aug 14, 2025
edcbbda
update stylus_benchmark
tsahee Aug 14, 2025
c7b57bc
lint fix
tsahee Aug 14, 2025
6ec162a
Update ci.yml
anim001k Aug 14, 2025
c463f2e
Update bold.yml
anim001k Aug 14, 2025
7ce0aeb
Update nightly-ci.yml
anim001k Aug 14, 2025
9a79e0f
Update nightly-ci.yml
anim001k Aug 14, 2025
6c637cf
feat(validator): add configurable JitPath to JitMachineConfig
lechpzn Aug 14, 2025
8bc83b9
feat(validator): add CLI support for configurable jit executable path
lechpzn Aug 14, 2025
03b873c
Merge pull request #3493 from anim001k/master
eljobe Aug 15, 2025
5ee7b49
Merge branch 'master' into master
eljobe Aug 15, 2025
25705cc
Merge pull request #3495 from lechpzn/master
eljobe Aug 15, 2025
3d42b4e
Fix typos across codebase: logs, comments, tests; no functional changes
dneptolus Aug 15, 2025
40f759c
Revert "Merge pull request #3491 from OffchainLabs/revert_arbos41_upg…
diegoximenes Aug 15, 2025
c285f2b
Adds comment regarding inserting precompiles
diegoximenes Aug 15, 2025
ef929fa
TestArbNativeTokenManagerThroughSolidityContract
diegoximenes Aug 15, 2025
c5b61a9
Update nitro.go
dneptolus Aug 15, 2025
51a625c
Update producer.go
dneptolus Aug 15, 2025
a6cd2c7
Merge pull request #3496 from dneptolus/fix/typos
eljobe Aug 15, 2025
5e15811
add timeout to compilation and retry on failure
tsahee Aug 15, 2025
cb17aaa
cargo fmt
tsahee Aug 15, 2025
d535549
Merge branch 'master' into master
eeemmmmmm Aug 15, 2025
53fd9e0
chore: fix typos
ganlerseian Aug 15, 2025
676b738
chore: fix typos
ganlerseian Aug 15, 2025
f479f52
chore: fix typos
ganlerseian Aug 15, 2025
0a36e24
chore: fix typos
ganlerseian Aug 15, 2025
a537439
chore: fix typos
ganlerseian Aug 15, 2025
fbe8e3f
chore: fix typos
ganlerseian Aug 15, 2025
aaeac54
chore: fix typos
ganlerseian Aug 15, 2025
8e928e9
chore: fix typos
ganlerseian Aug 15, 2025
9bd724d
chore: fix typos
ganlerseian Aug 15, 2025
400bb4b
chore: fix typos
ganlerseian Aug 15, 2025
fc3114c
chore: fix typos
ganlerseian Aug 15, 2025
a1e61eb
chore: fix typos
ganlerseian Aug 15, 2025
1a87386
chore: fix typos
ganlerseian Aug 15, 2025
183cedc
chore: fix typos
ganlerseian Aug 15, 2025
30702e0
chore: fix typos
ganlerseian Aug 15, 2025
5cea9ab
chore: fix typos
ganlerseian Aug 15, 2025
45af62e
chore: fix typos
ganlerseian Aug 15, 2025
8a01939
chore: fix typos
ganlerseian Aug 15, 2025
b940df7
chore: fix typos
ganlerseian Aug 15, 2025
3eeddca
chore: fix typos
ganlerseian Aug 15, 2025
ed95f67
chore: fix typos
ganlerseian Aug 15, 2025
92e529e
chore: fix typos
ganlerseian Aug 15, 2025
89028d7
chore: fix typos
ganlerseian Aug 15, 2025
5d56836
chore: fix typos
ganlerseian Aug 15, 2025
7bc855d
chore: fix typos
ganlerseian Aug 15, 2025
fae094f
chore: fix typos
ganlerseian Aug 15, 2025
6a4933e
chore: fix typos
ganlerseian Aug 15, 2025
8e8bcef
chore: fix typos
ganlerseian Aug 15, 2025
b49aca6
chore: fix typos
ganlerseian Aug 15, 2025
556f0a4
Merge branch 'master' into stylus_cranelift
tsahee Aug 15, 2025
4353343
github actions: use foundry v1.0.0
tsahee Aug 16, 2025
b783dd6
Merge pull request #3499 from OffchainLabs/foundry_version
joshuacolvin0 Aug 16, 2025
40f5343
Merge branch 'master' into stylus_cranelift
tsahee Aug 16, 2025
ee146e9
Merge branch 'master' into master
ganlerseian Aug 16, 2025
0bef620
Update producer.go
phrwlk Aug 17, 2025
23c05ad
Update writer.go
phrwlk Aug 17, 2025
90e4360
Update validator_spawner.go
phrwlk Aug 17, 2025
5710994
Update validator_spawner.go
phrwlk Aug 17, 2025
dd09a07
Update consumer.go
phrwlk Aug 17, 2025
98c22b8
Update consumer_test.go
phrwlk Aug 17, 2025
5c1322d
Update validation_api.go
phrwlk Aug 17, 2025
0e1ba43
Update valnode.go
phrwlk Aug 17, 2025
88f4b86
Update connectionlimiter.go
phrwlk Aug 17, 2025
9e4f845
Update math.go
phrwlk Aug 17, 2025
fcfe683
Update blobs.go
phrwlk Aug 17, 2025
58d9f07
Update promise.go
phrwlk Aug 17, 2025
2139295
Update dbutil_test.go
phrwlk Aug 17, 2025
2bf54fb
Update blob_client.go
phrwlk Aug 17, 2025
0437ab1
Update header_reader.go
phrwlk Aug 17, 2025
b48748f
Update preimages_test.go
phrwlk Aug 17, 2025
96ca622
Update rpcclient.go
phrwlk Aug 17, 2025
1ae06f5
Update log.go
phrwlk Aug 17, 2025
0e0fbd5
Update flag.go
phrwlk Aug 17, 2025
a9b6dba
Update port.go
phrwlk Aug 17, 2025
b0aa8ba
Update auctioneer.go
phrwlk Aug 17, 2025
d80301b
Update db.go
phrwlk Aug 17, 2025
5b963d6
Update redis_coordinator.go
phrwlk Aug 17, 2025
267f9b8
Update roundtiminginfo.go
phrwlk Aug 17, 2025
0f0f33b
Update s3_storage.go
phrwlk Aug 17, 2025
bcc8c1a
Update batch_poster_test.go
phrwlk Aug 17, 2025
2f497c7
Update classic_redirect_test.go
phrwlk Aug 17, 2025
e740f80
Update client_wrapper.go
phrwlk Aug 17, 2025
f01b8b3
Update debugapi_test.go
phrwlk Aug 17, 2025
544c57b
Update wrap_transaction_test.go
phrwlk Aug 17, 2025
d67c482
Update twonodeslong_test.go
phrwlk Aug 17, 2025
250cc1d
Update seq_filter_test.go
phrwlk Aug 17, 2025
fac1e4a
fix: block validator benchmark to use Options-based signature
Fibonacci747 Aug 17, 2025
7280833
Merge branch 'master' into master
eeemmmmmm Aug 18, 2025
52fddb9
Merge branch 'master' into fix_arbnativetokenmanager_inclusion
eljobe Aug 18, 2025
cfe52b0
Merge pull request #3465 from eeemmmmmm/master
eljobe Aug 18, 2025
2f36a35
Merge branch 'master' into fix_arbnativetokenmanager_inclusion
eljobe Aug 18, 2025
1932ac1
Remove fastcache submodule
eljobe Aug 18, 2025
a1ea9ed
Replace fastcache dependency
eljobe Aug 18, 2025
88b7d56
Merge pull request #3497 from OffchainLabs/fix_arbnativetokenmanager_…
eljobe Aug 18, 2025
f5661a0
Merge branch 'master' into stylus_cranelift
eljobe Aug 18, 2025
ad174f9
Merge branch 'master' into update-fastcache
eljobe Aug 18, 2025
c21b653
Merge branch 'master' into master
eljobe Aug 18, 2025
08bc32a
Remove the fastcache directory from the Dockerfile
eljobe Aug 18, 2025
5e205cb
Merge branch 'update-fastcache' of github.com:OffchainLabs/nitro into…
eljobe Aug 18, 2025
b0ecaa4
Merge pull request #3498 from ganlerseian/master
eljobe Aug 18, 2025
26322de
Merge branch 'master' into update-fastcache
eljobe Aug 18, 2025
595ddcb
Merge branch 'master' into fix/block-validator-bench-signature
eljobe Aug 18, 2025
675179c
revert
phrwlk Aug 18, 2025
6d2c276
revert
phrwlk Aug 18, 2025
6e20a56
revert
phrwlk Aug 18, 2025
d488ca4
Merge branch 'master' into bunchoftypos
phrwlk Aug 18, 2025
6322c86
Update promise.go
phrwlk Aug 18, 2025
23fd1d1
Merge branch 'master' into nit-3549-globalstate-not-in-chain-should-b…
eljobe Aug 18, 2025
ace5dd6
Improve description of trivial contributions
gligneul Aug 18, 2025
f832a27
fix compileNative
tsahee Aug 18, 2025
48c6c56
Merge pull request #3502 from Fibonacci747/fix/block-validator-bench-…
eljobe Aug 18, 2025
a956bc8
Merge branch 'master' into bunchoftypos
eljobe Aug 18, 2025
4df9649
Merge branch 'master' into gligneul/trivial-update
eljobe Aug 18, 2025
eefbaa5
Merge pull request #3501 from phrwlk/bunchoftypos
eljobe Aug 18, 2025
e2e3a9c
Merge branch 'master' into gligneul/trivial-update
eljobe Aug 18, 2025
8fa6cfb
Merge branch 'master' into stylus_cranelift
eljobe Aug 18, 2025
040ab12
Merge branch 'master' into update-fastcache
eljobe Aug 18, 2025
01eceb0
Merge pull request #3504 from OffchainLabs/gligneul/trivial-update
eljobe Aug 18, 2025
be69e2f
Merge branch 'master' into update-fastcache
eljobe Aug 18, 2025
66462ec
Merge branch 'master' into stylus_cranelift
eljobe Aug 18, 2025
735edf3
Merge branch 'master' into nit-3549-globalstate-not-in-chain-should-b…
eljobe Aug 18, 2025
6a1b53c
Add merge_group triggers
eljobe Aug 18, 2025
195ceb9
Include the submodule-pin-check as well
eljobe Aug 18, 2025
0c3da5a
stylus wasmer version: don't upgrade if unnecessary (#3508)
tsahee Aug 18, 2025
549e2c5
Merge branch 'master' into merge-q-prep
joshuacolvin0 Aug 18, 2025
822b964
Merge branch 'master' into stylus_cranelift
eljobe Aug 18, 2025
f154868
Merge pull request #3480 from OffchainLabs/stylus_cranelift
tsahee Aug 18, 2025
1505659
Merge branch 'master' into merge-q-prep
joshuacolvin0 Aug 18, 2025
727fce9
Merge pull request #3507 from OffchainLabs/merge-q-prep
joshuacolvin0 Aug 18, 2025
c7e2bfd
Merge branch 'master' into update-fastcache
joshuacolvin0 Aug 18, 2025
edacb8b
Merge branch 'master' into nit-3549-globalstate-not-in-chain-should-b…
joshuacolvin0 Aug 18, 2025
8015712
Merge pull request #3503 from OffchainLabs/update-fastcache
eljobe Aug 18, 2025
aa58967
Merge branch 'master' into nit-3549-globalstate-not-in-chain-should-b…
joshuacolvin0 Aug 18, 2025
1e8f7d5
Merge pull request #3449 from OffchainLabs/nit-3549-globalstate-not-i…
joshuacolvin0 Aug 18, 2025
656c957
Merge branch 'master' into seq-coordinator-config-validation
joshuacolvin0 Aug 18, 2025
113654f
Merge pull request #3489 from OffchainLabs/seq-coordinator-config-val…
joshuacolvin0 Aug 18, 2025
fedad72
Close part files after the copy is done
prestonvanloon Aug 18, 2025
fd1cb43
Merge pull request #3512 from prestonvanloon/close-parts
joshuacolvin0 Aug 18, 2025
e6d71a3
fix: resolve race condition in storage test goroutines (#3509)
Forostovec Aug 19, 2025
7b63e71
Fix relay backlog corruption at segment boundaries (#3516)
Tristan-Wilson Aug 19, 2025
90570c4
Revert "Disable HTTP/2 for das aggregator by default" (#3517)
eljobe Aug 19, 2025
0dac3c3
Return a fatal error instead of stopping the StopWaiter in case of Er…
alexandrosfilios Aug 19, 2025
0177eb8
Return a fatal error instead of stopping the StopWaiter in case of Er…
alexandrosfilios Aug 19, 2025
6d34456
Merge pull request #3520 from OffchainLabs/nit-3549-globalstate-not-i…
tsahee Aug 19, 2025
9c66cbd
Improve CPU performance when processing blocks
gligneul Aug 27, 2025
926f1ab
Merge pull request #3542 from OffchainLabs/gligneul/optimize-multigas…
gligneul Aug 27, 2025
7420bc1
Merge branch 'celestia-v3.6.7' into celestia-v3.7.0
Ferret-san Nov 10, 2025
bcf1965
nitro-testnode update
Ferret-san Nov 10, 2025
900ea1e
Merge branch 'celestia-v3.7.0' into celestia-v3.7.1
Ferret-san Nov 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .github/actions/gomodtidy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM golang:alpine

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
5 changes: 5 additions & 0 deletions .github/actions/gomodtidy/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: 'Go mod tidy checker'
description: 'Checks that `go mod tidy` has been applied.'
runs:
using: 'docker'
image: 'Dockerfile'
34 changes: 34 additions & 0 deletions .github/actions/gomodtidy/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/sh -l
set -e
export PATH="$PATH:/usr/local/go/bin"

cd "$GITHUB_WORKSPACE"

cp go.mod go.mod.orig
cp go.sum go.sum.orig

go mod tidy -compat=1.17

echo "Checking go.mod and go.sum:"
checks=0
if [ "$(diff -s go.mod.orig go.mod | grep -c 'Files go.mod.orig and go.mod are identical')" = 1 ]; then
echo "- go.mod is up to date."
checks=$((checks + 1))
else
echo "- go.mod is NOT up to date."
fi

if [ "$(diff -s go.sum.orig go.sum | grep -c 'Files go.sum.orig and go.sum are identical')" = 1 ]; then
echo "- go.sum is up to date."
checks=$((checks + 1))
else
echo "- go.sum is NOT up to date."
fi

if [ $checks -eq 2 ]; then
exit 0
fi

# Notify of any issues.
echo "Run 'go mod tidy' to update."
exit 1
15 changes: 8 additions & 7 deletions .github/workflows/arbitrator-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
detached: true

- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: recursive

Expand All @@ -48,21 +48,21 @@ jobs:
sudo ln -s /usr/bin/wasm-ld-14 /usr/local/bin/wasm-ld

- name: Install go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version: 1.24.x

- name: Install custom go-ethereum
run: |
cd /tmp
git clone --branch v1.14.11 --depth 1 https://github.com/ethereum/go-ethereum.git
git clone --branch v1.15.11 --depth 1 https://github.com/ethereum/go-ethereum.git
cd go-ethereum
go build -o /usr/local/bin/geth ./cmd/geth

- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '24'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

Expand Down Expand Up @@ -127,6 +127,7 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
version: v1.0.0

- name: Cache cbrotli
uses: actions/cache@v4
Expand All @@ -138,8 +139,8 @@ jobs:
target/lib/libbrotlicommon-static.a
target/lib/libbrotlienc-static.a
target/lib/libbrotlidec-static.a
key: ${{ runner.os }}-brotli-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yaml') }}-arbitrator
restore-keys: ${{ runner.os }}-brotli-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yaml') }}
key: ${{ runner.os }}-brotli-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yml') }}-arbitrator
restore-keys: ${{ runner.os }}-brotli-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yml') }}

- name: Build cbrotli-local
if: steps.cache-cbrotli.outputs.cache-hit != 'true'
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/bold.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Go

on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- master
- develop

jobs:
# formatting:
# name: Formatting
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v5

# - name: Go mod tidy checker
# id: gomodtidy
# uses: ./.github/actions/gomodtidy

build:
name: Build and Test Bold
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v5
with:
submodules: true

- name: Setup node/yarn
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'yarn'
cache-dependency-path: "**/yarn.lock"

- name: Install go
uses: actions/setup-go@v5
with:
go-version: 1.24.x

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
version: v1.0.0

- name: AbiGen (nitro)
run: make contracts

- name: Get dependencies
working-directory: ./bold
run: |
go get -v -t -d ./...

- name: Build
working-directory: ./bold
run: go build -v ./...

- name: Test
working-directory: ./bold
run: ANVIL=$(which anvil) go test -v -covermode=atomic -coverprofile=coverage.out -timeout=20m ./...

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

Expand All @@ -39,14 +39,14 @@ jobs:
- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '24'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Install go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version: 1.24.x

- name: Install wasm-ld
run: |
Expand Down Expand Up @@ -80,7 +80,8 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false

version: v1.0.0

- name: Install cbindgen
run: cargo install --force cbindgen

Expand Down Expand Up @@ -115,7 +116,7 @@ jobs:
target/lib/libbrotlicommon-static.a
target/lib/libbrotlienc-static.a
target/lib/libbrotlidec-static.a
key: ${{ runner.os }}-brotli-${{ matrix.test-mode }}-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yaml') }}
key: ${{ runner.os }}-brotli-${{ matrix.test-mode }}-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yml') }}

- name: Build cbrotli-local
if: steps.cache-cbrotli.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -153,13 +154,13 @@ jobs:
if: matrix.test-mode == 'pathdb'
run: |
echo "Running tests with Path Scheme" >> full.log
${{ github.workspace }}/.github/workflows/gotestsum.sh --tags cionly --timeout 20m --cover --test_state_scheme path
${{ github.workspace }}/.github/workflows/gotestsum.sh --tags cionly --timeout 90m --cover --test_state_scheme path

- name: run tests without race detection and hash state scheme
if: matrix.test-mode == 'defaults'
run: |
echo "Running tests with Hash Scheme" >> full.log
${{ github.workspace }}/.github/workflows/gotestsum.sh --tags cionly --timeout 20m --test_state_scheme hash
${{ github.workspace }}/.github/workflows/gotestsum.sh --tags cionly --timeout 60m --test_state_scheme hash

- name: run redis tests
if: matrix.test-mode == 'defaults'
Expand Down Expand Up @@ -207,7 +208,7 @@ jobs:
path: full.log

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v5
if: matrix.test-mode == 'defaults'
with:
fail_ci_if_error: false
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/close-trivial-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Close trivial PRs

on:
pull_request_target:
types: [labeled]

jobs:
close-trivial-pr:
if: github.event.label.name == 'trivial'
runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- name: Fetch CONTRIBUTING.md snippet
id: snippet
env:
REPO: ${{ github.repository }}
run: |
SNIPPET=$(curl -sSfL "https://raw.githubusercontent.com/${REPO}/refs/heads/master/CONTRIBUTING.md" \
| sed -n '/<!-- start-trivial-prs -->/,/<!-- end-trivial-prs -->/p' \
| sed '/<!--.*-->/d')

# Use GitHub Actions heredoc-style output to preserve multiline content
echo "snippet<<EOF" >> $GITHUB_OUTPUT
echo "$SNIPPET" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

- name: Comment and Close PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR_NUMBER=${{ github.event.pull_request.number }}
REPO=${{ github.repository }}
DEF_BRANCH=${{ github.event.repository.default_branch }}
SNIPPET="${{ steps.snippet.outputs.snippet }}"

gh pr close $PR_NUMBER --repo $REPO --comment "Thank you for your contribution. However, this PR has been automatically closed because it was labeled as **trivial**. As stated in our [CONTRIBUTING.md](../blob/${DEF_BRANCH}/CONTRIBUTING.md):

---

${SNIPPET}

---

We appreciate meaningful contributions!"
25 changes: 13 additions & 12 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,24 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: true

- name: Install dependencies
run: sudo apt update && sudo apt install -y wabt

- name: Setup nodejs
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '24'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Install go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version: 1.24.x

- name: Install wasm-ld
run: |
Expand Down Expand Up @@ -94,12 +94,13 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1
with:
cache: false
version: v1.0.0

- name: Install cbindgen
run: cargo install --force cbindgen

- name: Cache Build Products
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -108,13 +109,13 @@ jobs:

- name: Cache wabt build
id: cache-wabt
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/wabt-prefix
key: ${{ runner.os }}-wabt-codeql-${{ matrix.language }}-${{ env.WABT_VERSION }}

- name: Cache cbrotli
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-cbrotli
with:
path: |
Expand All @@ -123,11 +124,11 @@ jobs:
target/lib/libbrotlicommon-static.a
target/lib/libbrotlienc-static.a
target/lib/libbrotlidec-static.a
key: ${{ runner.os }}-brotli-${{ matrix.language }}-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yaml') }}-codeql
restore-keys: ${{ runner.os }}-brotli-${{ matrix.language }}-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yaml') }}
key: ${{ runner.os }}-brotli-${{ matrix.language }}-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yml') }}-codeql
restore-keys: ${{ runner.os }}-brotli-${{ matrix.language }}-${{ hashFiles('scripts/build-brotli.sh') }}-${{ hashFiles('.github/workflows/arbitrator-ci.yml') }}

- name: Cache Rust Build Products
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/
Expand Down Expand Up @@ -161,7 +162,7 @@ jobs:
run: ./scripts/build-brotli.sh -w -d

- name: Build Nitro for CodeQL
run: make build -j
run: make build

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand Down
Loading
Loading