Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3693 commits
Select commit Hold shift + click to select a range
ef4d7dd
Add linters (#968)
ceyonur May 20, 2025
8ffe1b6
move atomic state pkg (#960)
ceyonur May 21, 2025
6516052
chore(github): dependabot changes (#896)
qdm12 May 22, 2025
29b8370
Atomic txs (#973)
ceyonur May 22, 2025
5c3ab68
docs: add releasing document (#902)
qdm12 May 23, 2025
de6a088
refactor peer pkg to network pkg (#976)
ceyonur May 23, 2025
aac22d9
chore(ethclient): textual alignment with geth code (#882)
qdm12 May 23, 2025
78ccd15
fix AvalancheGo version and nil configs for Granite (#982)
ceyonur May 27, 2025
2d8e3f7
Add granite configs (#987)
StephenButtolph May 27, 2025
c3fb5ec
remove request parse check in network forwarding (#977)
ceyonur May 27, 2025
bbc9475
Add comments for context for future precompile addition (#990)
meaghanfitzgerald May 29, 2025
2842101
Require min available capacity to build a block (#995)
aaronbuchwald May 30, 2025
9b8a8f8
Atomic sync pkg (#963)
ceyonur Jun 3, 2025
3d7a2c8
Atomic block extension (#981)
ceyonur Jun 4, 2025
dcb20ce
minor docs fixup (#1004)
davidjsonn Jun 6, 2025
7a1f79c
Implement updated avalanchego VM interface (#1006)
joshua-kim Jun 6, 2025
ef1fb30
move block extender to vm (#984)
ceyonur Jun 6, 2025
dab5d35
move syncers to atomic vm (#1009)
ceyonur Jun 6, 2025
2fcf45f
chore: Update libevm (#1013)
alarso16 Jun 10, 2025
4816512
chore: use squashed avalanchego commit (#1014)
alarso16 Jun 11, 2025
0058a7e
build: Update `libevm` to `v1.13.14-0.3.0.rc.1` (#1017)
alarso16 Jun 20, 2025
b0b3d39
updated link evm api (#996)
navillanueva Jun 23, 2025
2a813e3
use explicity structs and innervm calls (#1015)
ceyonur Jun 23, 2025
6b8c2c3
move atomic backend and consensus callbacks (#1011)
ceyonur Jun 23, 2025
8f7cb5b
move mempool and gossip handlers to atomic vm (#1018)
ceyonur Jun 25, 2025
475c04d
add warp tests for Coreth (#1000)
ceyonur Jun 26, 2025
d78c86e
remove subnet-evm specific warp test components (#1024)
ceyonur Jun 27, 2025
c73fe66
Remove legacy warp handlers (#999)
ceyonur Jul 1, 2025
98b19ea
move atomic api to atomic vm (#1025)
ceyonur Jul 1, 2025
abf6895
feat: enable configurable state history for pruning nodes (#1022)
alarso16 Jul 1, 2025
464bb8e
updated link for remote content used in Builder-hub docs (#1020)
navillanueva Jul 1, 2025
cfd37ff
Remove Widnows CI tests (#1028)
JonathanOppenheimer Jul 2, 2025
6b5d08f
feat: c-chain config markdown (#1027)
owenwahlgren Jul 2, 2025
36b84a7
chore: move evm config markdown (#1030)
owenwahlgren Jul 2, 2025
be170fa
cut v0.15.1 in release.md (#1032)
ceyonur Jul 3, 2025
f0ef658
fully wrap inner vm (#1031)
ceyonur Jul 7, 2025
ecbf4f3
fix(core/txpool): demote error log to warn (#1034)
alarso16 Jul 7, 2025
f5e0d73
Add block signature recovery timer (#1035)
aaronbuchwald Jul 7, 2025
9ee2cb1
eth/filters: add address limit to filters (#31876) (#1033)
ceyonur Jul 7, 2025
a8cda72
Move CI tasks to Taskfile.yml and consolidate workflow (sync with sub…
JonathanOppenheimer Jul 8, 2025
17220c9
Remove SnowmanAPI (#1039)
StephenButtolph Jul 8, 2025
dc06607
Use explicit subscriptions instead of toEngine channel (#1003)
yacovm Jul 8, 2025
87b89a6
feat: Add firewood as a database (#1029)
alarso16 Jul 9, 2025
43a7dc9
Cleanup statedb extension (#1043)
StephenButtolph Jul 10, 2025
5484384
Update interface to the latest version of avalanchego (#1045)
joshua-kim Jul 11, 2025
380bc44
refactor: re-exec loop check (#1050)
alarso16 Jul 16, 2025
ed1c605
feat: enable blockchain ops and tests (#1041)
alarso16 Jul 16, 2025
f281760
chore: Update Firewood to v0.0.9 (#1052)
alarso16 Jul 22, 2025
1168408
feat: Firewood metrics (#1061)
alarso16 Jul 22, 2025
fc2394d
style: use require in statesync tests (#1062)
alarso16 Jul 23, 2025
8fa714a
feat(plugin/evm): add parallelization support for atomic trie state s…
powerslider Jul 23, 2025
204bdcf
ci: Add line display for avalanchego version script (#1064)
alarso16 Jul 23, 2025
9c895b6
refactor: change sync interface to Wait() (#1063)
alarso16 Jul 24, 2025
c193709
Remove custom `state.StateDB` (#1053)
StephenButtolph Jul 24, 2025
ab3d465
ci: Set GitHub token to remove flake (#1066)
alarso16 Jul 24, 2025
3c018dd
fix: Exclude our test file from license linter for eth (#1070)
alarso16 Jul 24, 2025
2d64507
Replace coreth state package with libevm state package (#1056)
StephenButtolph Jul 24, 2025
6d5d722
fix: Remove race between commits and reads (#1071)
alarso16 Jul 25, 2025
2186ed3
refactor(sync): unify atomic and state sync under common interface (#…
powerslider Jul 25, 2025
d3de70a
Fix summary metrics + flaky test (#1073)
StephenButtolph Jul 25, 2025
1eac5a4
`Add64` and `Mul64` were replaced with `Add` and `Mul` respectively (…
StephenButtolph Jul 25, 2025
0255516
style: fix typo in sync client (#1077)
alarso16 Jul 28, 2025
b5a8128
Refactor atomic mempool initialization (#1080)
StephenButtolph Jul 29, 2025
310ca6c
Unify Add, AddRemoteTx, and AddLocalTx behavior (#1081)
StephenButtolph Jul 29, 2025
33f6a38
fix: Ensure Firewood does not return data on unimplemented APIs (#1059)
alarso16 Jul 29, 2025
b4c8300
feat(sync): make atomic trie sync and state trie sync follow the same…
powerslider Jul 30, 2025
4187637
Remove metrics package (#1086)
JonathanOppenheimer Aug 1, 2025
93444df
chore: update libevm version to v1.13.14-0.3.0.rc.6 (#1087)
alarso16 Aug 1, 2025
ce16f66
fix: unclear error message (#1088)
alarso16 Aug 1, 2025
ebaa8e0
Update codeowners (#1091)
StephenButtolph Aug 4, 2025
2abf999
refactor(plugin/evm): move atomic sync code back to plugin/evm (#1093)
powerslider Aug 5, 2025
764f31d
refactor(sync): add `blockSyncer` as a new syncer implementation (#1078)
alarso16 Aug 6, 2025
6d10d2c
Refactor and document the atomic mempool (#1097)
StephenButtolph Aug 7, 2025
8388bd0
fix: flake in test (#1096)
alarso16 Aug 7, 2025
63fd441
Fix mempool length handling (#1100)
StephenButtolph Aug 7, 2025
2efd661
Improve Mempool error handling to report ErrNoGas errors (#1101)
StephenButtolph Aug 7, 2025
ced05d6
Include Current transactions in the bloom filter (#1102)
StephenButtolph Aug 8, 2025
825d097
Revert the maintainer only code owners restriction (#1107)
StephenButtolph Aug 8, 2025
4f0ffa7
Do not Discard ErrMempoolFull transactions (#1103)
StephenButtolph Aug 8, 2025
25aa878
chore: prepare release for v0.15.3 (#1105)
ceyonur Aug 11, 2025
48c4c39
refactor: use Sync instead of Start and Wait (#1104)
alarso16 Aug 11, 2025
31071c7
chore: change dependabot config (#1110)
ceyonur Aug 11, 2025
a4281c0
refactor config pkg (#958)
ceyonur Aug 11, 2025
7599607
chore: remove unused sync subnet-evm workflow (#1109)
ceyonur Aug 12, 2025
d55b348
chore(sync, plugin/evm): simplify syncer configuration (#1085)
powerslider Aug 12, 2025
70a1040
Simplify atomic mempool tx signaling (#1116)
StephenButtolph Aug 13, 2025
2f6c795
Refactor atomic tx gas price calculations (#1118)
StephenButtolph Aug 13, 2025
3cee0fe
Atomic vm tests (#1112)
ceyonur Aug 14, 2025
cfa7f33
fix: license header file (#1122)
alarso16 Aug 14, 2025
05bc022
chore: more license fixes (#1123)
alarso16 Aug 15, 2025
ab13015
prepare for v0.15.4 (#1124)
ceyonur Aug 18, 2025
9817cf1
Vm test helpers (#1125)
ceyonur Aug 18, 2025
7d59ff4
ci: Enable extra linters (#1117)
alarso16 Aug 19, 2025
b44c5c0
perf: upgrade Firewood (#1134)
alarso16 Aug 20, 2025
eb3b44d
style: Unused linters (#1132)
alarso16 Aug 20, 2025
ca84247
chore: remove nonexistent test flakes (#1135)
RodrigoVillar Aug 21, 2025
215620b
Remove `predicate` package (#1128)
JonathanOppenheimer Aug 21, 2025
3b2ab68
style: revive lint (#1136)
alarso16 Aug 25, 2025
76d25a3
update releasing README.md with version prep instructions (#1108)
JonathanOppenheimer Aug 25, 2025
4c549bf
feat(sync/vm): parallelize syncer execution with errgroup (#1131)
powerslider Aug 25, 2025
3263334
chore(all): use upstream protocol params (#966)
qdm12 Aug 25, 2025
320223d
Remove EIP-4844 package in favor of libevm version (#1145)
JonathanOppenheimer Aug 26, 2025
8df44f4
Update tx gossip rate limit dynamically (#1141)
joshua-kim Aug 26, 2025
054dd19
Add time check for bootstrapping (#1148)
JonathanOppenheimer Aug 26, 2025
baeb30b
activate all upgrades in TestChainConfig and fix the genesis tests (#…
ceyonur Aug 26, 2025
df3930b
Remove duplicate gossip instantiation (#1154)
StephenButtolph Aug 26, 2025
1d22235
fix: add a default batch limit (#1150)
alarso16 Aug 26, 2025
8467d9f
Remove unused struct vars (#1152)
StephenButtolph Aug 26, 2025
36e30dd
Remove reexec package (#1153)
JonathanOppenheimer Aug 26, 2025
91e0d7c
chore: update firewood and fix test flakes (#1151)
alarso16 Aug 26, 2025
c75adfe
`plugin/evm/config`: updated docs for allow-unfinalized-queries (#1142)
navillanueva Aug 28, 2025
94c1542
rename header package to customheader (#1163)
ceyonur Aug 28, 2025
4136380
chore: bump libevm version (#1159)
JonathanOppenheimer Aug 28, 2025
071cf76
move block fee verification to customheader (#1168)
ceyonur Aug 29, 2025
1dbc8a8
Replace interface with struct (#1172)
StephenButtolph Aug 29, 2025
665ce3e
Refactor predication verification logic (#1166)
StephenButtolph Aug 29, 2025
091a2f7
Remove dead code for creating atomic txs (#1174)
StephenButtolph Aug 29, 2025
651f189
Cleanup keystore creation (#1175)
StephenButtolph Aug 29, 2025
9b32562
style: enable nilerr linter (#1182)
JonathanOppenheimer Sep 4, 2025
39df088
style: revive fix based on feedback (#1187)
alarso16 Sep 8, 2025
d414a04
fix: move acceptor tip commitment (#1138)
alarso16 Sep 8, 2025
c531654
docs: Firewood config (#1181)
alarso16 Sep 8, 2025
ff935e6
style: enable gocritic linter (#1184)
JonathanOppenheimer Sep 9, 2025
e5b67e2
Correct TargetToPriceUpdateConversion comment (#1199)
michaelkaplan13 Sep 10, 2025
f20cb9b
style: enable prealloc linter (#1200)
JonathanOppenheimer Sep 11, 2025
d254329
chore(plugin/evm,consensus): add sentinel errors and remove deprecate…
powerslider Sep 11, 2025
74e8218
feat(plugin/evm): ACP-226 - set expected block gas cost to 0 in Grani…
ceyonur Sep 12, 2025
fe2ab9d
Register secp256r1 precompile (#1044)
JonathanOppenheimer Sep 12, 2025
fcf0ce4
Add precompile reversion logic for Granite activation (#1149)
JonathanOppenheimer Sep 12, 2025
c7031a9
ci: update taskfile for rlpgen (#1214)
alarso16 Sep 12, 2025
a6fe076
style: enable staticcheck linter (#1197)
JonathanOppenheimer Sep 12, 2025
c9d2d1f
style: enable predeclared linter (#1183)
JonathanOppenheimer Sep 12, 2025
b214ed5
skip verify block fee if is 0 (#1215)
ceyonur Sep 15, 2025
d5c602f
feat: add TimeMilliseconds to header (#1208)
alarso16 Sep 15, 2025
5e785ce
Have `checkPredicates` account for maximum available gas capacity (#1…
JonathanOppenheimer Sep 15, 2025
224d7c9
fix: free memory used by proposals in firewood (#1173)
demosdemon Sep 15, 2025
31c0526
Fix test aggregation goroutine leak (#1188)
michaelkaplan13 Sep 16, 2025
af368c5
refactor: move header time verification (#1218)
alarso16 Sep 16, 2025
b508e98
refactor(plugin/evm): move syncer client/registry to plugin/evm/vmsyn…
powerslider Sep 17, 2025
6ff7140
Remove libevm `cmd/*` packages. (#1224)
JonathanOppenheimer Sep 17, 2025
80db0d6
Remove libevm `signer` package (#1225)
JonathanOppenheimer Sep 17, 2025
0e9d009
Remove duplicate cancun checks (#1223)
alarso16 Sep 17, 2025
aa9039c
Rewrite / align coreth and subnet-evm documentation (#1095)
JonathanOppenheimer Sep 18, 2025
3172e07
Remove unused types from codec registration (#1235)
StephenButtolph Sep 18, 2025
bd235f7
Cleanup ExportTx verification test (#1237)
StephenButtolph Sep 18, 2025
1ed1717
Disable non-security related dependabot PRs (#1240)
StephenButtolph Sep 19, 2025
cd13e3f
chore: bump libevm (#1239)
JonathanOppenheimer Sep 19, 2025
44ae56a
ACP-226: Add MinDelayExcess to header (#1234)
ceyonur Sep 19, 2025
ae43cea
update comments and file names (#1204)
alarso16 Sep 23, 2025
cee35d5
[ci] Remove use of run_env with run-monitored-tmpnet-cmd (#1252)
maru-ava Sep 23, 2025
9a67621
style: enable testifylint linter (#1198)
JonathanOppenheimer Sep 23, 2025
6e7bcd6
simplify test (#1268)
ceyonur Sep 23, 2025
2692752
remove old path for firewood (#1275)
alarso16 Sep 23, 2025
06b55fd
feat: Enable PathDB config (#1244)
alarso16 Sep 24, 2025
ff7b117
Move verification code to `semanticVerify` (#1277)
JonathanOppenheimer Sep 24, 2025
f0db9b5
feat(sync): decouple code syncer from state syncer and run concurrent…
powerslider Sep 25, 2025
be30ed8
refactor: collapse `CodeQueue` tests into table (#1278)
ARR4N Sep 25, 2025
2d2f6cb
Remove precompile address comment (#1285)
JonathanOppenheimer Sep 25, 2025
aaff39c
Upgrade to go 1.24 (#1249)
alarso16 Sep 25, 2025
d089eea
check the parent.TimeMilliSeconds in wall clock adjustment (#1286)
ceyonur Sep 26, 2025
0a1d401
refactor out the time calculations to customtypes package (#1287)
ceyonur Sep 26, 2025
1c17a7b
import acp176 package from avalanchego (#1242)
ceyonur Sep 27, 2025
530ca18
fix(sync/statesync): panic-causing race between `<-quit` and `AddCode…
ARR4N Sep 29, 2025
dfd4473
update avalanchego (#1293)
alarso16 Sep 29, 2025
80c7fdd
style: forbidigo t.Fatal (#1279)
alarso16 Sep 29, 2025
0a6ce77
fix: block hash when overriding to block n+1 (#1301)
ARR4N Sep 30, 2025
83dbf26
ACP-226: add min delay excess to block and verify (#1263)
ceyonur Oct 1, 2025
8719b97
Add warp test to verify equivalent gas consumed (#1311)
StephenButtolph Oct 2, 2025
1f982b1
Enforce block building delay only for retries (#1295)
ceyonur Oct 2, 2025
a0df90c
Update avalanchego to latest (#1316)
StephenButtolph Oct 2, 2025
a857a64
feat!: explicit `libevm` calls to `Register{Extras,Hooks}()` (#1305)
ARR4N Oct 2, 2025
9032df6
build: use `avalanchego@master` instead of branch (#1320)
ARR4N Oct 3, 2025
b5c6acf
chore: adopt libevm options, simplify constructors and unexport confi…
powerslider Oct 3, 2025
81b31df
Remove secondary validator override (#1313)
StephenButtolph Oct 3, 2025
109f6a2
chore: Use go 1.24's 'go tool' support for CLI tooling (#1317)
maru-ava Oct 4, 2025
6855804
ACP-226: adjust ACP-176 to use milliseconds (#1288)
alarso16 Oct 7, 2025
0673f8f
build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2…
dependabot[bot] Oct 7, 2025
d949044
Remove duplicate avalanchego test (#1325)
StephenButtolph Oct 7, 2025
cd63620
Add `TestClientWebsocketLargeMessage` flake to list of flakes (#1251)
JonathanOppenheimer Oct 7, 2025
2880150
Replace `getValidatorSet` (#1324)
StephenButtolph Oct 7, 2025
e49a625
ACP-226: Apply Min Block Delay to Block Builder (#1310)
ceyonur Oct 8, 2025
d3695fc
move test helper (#1327)
ceyonur Oct 8, 2025
db4f801
ACP-226: Update EstimateNextBaseFee (#1329)
alarso16 Oct 8, 2025
bfc9915
Warp gas costs granite (#1306)
geoff-vball Oct 9, 2025
ed2f46c
deps: bump go to version `1.24.8` (#1330)
JonathanOppenheimer Oct 10, 2025
4b18b13
ACP-226: min block delay verify (#1292)
ceyonur Oct 10, 2025
1b67c91
remove unused GetChainConfig from the precompile interface (#1334)
ceyonur Oct 10, 2025
107a0f8
Update warp gas costs with new caching logic (#1331)
StephenButtolph Oct 10, 2025
75ed2c0
cleanup in customtypes (#1335)
ceyonur Oct 10, 2025
a966839
fix: database inspection (#1245)
RodrigoVillar Oct 10, 2025
73937ae
ci: Fix flakes file (#1336)
alarso16 Oct 13, 2025
7a3f004
remove legacy aggregator tests (#1321)
ceyonur Oct 14, 2025
85c600c
fix: one missing time (#1337)
alarso16 Oct 14, 2025
bdbeea0
add min delay target to config.md (#1339)
ceyonur Oct 15, 2025
e38b660
chore: update Firewood (#1333)
alarso16 Oct 15, 2025
0b315e0
style: Use require.ErrorIs whenever possible (#1303)
alarso16 Oct 16, 2025
7c4bf8e
chore: add type to `codeRequestMetric` (#1338)
JonathanOppenheimer Oct 16, 2025
f902d62
chore: remove deprecated genesis types (#1315)
JonathanOppenheimer Oct 16, 2025
7bacaa5
refactor!: remove direct `libevm/pseudo` import (#1353)
ARR4N Oct 20, 2025
58775c8
test: Add log.Crit to core tests (#1351)
alarso16 Oct 20, 2025
6c57d8a
feat!: `evm.WithTempRegisteredLibEVMExtras()` (#1328)
ARR4N Oct 22, 2025
aa5ef24
deps: bump go to version `1.24.9` (#1352)
JonathanOppenheimer Oct 24, 2025
7ae8cfe
chore: Allow addition allow 3 more imports (#1350)
JonathanOppenheimer Oct 24, 2025
edb4225
test: Update to go-ethereum's WaitDeployed (#1366)
alarso16 Oct 27, 2025
53b9eb4
test: Add race detection for bindings tests (#1365)
alarso16 Oct 27, 2025
9465469
test: Update rpc tests to reduce flake likelihood (#1363)
alarso16 Oct 28, 2025
3f40e54
deps: bump AvalancheGo (#1373)
JonathanOppenheimer Oct 28, 2025
0343a1b
test: Fix mempool flakes (#1360)
alarso16 Oct 28, 2025
edef554
test: Fix state sync flakes (#1361)
alarso16 Oct 28, 2025
1c9ebba
use average for block tips after Granite (#1342)
ceyonur Oct 28, 2025
c4401f9
Use AvalancheGo database package (#1367)
JonathanOppenheimer Oct 28, 2025
a3a4755
deps: Update golangci-lint for upstream code (#1375)
alarso16 Oct 29, 2025
33016b5
style: use t.Context() (#1372)
alarso16 Oct 29, 2025
b1a920f
fix: Flake in txindexer test (#1380)
alarso16 Oct 30, 2025
ca9a493
style: enable gosec linter (#1202)
JonathanOppenheimer Oct 31, 2025
45844d3
fix: Copy directory (#1376)
alarso16 Nov 3, 2025
141b697
ci: Remove test retries (#1381)
alarso16 Nov 3, 2025
8f397aa
test: Skip flaky ChainIndexer test (#1383)
alarso16 Nov 3, 2025
0b57cf5
refactor: use upstream bloombits package (#1388)
alarso16 Nov 3, 2025
d8ec8ad
test: Skip rpc tests that timeout (#1384)
alarso16 Nov 3, 2025
64c271b
test: run sync tests in parallel (#1390)
alarso16 Nov 3, 2025
f1525b7
ci: Add lint-fix to taskfile (#1391)
alarso16 Nov 5, 2025
f5b6f85
build(deps): bump github.com/consensys/gnark-crypto from 0.12.1 to 0.…
dependabot[bot] Nov 6, 2025
0799b36
Merge #1392 - JonathanOppenheimer/links-lint
maru-ava Nov 10, 2025
35444d1
Merge #1203 - JonathanOppenheimer/lint-enable-errcheck
maru-ava Nov 10, 2025
1a49817
Merge #1271 - JonathanOppenheimer/lint-enable-depguard
maru-ava Nov 10, 2025
8331d05
Update to coreth 1a498175898e
maru-ava Nov 10, 2025
f7d4ea2
Add migration script
maru-ava Nov 10, 2025
8a5a7a1
merge coreth repository as subdirectory at graft/coreth for version 1…
maru-ava Nov 10, 2025
8fdea3d
Post-graft mechanical migration
maru-ava Nov 10, 2025
c72cfb7
Add coreth-specific unit test task and job to allow for longer timeout
maru-ava Nov 10, 2025
979847f
Skip unit tests broken by migration
maru-ava Nov 2, 2025
d9a7e78
Add test-e2e-warp* tasks and associated CI job
maru-ava Nov 6, 2025
7815c79
Add task and ci job for codec generation
maru-ava Nov 5, 2025
9d99e71
Add task and job for rlp generation
maru-ava Nov 6, 2025
7d315fc
Remove coreth .github/ except for relevant CODEOWNERS content
maru-ava Nov 6, 2025
7a34e2f
Remove unneeded .dockerignore
maru-ava Nov 6, 2025
ba8f589
Remove unneed tools.go and tools/ module
maru-ava Nov 6, 2025
9cee21b
Remove unneeded tasks
maru-ava Nov 6, 2025
88a5447
Remove unneeded scripts
maru-ava Nov 6, 2025
abdf8f3
Fix compilation errors in network_test.go
maru-ava Nov 6, 2025
abe1eb5
DROP: Update to use go tool for mockgen and canoto
maru-ava Nov 6, 2025
534df57
Update go:generate directives for mockgen
maru-ava Nov 6, 2025
d1d29d6
change linter to filter geth files
alarso16 Nov 6, 2025
a659ac4
automated lint-fix
alarso16 Nov 6, 2025
a44b9a2
manual golangci-lint changes
alarso16 Nov 6, 2025
18076b1
add remaining linters
alarso16 Nov 6, 2025
658b335
Fix lint issue with graft/coreth/utils/snow.go
maru-ava Nov 6, 2025
8da8dac
Run 'task lint-fix`
maru-ava Nov 6, 2025
0b20886
DONOTMERGE Run unit test jobs in parallel to flush out flakes
maru-ava 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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
/Taskfile.yml @joshua-kim @maru-ava
/flake.lock @joshua-kim @maru-ava
/flake.nix @joshua-kim @maru-ava
/graft/coreth @ava-labs/platform-evm
/graft/coreth/triedb/firewood/ @alarso16 @ava-labs/platform-evm
/network/p2p/ @joshua-kim
/network/p2p/*.md @joshua-kim @meaghanfitzgerald
/nix/* @joshua-kim @maru-ava
Expand Down
47 changes: 45 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,19 @@ jobs:
- name: test-unit
shell: bash
run: ./scripts/run_task.sh test-unit
env:
TIMEOUT: ${{ env.TIMEOUT }}
Unit-coreth:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14, ubuntu-22.04, ubuntu-24.04, custom-arm64-jammy, custom-arm64-noble]
run_number: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go-for-project
- name: test-unit
shell: bash
run: ./scripts/run_task.sh test-unit-coreth
Fuzz:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -113,6 +124,22 @@ jobs:
loki_push_url: ${{ secrets.LOKI_PUSH_URL || '' }}
loki_username: ${{ secrets.LOKI_USERNAME || '' }}
loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
e2e_warp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/run-monitored-tmpnet-cmd
with:
run: ./scripts/run_task.sh test-e2e-warp-ci
artifact_prefix: e2e-warp
prometheus_url: ${{ secrets.PROMETHEUS_URL || '' }}
prometheus_push_url: ${{ secrets.PROMETHEUS_PUSH_URL || '' }}
prometheus_username: ${{ secrets.PROMETHEUS_USERNAME || '' }}
prometheus_password: ${{ secrets.PROMETHEUS_PASSWORD || '' }}
loki_url: ${{ secrets.LOKI_URL || '' }}
loki_push_url: ${{ secrets.LOKI_PUSH_URL || '' }}
loki_username: ${{ secrets.LOKI_USERNAME || '' }}
loki_password: ${{ secrets.LOKI_PASSWORD || '' }}
Upgrade:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -171,6 +198,14 @@ jobs:
- uses: ./.github/actions/setup-go-for-project
- shell: bash
run: ./scripts/run_task.sh check-generate-canoto
check_codec:
name: Up-to-date codec
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go-for-project
- shell: bash
run: ./scripts/run_task.sh check-generate-codec
check_contract_bindings:
name: Up-to-date contract bindings
runs-on: ubuntu-latest
Expand All @@ -179,6 +214,14 @@ jobs:
- uses: ./.github/actions/install-nix
- shell: nix develop --command bash -x {0}
run: task check-generate-load-contract-bindings
check_rlp:
name: Up-to-date rlp
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go-for-project
- shell: bash
run: ./scripts/run_task.sh check-generate-rlp
go_mod_tidy:
name: Up-to-date go.mod and go.sum
runs-on: ubuntu-latest
Expand Down
37 changes: 19 additions & 18 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@ issues:
# Maximum count of issues with the same text.
max-same-issues: 0

formatters:
enable:
- gci
- gofmt
- gofumpt
settings:
gci:
sections:
- standard
- default
- blank
- prefix(github.com/ava-labs/avalanchego)
- alias
- dot
custom-order: true
exclusions:
generated: lax

linters:
default: none
enable:
Expand Down Expand Up @@ -236,24 +254,7 @@ linters:
# 2. Exclude any file prefixed with test_ in any directory.
# 3. Exclude any directory suffixed with test.
# 4. Exclude any file suffixed with _test.go.
- path: "(^tests/)|(^(.*/)*test_[^/]*\\.go$)|(.*test/.*)|(.*_test\\.go$)"
- path: "/[^/]*tests?/|(^|.*/)(test_[^/]*\\.go$)|(_test\\.go$)"
linters:
- gosec
- prealloc
formatters:
enable:
- gci
- gofmt
- gofumpt
settings:
gci:
sections:
- standard
- default
- blank
- prefix(github.com/ava-labs/avalanchego)
- alias
- dot
custom-order: true
exclusions:
generated: lax
77 changes: 77 additions & 0 deletions .legacy-golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
version: "2"
run:
tests: true

linters:
default: none
enable:
- bidichk
- copyloopvar
- durationcheck
- gocheckcompilerdirectives
- govet
- ineffassign
- mirror
- misspell
- reassign
# - revive # only certain checks enabled
- staticcheck
- unconvert
- unused
- whitespace
settings:
goconst:
min-len: 3 # minimum length of string constant
min-occurrences: 6 # minimum number of occurrences
staticcheck:
checks:
- all

# There's a lot of legacy code that triggers these warnings after upgrading golangci-lint.
# These checks are removed.
- -QF1001 # Apply De Morgan’s law
- -QF1002 # Convert an untagged switch comparing the same variable into a “tagged” switch
- -QF1003 # Convert if / else-if chains comparing the same variable into a tagged switch
- -QF1006 # Lift if + break into loop condition
- -QF1008 # Omit embedded fields from selector expression
- -QF1010 # Convert slice of bytes to string when printing it
- -SA1019 # Use of deprecated identifiers: triggers when you import or use something marked deprecated.
- -SA4009 # A function argument is overwritten before its first use.
- -SA9003 # Empty body in an if or else branch.
- -ST1003 # Poorly chosen identifier.
- -ST1008 # A function’s error value should be its last return value.
- -ST1016 # Use consistent method receiver names (e.g. avoid mixing `s *S`, `s S`, `t *T` in same type).

exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
rules:
- linters:
- unused
# Exclude unused geth symbols from ethclient/ethclient.go to simplify upgrading Geth to a newer version.
path: ethclient\/ethclient\.go
text: (type `rpcProgress`|func `\(\*rpcProgress\)\.toSyncProgress`) is unused
- linters:
- goconst
path: (.+)_test\.go
paths:
- third_party$
- builtin$
- examples$

formatters:
enable:
- goimports
settings:
gofmt:
simplify: true
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
52 changes: 48 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ tasks:
- task: generate-canoto
- task: check-clean-branch

check-generate-codec:
desc: Checks that generated codec files are up-to-date (requires a clean git working tree)
cmds:
- task: generate-codec
- task: check-clean-branch

check-generate-load-contract-bindings:
desc: Checks that generated load contract bindings are up-to-date (requires a clean git working tree)
cmds:
Expand All @@ -79,6 +85,12 @@ tasks:
- task: generate-protobuf
- task: check-clean-branch

check-generate-rlp:
desc: Checks that generated rlp files are up-to-date (requires a clean git working tree)
cmds:
- task: generate-rlp
- task: check-clean-branch

check-go-mod-tidy:
desc: Checks that go.mod and go.sum are up-to-date (requires a clean git working tree)
cmds:
Expand Down Expand Up @@ -118,11 +130,17 @@ tasks:
desc: Generates testing mocks
cmds:
- cmd: grep -lr -E '^// Code generated by MockGen\. DO NOT EDIT\.$' . | xargs -r rm
- cmd: go generate -run "go.uber.org/mock/mockgen" ./...
- cmd: go generate -run "mockgen" ./...

generate-canoto:
desc: Generates canoto
cmd: go generate -run "github.com/StephenButtolph/canoto/canoto" ./...
cmd: go generate -run "canoto" ./...

generate-codec:
desc: Generates fjl/gencodec files
cmds:
- cmd: grep -lr -E '^// Code generated by github\\.com\\/fjl\\/gencodec\\. DO NOT EDIT\\.$' . | xargs -r rm
- cmd: go generate -run gencodec ./...

generate-load-contract-bindings:
desc: Generates load contract bindings
Expand All @@ -134,6 +152,12 @@ tasks:
desc: Generates protobuf
cmd: ./scripts/protobuf_codegen.sh

generate-rlp:
desc: Generates rlp files
cmds:
- cmd: grep -lr -E '^// Code generated by rlpgen\\. DO NOT EDIT\\.$' . | xargs -r rm
- cmd: go generate -run "github.com/ava-labs/libevm/rlp/rlpgen" ./...

ginkgo-build:
desc: Runs ginkgo against the current working directory
cmd: ./bin/ginkgo build {{.USER_WORKING_DIR}}
Expand Down Expand Up @@ -172,7 +196,7 @@ tasks:

lint-fix:
desc: Runs automated fixing for failing static analysis of golang code
cmd: ./scripts/run_tool.sh golangci-lint run --config .golangci.yml --fix
cmd: ./scripts/lint_fix.sh

lint-action:
desc: Runs actionlint to check sanity of github action configuration
Expand Down Expand Up @@ -326,6 +350,23 @@ tasks:
cmds:
- cmd: bash -x ./scripts/tests.e2e.kube.sh --ginkgo.focus-file=xsvm.go {{.CLI_ARGS}}

test-e2e-warp:
desc: Run end-to-end warp tests using Ginkgo test framework
env:
E2E_TARGET: ./graft/coreth/tests/warp
cmds:
- task: build
- cmd: bash -x ./scripts/tests.e2e.sh {{.CLI_ARGS}}

test-e2e-warp-ci:
desc: Run E2E warp tests with CI setup (race detection enabled)
env:
E2E_TARGET: ./graft/coreth/tests/warp
E2E_SERIAL: 1
cmds:
- task: build-race
- cmd: bash -x ./scripts/tests.e2e.sh {{.CLI_ARGS}}

# To use a different fuzz time, run `task test-fuzz FUZZTIME=[value in seconds]`.
# A value of `-1` will run until it encounters a failing output.

Expand Down Expand Up @@ -378,9 +419,12 @@ tasks:

test-unit:
desc: Runs unit tests
# Invoking with bash ensures compatibility with CI execution on Windows
cmd: bash ./scripts/build_test.sh

test-unit-coreth:
desc: Runs unit tests for coreth
cmd: bash ./scripts/tests.unit.coreth.sh

test-unit-fast:
desc: Runs unit tests
env:
Expand Down
2 changes: 1 addition & 1 deletion chains/atomic/mocks_generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

package atomic

//go:generate go run go.uber.org/mock/mockgen -package=${GOPACKAGE}mock -destination=${GOPACKAGE}mock/shared_memory.go -mock_names=SharedMemory=SharedMemory . SharedMemory
//go:generate go tool mockgen -package=${GOPACKAGE}mock -destination=${GOPACKAGE}mock/shared_memory.go -mock_names=SharedMemory=SharedMemory . SharedMemory
2 changes: 1 addition & 1 deletion codec/mocks_generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

package codec

//go:generate go run go.uber.org/mock/mockgen -package=${GOPACKAGE}mock -destination=${GOPACKAGE}mock/manager.go -mock_names=Manager=Manager . Manager
//go:generate go tool mockgen -package=${GOPACKAGE}mock -destination=${GOPACKAGE}mock/manager.go -mock_names=Manager=Manager . Manager
4 changes: 2 additions & 2 deletions database/mocks_generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

package database

//go:generate go run go.uber.org/mock/mockgen -package=${GOPACKAGE}mock -destination=${GOPACKAGE}mock/batch.go -mock_names=Batch=Batch . Batch
//go:generate go run go.uber.org/mock/mockgen -package=${GOPACKAGE}mock -destination=${GOPACKAGE}mock/iterator.go -mock_names=Iterator=Iterator . Iterator
//go:generate go tool mockgen -package=${GOPACKAGE}mock -destination=${GOPACKAGE}mock/batch.go -mock_names=Batch=Batch . Batch
//go:generate go tool mockgen -package=${GOPACKAGE}mock -destination=${GOPACKAGE}mock/iterator.go -mock_names=Iterator=Iterator . Iterator
Loading
Loading