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

[WIP] Upstream v3.0.0 #215

Open
wants to merge 5,134 commits into
base: op-erigon
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5134 commits
Select commit Hold shift + click to select a range
7559968
polygon/sync: fix block too soon error (#11499)
taratorio Aug 6, 2024
2038c79
commitment: use Update for domain IO (#11445)
awskii Aug 6, 2024
e4a9ba6
polygon/bridge: Integrate bridge with RPC (#11484)
shohamc1 Aug 6, 2024
1f4656f
properly support event stream (#11483)
domiwei Aug 6, 2024
9605979
Updgopsutilversion (#11507)
dvovk Aug 7, 2024
f1621bc
Use inlinable version of murmur3 (#11510)
AskAlexSharov Aug 7, 2024
d919ab7
mdbx: remove unused table names and keys (#11506)
battlmonstr Aug 7, 2024
df04b78
astrid: optimise and tidy up synchronisation points (#11504)
taratorio Aug 7, 2024
80c929f
Commitment code cleanup (#11517)
awskii Aug 8, 2024
abaca33
add pretty printer for k/M/B/T/Quintillion counters printing (#11515)
awskii Aug 8, 2024
99f6731
qa-tests: update test scheduling and timeouts (#11514)
mriccobene Aug 8, 2024
50c9a92
Block: use generic atomics (#11512)
AskAlexSharov Aug 8, 2024
de47042
diagnostics: processes (#11516)
dvovk Aug 8, 2024
0d99274
pool: add more err context (#11521)
AskAlexSharov Aug 8, 2024
dd2d76d
up x deps (#11511)
AskAlexSharov Aug 8, 2024
c60d185
polygon/heimdall: add service tests (#11426)
taratorio Aug 8, 2024
7d9c3d6
diagnostics: added cpu and memory usage details (#11526)
dvovk Aug 8, 2024
0c44534
Use `PrettyCounter` (#11525)
awskii Aug 8, 2024
9443d88
`Commitment`: remove keys from `Update` (#11528)
awskii Aug 8, 2024
b72568a
reduce prune deadline on chain-tip (#11529)
AskAlexSharov Aug 8, 2024
90c9339
polygon/heimdall: silence service tests logging (#11534)
taratorio Aug 8, 2024
1e775d6
diagnostics: refactored table utils (#11537)
dvovk Aug 9, 2024
1f95904
Erigon: Added verification for whether snapshots are publishable or n…
Giulio2002 Aug 9, 2024
26d3258
astrid: make sync stage tx action channel bufferred (#11535)
taratorio Aug 9, 2024
391fc4b
don't use lfs for consensus spec tests (#11545)
yperbasis Aug 9, 2024
a3433cc
polygon: add unwind prune to sync stage (#11531)
taratorio Aug 9, 2024
119ec1f
diagnostics: refactored cpu info (#11544)
dvovk Aug 9, 2024
2a98f6a
stagedsync: add dbg.SaveHeapProfileNearOOM to headers stage (#11549)
taratorio Aug 9, 2024
ff2130d
Move visual inside cmd/pics (#11543)
yperbasis Aug 9, 2024
5b30f2e
JumpDest: evm-based LRU cache (#11524)
AskAlexSharov Aug 9, 2024
b0a2654
diagnostics: added flags to report (#11548)
dvovk Aug 9, 2024
f829b7b
Resolve all conflicts under eth/
mininny Aug 10, 2024
5c7c797
Resolve all conflicts under core/
mininny Aug 10, 2024
8860666
Resolve all conflicts under params/
mininny Aug 10, 2024
adf9119
Resolve all conflicts under accounts/
mininny Aug 10, 2024
763e030
Resolve all conflicts under erigon-lib: TODO - re-run codegen for eri…
mininny Aug 10, 2024
92244ac
Resolve all conflicts under polygon
mininny Aug 10, 2024
a116b74
Resolve all conflicts under ethdb, node, p2p, rpc
mininny Aug 10, 2024
9478561
Resolve all remaining conflicts
mininny Aug 10, 2024
af4dc9d
E3: Remove Proof-Of-Work Consensus code (#11556)
Giulio2002 Aug 10, 2024
da2f260
engineapi: Send status SYNCING for fcu when busy (#11491)
somnathb1 Aug 11, 2024
647a72f
more cl state events (#11527)
domiwei Aug 11, 2024
1f24de6
Caplin: Fixed flag usage (#11564)
Giulio2002 Aug 12, 2024
49e443c
Caplin: Make sure frozenBlocks >= frozenBlobs (#11558)
Giulio2002 Aug 12, 2024
25da9ed
polygon/sync: Fix `onMilestoneEvent` crash (#11568)
shohamc1 Aug 12, 2024
5a1c4a3
fix concurrent rw on touchedLeaves map (#11566)
domiwei Aug 12, 2024
c1bc5aa
Replace ledgerwatch with erigontech in imports
mininny Aug 12, 2024
6175518
Regenerate erigon-lib gointerfaces
mininny Aug 12, 2024
bf38839
dbg: add save heap options for logger and memstats inputs (#11575)
taratorio Aug 12, 2024
3474232
Ottersync: Publishable checks - Added interval checks and fixed sepol…
Giulio2002 Aug 12, 2024
a484e35
FIx txpool readme (#11573)
shashiyy Aug 13, 2024
17a595f
chain-tip perf: share worker between execs (#11542)
AskAlexSharov Aug 13, 2024
8991773
Add mgas log (#11571)
mh0lt Aug 13, 2024
e6cda71
Torrent close and progress reporting fixes (#11532)
mh0lt Aug 13, 2024
043b258
go 1.21 (#11582)
AskAlexSharov Aug 13, 2024
9e357e2
polygon/sync: Use store at tip (#11579)
shohamc1 Aug 13, 2024
12a286d
remove useless code in beaconStateHasher (#11587)
domiwei Aug 13, 2024
a9e2275
bt: use madv_normal instead madv_readahead for index opening (#11584)
AskAlexSharov Aug 13, 2024
750105f
exec: use dedicated worker for mining (#11586)
AskAlexSharov Aug 13, 2024
f47b02b
diagnostics: added api to get sys info data (#11589)
dvovk Aug 13, 2024
959bc37
Simplify `StateReaderV3` by extracting `StateReaderParallelV3` (#11581)
AskAlexSharov Aug 13, 2024
c421700
Fix files from merge
mininny Aug 13, 2024
7d8004a
Fix deposit transaction implementation
mininny Aug 13, 2024
e7e0fd8
Fix stage related errors
mininny Aug 13, 2024
0ec4ad1
Test CI
mininny Aug 13, 2024
d598a58
E3: Added ability to download index files and accessors (#11594)
Giulio2002 Aug 14, 2024
cfe8353
prune less blocks on chain-tip (#11593)
AskAlexSharov Aug 14, 2024
593abd4
inverted index: lru (#11530)
AskAlexSharov Aug 14, 2024
12d7e76
Replace `ReaderV4` by `ReaderV3` (#11600)
AskAlexSharov Aug 14, 2024
e9b7e7e
fix incorrect return type for `eth_egtProof` (#11605)
temaniarpit27 Aug 14, 2024
f4322d9
Move atomic hash from Block to Header (#11513)
AskAlexSharov Aug 14, 2024
2582631
Enable LessFalsePositives feature for header.idx (#11598)
AskAlexSharov Aug 14, 2024
00d6fdc
move p2p genReceipts behind experimental env flag (#11604)
AskAlexSharov Aug 14, 2024
92e426c
polygon/bridge: Support read-only operations (#11565)
shohamc1 Aug 14, 2024
2f2fa91
astrid: integrate bridge in polygon_sync_stage mode (#11606)
taratorio Aug 14, 2024
487a369
Merge MiningResultPOSCh with MiningResultCh (#11612)
yperbasis Aug 14, 2024
b985c16
polygon/bor: remove unused params in NewRo (#11611)
taratorio Aug 14, 2024
82ba662
Added hooks to ProcessFrozenBlocks (#11610)
JkLondon Aug 14, 2024
a264b9f
Delete AuRa GenerateSeal (#11616)
yperbasis Aug 14, 2024
9e323b8
Cleanup torrents of indexing files (#11596)
Giulio2002 Aug 14, 2024
2a08e0d
Bump up erigon-snapshots (#11621)
Giulio2002 Aug 14, 2024
c31eb64
fix panic issue in initializeStateAntiquaryIfNeeded (#11608)
domiwei Aug 15, 2024
8a28557
Ottersync: make --all flag to seed .idx, .vi, etc... (#11540)
Giulio2002 Aug 15, 2024
9889b11
Fixed race into E3 salt-blocks.txt (#11622)
Giulio2002 Aug 15, 2024
c9cefa4
db: pagesize default change to 4kb (#11602)
AskAlexSharov Aug 15, 2024
4772138
polygon/bor: simplify state receiver contract code (#11618)
taratorio Aug 15, 2024
cdc5395
adds kurtosis-assertoor to ci (#11464)
sudeepdino008 Aug 15, 2024
23ae58a
polygon/bor: add borabi pkg (#11619)
taratorio Aug 15, 2024
ef233ed
polygon/heimdall: introduce event.Marshall/Unmarshall funcs to hide a…
taratorio Aug 15, 2024
c746942
Revert "E3: Remove Proof-Of-Work Consensus code" (#11628)
yperbasis Aug 15, 2024
dfa0625
stagedsync: fix astrid sync stage panic due to unintentionally commit…
taratorio Aug 15, 2024
41465d5
polygon/sync: naming follow up (#11630)
taratorio Aug 15, 2024
f6a39a5
Add custom chain support to Caplin (#11508)
Giulio2002 Aug 15, 2024
4b5373e
print lru stats after exec stage (#11601)
AskAlexSharov Aug 15, 2024
6b8c6eb
E3: Added accessor snaptype (#11632)
Giulio2002 Aug 16, 2024
f1e8643
diagnostics: fix setup (#11633)
dvovk Aug 16, 2024
a883ad9
codeBitmap: isPush trick (#11597)
AskAlexSharov Aug 16, 2024
c28c0aa
more conservative blocks prune (#11614)
AskAlexSharov Aug 16, 2024
5827b0b
Prune still affecting chain-tip "fsync" (#11637)
AskAlexSharov Aug 16, 2024
4c0183e
`lru` which covers all .kv files - but belongs to `aggTx` (#11489)
AskAlexSharov Aug 16, 2024
c878f09
Fix build failures in tests
mininny Aug 16, 2024
820abe5
diagnostics: added func to grab heap profile (#11643)
dvovk Aug 16, 2024
8c8527c
Merge branch 'op-erigon' into upstream-v3.0.0
mininny Aug 17, 2024
d0701da
Resolve make devnet failure
mininny Aug 17, 2024
3cb847b
lru: disable default tracing (#11651)
AskAlexSharov Aug 17, 2024
6c387bf
qa-tests: save erigon logs for future inspections (#11654)
mriccobene Aug 17, 2024
c78450c
Erigon 3: Prune canonical markers - `CanonicalHash`, `HeaderNumber` f…
Giulio2002 Aug 18, 2024
12ebd14
e3: bind ii/domain lru to `_visibleFiles` object (#11652)
AskAlexSharov Aug 18, 2024
48544c9
ibs: remove blockhash (#11656)
AskAlexSharov Aug 19, 2024
e4eb9fc
Borevent snapshot validation (#9436)
mh0lt Aug 19, 2024
79a7398
compress: extract cfg object (#11666)
AskAlexSharov Aug 19, 2024
ef5cc26
comp: DictionaryBuilder - separate soft/hard limits (#11672)
AskAlexSharov Aug 19, 2024
1c927cc
integrity: use expectedTxnID rather than bad baseTxnID (#11668)
blxdyx Aug 19, 2024
9eec4a6
Add blob fee to prestate tracer (#11650) (#11655)
somnathb1 Aug 19, 2024
397e2d3
Fix Test failures
mininny Aug 19, 2024
e71723a
Resolve conflicts noted as FIXME
mininny Aug 19, 2024
93c18d7
Caplin: Optimized forward sync (4x faster) (#11663)
Giulio2002 Aug 19, 2024
1c1a86c
fix: debug_accountRange(): increase block_number on storage walk (e3)…
lupin012 Aug 20, 2024
a78b105
fix race in recalcVisible (#11691)
AskAlexSharov Aug 20, 2024
73b76e1
missed compression flags (#11688)
AskAlexSharov Aug 20, 2024
6ef0bb6
flag to disable domain lru (#11687)
AskAlexSharov Aug 20, 2024
81bde08
jumpdest: fastpath for push1 (#11658)
AskAlexSharov Aug 20, 2024
6bb6bce
Mining Test to E3 primitives + fixed bug with coinbase (#11385)
JkLondon Aug 20, 2024
72d8c8a
[wip] removing autodupsort (#10940)
JkLondon Aug 20, 2024
a023216
cmd: modify the external REPO path (#11667)
shashiyy Aug 20, 2024
a60d68c
Docs fix spelling issues (#11682)
nnsW3 Aug 20, 2024
86c895a
get back fallback to remote borevents if env `BOREVENTS_REMOTE_FALLBA…
awskii Aug 20, 2024
f1ddc38
exec3.go: fix bad log of mags (#11692)
blxdyx Aug 20, 2024
dbc1833
reset logged gas/s value (#11661)
awskii Aug 20, 2024
2c95f78
update grafana dashboard (#11698)
awskii Aug 20, 2024
f72243e
Add flag to disable parralel state flushing (`--sync.parallel-state-f…
Giulio2002 Aug 20, 2024
4022567
reset sigint default handler after libp2p.New call (#11694)
shotasilagadze Aug 20, 2024
38dc23a
Caplin: Fixed nil panic in antiquary initizialization and indexing (#…
Giulio2002 Aug 21, 2024
bdae01a
disable madv (#11700)
AskAlexSharov Aug 21, 2024
cc6f39f
domain lru: enable (#11702)
AskAlexSharov Aug 21, 2024
32ba2ab
enable keys compression for commitment.kv > 64steps (#11696)
AskAlexSharov Aug 21, 2024
ff0d727
`.bt` indices with list of keys to cache (#11706)
awskii Aug 22, 2024
12ec730
syncstats: modified log message (#11697)
dvovk Aug 22, 2024
5531d5e
sentry: remove outdated content (#11708)
massarinoaa Aug 22, 2024
aa3d89e
compress: enforce hard dict limit (#11711)
AskAlexSharov Aug 22, 2024
cba6612
downloader: Fixed downloaded value (#11695)
dvovk Aug 22, 2024
4599d92
`erigon snapshots meta` command (#11714)
AskAlexSharov Aug 22, 2024
087f3f5
Commitment: finish clarify names (#11717)
awskii Aug 23, 2024
13b4b77
Flip `BorEventNums` to use last state sync event ID (#11703)
shohamc1 Aug 23, 2024
8168227
Know cfg new more optimized strings.split (#11710)
JkLondon Aug 23, 2024
fef9086
Prune `MaxTxNums` table (#11664)
Giulio2002 Aug 23, 2024
9832c6a
polygon/bridge: Remove reader duplication (#11721)
shohamc1 Aug 23, 2024
b75675d
Fix bor-heimdall stall after chaindb removal (#11725)
mh0lt Aug 23, 2024
43a1a48
reading genesis from db (if we can found it there) (#11550)
JkLondon Aug 23, 2024
4b128df
polygon/heimdall: skip manual TestOver50EventBlockFetch (#11728)
taratorio Aug 23, 2024
cc8eb60
downloader: added set log prefix grpc method (#11731)
dvovk Aug 24, 2024
06ac39c
kurtosis assertoor tests (#11641)
sudeepdino008 Aug 24, 2024
d9b7cf1
downgraded protoc version (#11734)
dvovk Aug 24, 2024
a341d06
Don't validate skipped events (#11726)
mh0lt Aug 24, 2024
ba16134
polygon/bridge: fix bridge integration in stage mode (#11646)
taratorio Aug 24, 2024
85c35dc
Caplin: faster reorgs with storing temporary Merkle Trees on disk (#1…
Giulio2002 Aug 24, 2024
19dc651
Fixed `adding` torrent within Caplin's antiquary (#11736)
Giulio2002 Aug 25, 2024
f63514a
Fix --torrent.staticpeers param (#11737)
wmitsuda Aug 25, 2024
b42b555
Fix duplicate borevent snapshot entries (#11739)
shohamc1 Aug 25, 2024
03293de
diagnostics: updated serving ui port (#11740)
dvovk Aug 26, 2024
78b29d6
EstimateGas supports overriding state (#11743)
chengxuncc Aug 26, 2024
d335abe
fix(lib/state): cursor iterate should check error (#11745)
jsvisa Aug 26, 2024
b402c6e
reduce stepSize in test (#11735)
AskAlexSharov Aug 26, 2024
11c843a
Add migration for BorEventNums change (#11749)
shohamc1 Aug 26, 2024
bb616ad
dl: add --all to torrent_hashes and manifest (#11750)
AskAlexSharov Aug 26, 2024
f1c06bc
Set small time limit to `TestMiningBenchmark` (#11747)
AskAlexSharov Aug 26, 2024
3b59809
polygon: fix astrid stage integration deadlock on tip unwind (#11753)
taratorio Aug 26, 2024
d598071
polygon: tidy IsSprintStart/End helper funcs (#11732)
taratorio Aug 26, 2024
e27e95b
memory exhaustion due to connections with numerous validators & unwin…
domiwei Aug 26, 2024
ce63b55
downloader: updated progress logging (#11755)
dvovk Aug 27, 2024
dea051f
dl: don't mutate url object (#11758)
AskAlexSharov Aug 27, 2024
7cb7f1d
dl: `--seedbox` to load `.toml` before `cfg` object creation (#11762)
AskAlexSharov Aug 27, 2024
f310d6b
downloader: fixing and refactor (#11769)
dvovk Aug 28, 2024
c25bb91
turbo: optimize HeaderByNumber and BlockByNumber (#11765)
stevemilk Aug 28, 2024
0087deb
Rework goreleaser configuration, release workflow and Dockerfile for …
lystopad Aug 28, 2024
0008a4c
SstageLoopIteration: don't run in `inMem` mode (#11773)
AskAlexSharov Aug 28, 2024
703a0a1
Minor changes in release workflow (#11775)
lystopad Aug 28, 2024
fe8f6f2
Fix quotes (#11777)
lystopad Aug 28, 2024
d7c13df
set specific stream bound limits (#11756)
shotasilagadze Aug 28, 2024
941cf8c
Caplin: Decrease block commit timings (350k to 35k) (#11723)
Giulio2002 Aug 28, 2024
c0d3c65
Caplin: Fixed `History Download` CPU usage (#11733)
Giulio2002 Aug 28, 2024
1cf8f86
Caplin: Fixed caplin parent root indexing (#11729)
Giulio2002 Aug 28, 2024
5a5467c
downloader: fixed total time (#11778)
dvovk Aug 28, 2024
f26aa14
Fix condition (#11782)
lystopad Aug 28, 2024
bcc8850
polygon: astrid sync stage fix deadlock on cancelled context (#11783)
taratorio Aug 28, 2024
d08ed74
el-consensus: Add 2935 condition to fail silently if no code in Histo…
somnathb1 Aug 28, 2024
534f654
Add "ERIGON_" prefix to env variables (#11776)
AskAlexSharov Aug 29, 2024
0543f1a
polygon/p2p: peer tracker to replay current state of connected peers …
taratorio Aug 29, 2024
2fceaea
Fixed nil-ptr in Forkchoice.CurrentHeader (#11789)
Giulio2002 Aug 29, 2024
1bdad46
e3 visibleFiles: if domain `A` has `n+1` steps and domain `B` has `n`…
AskAlexSharov Aug 30, 2024
5a83e35
non-chain-tip batch commit logic fix (#11788)
AskAlexSharov Aug 30, 2024
fe310fd
dl: check if webseed exists by `HEAD` request with small deadline (#1…
AskAlexSharov Aug 30, 2024
6a064a1
Reset inner cell arrays in cell.reset() (#11804)
antonis19 Aug 30, 2024
8d9dd9a
Clear cell arrays using clear() (#11805)
antonis19 Aug 30, 2024
8cd1c3e
qa-tests: add rpc integration tests (Erigon v3) (#11806)
mriccobene Aug 30, 2024
d2953f6
polygon/heimdall: handle transient milestoneId error (#11808)
taratorio Aug 30, 2024
970ac1a
[Polygon] Bor: PIP-30: increased max code size limit to 32KB (#11792)
pratikspatil024 Aug 30, 2024
68f4196
polygon/heimdall: fix errors.Is typo for ErrNotInMilestoneList (#11812)
taratorio Aug 30, 2024
7df0561
compression of storage.kv (#11712)
AskAlexSharov Aug 31, 2024
f648b4b
low attestation rate issue (#11790)
domiwei Aug 31, 2024
7b1e16c
Fixed sepolia sync (#11814)
Giulio2002 Aug 31, 2024
9ab5bbd
Update ethereum/tests to v14.1 (#11823)
yperbasis Sep 2, 2024
a8e795d
Erigon 3: Fix occassional need for reorgs (during first sync in polyg…
Giulio2002 Sep 2, 2024
d7bd2c5
Implement Sentry Mux (#11793)
mh0lt Sep 2, 2024
1e35d33
polygon/heimdall: make scrapper resilient to 502s (#11828)
taratorio Sep 2, 2024
93ee417
integration: Add support for PolygonSync stage (#11786)
shohamc1 Sep 2, 2024
a0c706b
adjustments to caplin peer count (#11820)
domiwei Sep 2, 2024
703e8a7
polygon: update stagesHeadersAndFinish to check PolygonSync stage pro…
taratorio Sep 3, 2024
282848f
decreased lvl of opJump logs for fuzzing (#11831)
JkLondon Sep 3, 2024
bd6c4ef
consensuschain: fix getHeaderByHash return nil (#11822)
blxdyx Sep 3, 2024
b22aea7
cmd: verify that regexps are valid (#11825)
estensen Sep 3, 2024
b071efc
accounts/abi: extract regexp from functions (#11827)
estensen Sep 3, 2024
38f74dd
all: unlambda function literals (#11844)
estensen Sep 3, 2024
a1db6a2
test github actions discord reporting (#11821)
sudeepdino008 Sep 3, 2024
54904f5
7702 latest spec update (#11585)
sudeepdino008 Sep 3, 2024
2a3c532
blobDb: remove right folder (#11779)
blxdyx Sep 3, 2024
e6577c0
Caplin: Hack for delayed fsync + do not generate snapshots if too man…
Giulio2002 Sep 3, 2024
7273ede
headerByHash recursion fix (#11837)
AskAlexSharov Sep 3, 2024
6f25a82
guide: fix conception and link (#11754)
benderrobert Sep 3, 2024
ec99ed8
Caplin: Fixed bad performance on low-end consumer hardware (#11815)
Giulio2002 Sep 3, 2024
2e7487b
polygon/bridge: Handle overrideStateSyncRecords (#11836)
shohamc1 Sep 3, 2024
9c648c2
New workflow ci-cd-main-branch-docker-images.yml and changes in relea…
lystopad Sep 3, 2024
b7c02f3
qa-tests: add Tip-Tracking test for Polygon (#11829)
mriccobene Sep 3, 2024
82ca4da
Use variable for exposed ports and move important ARGs before first F…
lystopad Sep 3, 2024
c91092c
Fix ls flags (base alpine specific) and renage dockerfile stage. (#11…
lystopad Sep 3, 2024
20af806
Merge tag 'v3.0.0-alpha2' into upstream-v3.0.0
mininny Sep 3, 2024
7ee19eb
polygon: Batch fetch spans (#11842)
shohamc1 Sep 4, 2024
1f2ddde
Caplin: Fixed overwhelming of `operationsCh` (#11855)
Giulio2002 Sep 4, 2024
ce2ecf8
Implement DomainRange in KvServer (#11853)
canepat Sep 4, 2024
4b7d8c0
move `archive getter/writer` to `seg` package (#11817)
AskAlexSharov Sep 4, 2024
5708ac2
Fix on-trigger (correct branch) (#11860)
lystopad Sep 4, 2024
8b3f487
Optimism funding project ID (#11862)
yperbasis Sep 4, 2024
d94de51
Following the request -- use short commit id instead of full one. (#1…
lystopad Sep 4, 2024
4085099
core: Check `gasBailout` before deducting balance in trace_call (#118…
somnathb1 Sep 4, 2024
c6a47ad
polygon/heimdall: service test to cover both sequential and batch fet…
taratorio Sep 4, 2024
ed2f5f8
polygon/sync: fix parent td missing when forking at the tip (#11867)
taratorio Sep 4, 2024
e138dab
astrid: fix stage integration cached fork choice logic (#11870)
taratorio Sep 4, 2024
950200a
downloader: fix verify stop in incomplete file (#11874)
dvovk Sep 5, 2024
7a7fbec
downloader: added downloaded torrents notifier (#11850)
dvovk Sep 5, 2024
2c3f947
feat(eth/calltracer): the captured to address's value is not used (#1…
jsvisa Sep 5, 2024
5104af1
E3: set `pruneNonEssentials=false` (#11880)
Giulio2002 Sep 5, 2024
92d8c17
Update version.go to version 3.0.0-alpha3 (#11881)
VBulikov Sep 5, 2024
99d0fb8
Resolve conflicts for merge v3.0.0-alpha2
mininny Sep 5, 2024
3af8927
Update erigon-interfaces commit
mininny Sep 5, 2024
90e2de3
Merge tag '3.0.0-alpha3' into upstream-v3.0.0
mininny Sep 13, 2024
b1c43c2
Fix merge conflicts for upstream 3.0.0-alpha3
mininny Sep 13, 2024
f98869e
Resolve conflicts and update erigon-interfaces to more up-to-date ver…
mininny Sep 13, 2024
dfb7ed5
Merge branch 'op-erigon' into upstream-v3.0.0
mininny Sep 13, 2024
74f22b3
Fix build error
mininny Sep 13, 2024
063e53e
Fix build error
mininny Sep 14, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ steps:
- command: './nightly.sh'
label: 'build & run geth'
env:
BUILDKITE_GOLANG_IMPORT_PATH: "github.com/ledgerwatch/erigon"
BUILDKITE_GOLANG_IMPORT_PATH: "github.com/erigontech/erigon"
8 changes: 4 additions & 4 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ smallest of fixes!
If you'd like to contribute to Erigon, please fork, fix, commit and send a
pull request for the maintainers to review and merge into the main code base. If
you wish to submit more complex changes though, please check up with the core
devs first on [Discord server](https://github.com/ledgerwatch/erigon#erigon-discord-server) to
devs first on [Discord server](https://github.com/erigontech/erigon#erigon-discord-server) to
ensure those changes are in line with the general philosophy of the project
and/or get some early feedback which can make both your efforts much lighter as
well as our review and merge procedures quick and simple.
Expand All @@ -21,7 +21,7 @@ Please make sure your contributions adhere to our coding guidelines:
(i.e. uses [gofmt](https://golang.org/cmd/gofmt/)).
* Code must be documented adhering to the official Go
[commentary](https://golang.org/doc/effective_go.html#commentary) guidelines.
* Pull requests need to be based on and opened against the `devel` branch.
* Pull requests need to be based on and opened against the `main` branch.
* Commit messages should be prefixed with the package(s) they modify.
* E.g. "eth, rpc: make trace configs optional"

Expand All @@ -30,11 +30,11 @@ Please make sure your contributions adhere to our coding guidelines:
Before you submit a feature request, please check and make sure that it isn't
possible through some other means. The JavaScript-enabled console is a powerful
feature in the right hands. Please check our
[Wiki page](https://github.com/ledgerwatch/erigon/wiki) for more info
[Wiki page](https://github.com/erigontech/erigon/wiki) for more info
and help.

## Configuration, dependencies, and tests

Please see the [Readme](https://github.com/ledgerwatch/erigon#readme) file
Please see the [Readme](https://github.com/erigontech/erigon#readme) file
for more details on configuring your environment, managing project dependencies
and testing procedures.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ labels: 'type:docs'
assignees: ''
---

This should only be used in very rare cases e.g. if you are not 100% sure if something is a bug or asking a question that leads to improving the documentation. For general questions please use [Erigon's discord](https://github.com/ledgerwatch/erigon#erigon-discord-server).
This should only be used in very rare cases e.g. if you are not 100% sure if something is a bug or asking a question that leads to improving the documentation. For general questions please use [Erigon's discord](https://github.com/erigontech/erigon#erigon-discord-server).
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Check
on:
push:
branches:
- devel
- main
workflow_dispatch:

jobs:
Expand Down
89 changes: 89 additions & 0 deletions .github/workflows/ci-cd-main-branch-docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
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"

env:
APPLICATION: "erigon"
BUILDER_IMAGE: "golang:1.22.6-alpine3.20"
TARGET_BASE_IMAGE: "alpine:3.20.2"
APP_REPO: "erigontech/erigon"
CHECKOUT_REF: "main"
DOCKERHUB_REPOSITORY: "erigontech/erigon"
LABEL_DESCRIPTION: "[docker image built on a last commit id from the main branch] Erigon is an implementation of Ethereum (execution layer with embeddable consensus layer), on the efficiency frontier. Archive Node by default."

on:
push:
branches:
- 'main'
paths-ignore:
- '.github/**'
workflow_dispatch:

jobs:

Build:
runs-on: ubuntu-22.04
timeout-minutes: 45

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

- name: Get commit id
id: getCommitId
run: |
cd erigon
echo "id=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
echo "short_commit_id=$(git rev-parse --short=7 HEAD)" >> $GITHUB_OUTPUT
cd ..

- name: Login to Docker Hub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 ## v3.3.0
with:
username: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_USERNAME }}
password: ${{ secrets.ORG_DOCKERHUB_ERIGONTECH_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf ## v3.2.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db ## v3.6.1

- name: Build and push multi-platform docker image based on the commit id ${{ steps.getCommitId.outputs.short_commit_id }} in the main branch
env:
BUILD_VERSION: "main-${{ steps.getCommitId.outputs.short_commit_id }}"
DOCKER_URL: ${{ env.DOCKERHUB_REPOSITORY }}
DOCKERFILE_PATH: Dockerfile.release
run: |
cd erigon
docker buildx build \
--file ${{ env.DOCKERFILE_PATH }} \
--target ci-cd-main-branch \
--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 \
--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" \
--label org.opencontainers.image.documentation="https://github.com/erigontech/erigon/blob/main/Dockerfile" \
--label org.opencontainers.image.source="https://github.com/erigontech/erigon/blob/main/Dockerfile" \
--label org.opencontainers.image.version=${{ steps.getCommitId.outputs.id }} \
--label org.opencontainers.image.revision=${{ steps.getCommitId.outputs.id }} \
--label org.opencontainers.image.vcs-ref-short=${{ steps.getCommitId.outputs.short_commit_id }} \
--label org.opencontainers.image.vendor="${{ github.repository_owner }}" \
--label org.opencontainers.image.description="${{ env.LABEL_DESCRIPTION }}" \
--label org.opencontainers.image.base.name="${{ env.TARGET_BASE_IMAGE }}" \
--push \
--platform linux/amd64,linux/arm64 .

- name: Print docker images published
run: |
echo The following docker images have been published:
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-${{ steps.getCommitId.outputs.short_commit_id }}"
echo "${{ env.DOCKERHUB_REPOSITORY }}:main-latest"

32 changes: 14 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
# list of os: https://github.com/actions/virtual-environments
os:
- ubuntu-22.04
- macos-13
- macos-14
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Install dependencies on Linux
Expand All @@ -61,16 +61,12 @@ jobs:

- name: Install golangci-lint
if: runner.os == 'Linux'
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6
with:
version: v1.57.2
version: v1.59.1
skip-build-cache: true
args: --help

- name: Install go-licenses
if: runner.os == 'Linux'
run: cd erigon-lib && make lint-licenses-deps

- name: Lint
if: runner.os == 'Linux'
run: make lint
Expand All @@ -80,7 +76,7 @@ jobs:

- name: SonarCloud
if: runner.os == 'Linux'
uses: SonarSource/sonarcloud-github-action@v2.1.1
uses: SonarSource/sonarcloud-github-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand All @@ -95,15 +91,15 @@ jobs:

steps:
- name: configure Pagefile
uses: al-cheb/configure-pagefile-action@v1.3
uses: al-cheb/configure-pagefile-action@v1.4
with:
minimum-size: 8GB
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
C:\ProgramData\chocolatey\lib\mingw
Expand All @@ -124,13 +120,13 @@ jobs:
run: cd erigon-lib && make test-no-fuzz

docker-build-check:
# don't run this on devel - the PR must have run it to be merged and it misleads that this pushes the docker image
if: (${{ github.event_name == 'push' || !github.event.pull_request.draft }}) && ${{ github.ref != 'refs/heads/devel' }}
# don't run this on main - the PR must have run it to be merged and it misleads that this pushes the docker image
if: (${{ github.event_name == 'push' || !github.event.pull_request.draft }}) && ${{ github.ref != 'refs/heads/main' }}
runs-on: ubuntu-22.04

steps:
- uses: AutoModality/action-clean@v1
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch git tags for "git describe"

Expand All @@ -146,7 +142,7 @@ jobs:
# ubuntu-22.04
# if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
#
# - name: run automated testing
# run: BUILD_ERIGON=1 ./tests/automated-testing/run.sh
12 changes: 6 additions & 6 deletions .github/workflows/docker-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,31 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: dockerhub-login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB }}
password: ${{ secrets.DOCKERHUB_KEY }}
- name: ghcr-login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: docker/setup-qemu-action@v2
- uses: docker/setup-qemu-action@v3

- run: |
make release-dry-run
docker images
# docker image push --all-tags thorax/erigon
# docker image push --all-tags ghcr.io/ledgerwatch/erigon
# docker image push --all-tags ghcr.io/erigontech/erigon
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${GITHUB_REF#refs/tags/}
DOCKER_USERNAME: ${{ secrets.DOCKERHUB }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
45 changes: 45 additions & 0 deletions .github/workflows/hive-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Hive (Nightly)

on:
schedule:
- cron: "0 01 * * *" # run at 1 am UTC every day
workflow_dispatch:

jobs:
hive:
runs-on: ubuntu-latest
steps:
- uses: AutoModality/action-clean@v1
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch git tags for "git describe"

- name: build erigon image
run: DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker

# check with root permissions, should be cached from previous build
- name: build erigon image (root permissions)
run: sudo DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker

- name: run hive and parse output
run: |
sudo mkdir -p /results-${{ github.run_id }}
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work thorax/hive:latest --sim ethereum/engine --results-root=/work/results-${{ github.run_id }} --client erigon_ci-$GITHUB_SHA --exit.fail=false
docker run --rm --pull always -v /var/run/docker.sock:/var/run/docker.sock -v ${{ github.workspace }}:/work --entrypoint /app/hivecioutput thorax/hive:latest --resultsdir=/work/results-${{ github.run_id }} --outdir=/work/results-${{ github.run_id }} --exclusionsfile=/work/hive/exclusions.json

- name: clean up containers
if: always()
run: |
ids=$(docker ps -a -q)
for id in $ids
do
echo "stopping/removing container: $id"
docker stop $id && docker rm $id
done

- name: parse hive results
uses: phoenix-actions/test-reporting@v15
with:
name: Tests
path: results-${{ github.run_id }}/*.xml
reporter: java-junit
28 changes: 28 additions & 0 deletions .github/workflows/kurtosis/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
participants_matrix:
el:
- el_type: geth
- el_type: erigon
el_image: <<ERIGON_IMAGE_PLACEHOLDER>>
- el_type: nethermind
cl:
- cl_type: lighthouse
- cl_type: nimbus
network_params:
#electra_fork_epoch: 1
min_validator_withdrawability_delay: 1
shard_committee_period: 1
additional_services:
- assertoor
snooper_enabled: true
assertoor_params:
run_stability_check: false
run_block_proposal_check: false
tests:
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/all-opcodes-test.yaml
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/blob-transactions-test.yaml
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/dencun-opcodes-test.yaml
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/eoa-transactions-test.yaml
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/synchronized-check.yaml
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/validator-exit-test.yaml
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/block-proposal-check.yaml
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/stability-check.yaml
Loading
Loading