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 v2.60.2 #106

Merged
merged 577 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
577 commits
Select commit Hold shift + click to select a range
878f01f
chore: fix typo in comment (#9846)
stayweek Apr 1, 2024
c7330e1
bor-mainnet 54.6M: including missed borevents files (#9849)
AskAlexSharov Apr 2, 2024
06864e0
downloader: to show more gradual progress when re-hashing/verying fil…
AskAlexSharov Apr 2, 2024
95c8e37
tests: Remove torrent simulator (#9845)
shohamc1 Apr 2, 2024
c351ddc
exitCode 1 when got webseed errs, added report overview in the end (#…
awskii Apr 4, 2024
ed44953
chore:fix typo (#9861)
goofylfg Apr 4, 2024
b359c26
Caplin: beacon committee subscription api (#9721)
domiwei Apr 4, 2024
cb755cb
txpool: check blob fields only if txn is Blob Tx (#9859)
jsvisa Apr 5, 2024
ed5daf8
Caplin: Fixed gaps in blob download (#9850)
Giulio2002 Apr 5, 2024
bb4a054
Caplin encounters an obstruction caused by CommitteeSubsManagement (#…
domiwei Apr 5, 2024
183dbf7
Caplin: Add sync committees aggregation (#9829)
Giulio2002 Apr 6, 2024
a035c5a
Caplin: Fixed network regressions (#9863)
Giulio2002 Apr 7, 2024
433f4de
downloader: `--seedbox` stopped to be self-driven (#9868)
AskAlexSharov Apr 7, 2024
fbe3a46
downloader: calling wrong url to download .torrent (#9867)
AskAlexSharov Apr 7, 2024
17da5dd
New overlays feature for doing ad-hoc simulations of existing contrac…
crebsy Apr 7, 2024
dd53519
polygon/p2p: fix issues found during testing (#9872)
taratorio Apr 8, 2024
1c851ae
polygon/sync: integrate with erigon (#9729)
taratorio Apr 8, 2024
faf7a43
Caplin: Refactored state antiquary (#9876)
Giulio2002 Apr 8, 2024
c672452
polygon/sync: fix issues found during testing (#9873)
taratorio Apr 8, 2024
7d05ec1
polygon/heimdall: heimdall improvements after astrid sync tests (#9882)
taratorio Apr 8, 2024
70406e6
dvovk/headers info (#9748)
dvovk Apr 8, 2024
012199f
Fixed archive CL pks (#9886)
Giulio2002 Apr 9, 2024
48592ea
p2p/sentry: allow SendMessageById(GetBlockBodiesMsg) (#9825)
taratorio Apr 9, 2024
32218d9
dvovk/networkspeedtest (#9885)
dvovk Apr 9, 2024
0d2cf66
polygon/sync: storage add debug log for insert blocks duration info (…
taratorio Apr 9, 2024
56cf84b
Caplin: get aggregated attestation api (#9878)
domiwei Apr 9, 2024
0f49aab
Fix log index gaps in debug_traceTransaction (#9827)
somnathb1 Apr 10, 2024
ec027f4
fix torrent allocation and pice size mismatch (#9905)
awskii Apr 11, 2024
642a80a
do not open corrupted file (#9908)
awskii Apr 11, 2024
da015df
port some e35 renamings to devel (#9901)
AskAlexSharov Apr 11, 2024
63c7118
p2p/sentry: StatusDataProvider ReadCurrentHeader error (#9890)
battlmonstr Apr 11, 2024
e7d5a84
polygon/heimdall: optimise fetch checkpoints (#9897)
taratorio Apr 11, 2024
c648885
up testify lib (#9912)
AskAlexSharov Apr 11, 2024
f5891c1
up crypto lib version (#9911)
AskAlexSharov Apr 11, 2024
a5d82cf
Revert "updateForkChoice: support --sync.loop.block.limit (#9315)" (#…
AskAlexSharov Apr 11, 2024
c756a55
downloader: manual .lock remove may lead to race and creation of data…
AskAlexSharov Apr 11, 2024
50be88d
Add kv.log pruning alongside logIndex prune (#9913)
somnathb1 Apr 11, 2024
f9b9d59
turbo/jsonrpc: improved interface readability (#9910)
bbaktaeho Apr 11, 2024
090a65a
Fix flags in `init` command (#9919)
shohamc1 Apr 12, 2024
4eed27b
Fix default gas values in `debug_` RPCs (#9922)
shohamc1 Apr 12, 2024
1cbdfe3
caplin: post beacon pool attestations (#9896)
domiwei Apr 12, 2024
400c9ba
release decompressor mmap on errors (#9917)
awskii Apr 12, 2024
43b20c1
fix race conditions (#9906)
awskii Apr 12, 2024
1c4a964
Caplin: wrong IsTopicBeaconAttestation (#9915)
domiwei Apr 12, 2024
e4b50b7
qa tests: add snap download test workflow (#9925)
mriccobene Apr 12, 2024
7e85689
Updating sync stages metrics along with DB update (#9907)
dvovk Apr 12, 2024
6bfa6f8
Add cloudflare app firewall specific headers (#9904)
mh0lt Apr 12, 2024
ef5e3d0
grafana: disable staking (#9923)
AskAlexSharov Apr 12, 2024
771b834
Refactoring of messages handling (#9887)
Giulio2002 Apr 12, 2024
0f41159
renaming step2 (#9920)
AskAlexSharov Apr 12, 2024
567d222
Chore: improve comments and readability with stageloop prune (#9902)
somnathb1 Apr 12, 2024
604de2d
tests: Heimdall simulator tests (#9860)
shohamc1 Apr 13, 2024
0be04e6
Update gnosis, chiado bootnodes (#9883)
somnathb1 Apr 13, 2024
1d95570
Caplin: Moving more code out of the `ForkChoiceStoire` (#9933)
Giulio2002 Apr 14, 2024
1248831
Fix older logs pruning (#9932)
somnathb1 Apr 15, 2024
b8c498d
chore:fix typo (#9924)
seay404 Apr 15, 2024
fcad3a0
data races running TestMiningBenchmark (#8704) (#9926)
battlmonstr Apr 15, 2024
bd378f2
Caplin: Make use of EthereumClock instead than Global functions (#9934)
Giulio2002 Apr 15, 2024
890b8b5
p2p/sentry: fix missing disconnect events after penalising a peer (#9…
taratorio Apr 15, 2024
143c9f8
Caplin: Fixed deadline exceeded in block download (#9943)
Giulio2002 Apr 15, 2024
b1efa16
polygon/p2p: remove no longer needed trackingPenalizer (#9929)
taratorio Apr 15, 2024
1e72f64
polygon/heimdall: use value receiver for checkpoints sort (#9947)
taratorio Apr 15, 2024
f5692a5
changed behaviour --webseed flag and removed check of s3 etag format …
awskii Apr 15, 2024
6a9ce5a
manifest-verify: allow `host.com/v2/manifest.txt` (#9942)
AskAlexSharov Apr 15, 2024
ac43aa8
beacon downloader: improve logging of hashes (#9951)
AskAlexSharov Apr 16, 2024
44c7d04
silkworm: fix arm64 build (#9299) (#9914)
battlmonstr Apr 16, 2024
7e5e5ca
set default values for diagnostic address and debug address (#9961)
dvovk Apr 16, 2024
3af7e45
Clarify decompressor opening errors (#9948)
awskii Apr 17, 2024
2140e2f
Added downloader http handling and extended logging (#9962)
mh0lt Apr 17, 2024
618d267
move attestation service out from fork store (#9944)
domiwei Apr 17, 2024
3483551
manifest-verify: skip non-seedable files (#9939)
AskAlexSharov Apr 17, 2024
bca27f3
p2p/sentry/sentry_multi_client: flag to disable block download code (…
taratorio Apr 17, 2024
e3b87dd
Fix missing prune log index (#9968)
somnathb1 Apr 17, 2024
4a578ba
Caplin: Add unit tests to Services (#9950)
Giulio2002 Apr 17, 2024
b17aa53
cmd/integration: log index stage sub command to reset only prune_at p…
taratorio Apr 17, 2024
1c5b7f3
Update chiado snapshots to 9.2M (#9975)
somnathb1 Apr 17, 2024
8d8f88a
opening domains/hsit/indices with corrupted files on disk (#9970)
awskii Apr 18, 2024
ad69def
"erigon snapsots retire": to build all files (#9980)
AskAlexSharov Apr 18, 2024
3730cff
downloader torrent_create: print logs line about created amount (#9983)
AskAlexSharov Apr 18, 2024
c994ca2
dvovk/fix speedtest (#9973)
dvovk Apr 18, 2024
c714044
golangci-lint v1.57.2 (#9978)
AskAlexSharov Apr 18, 2024
7ad5710
downloader: RecalcStat to not expect that something downloading on sy…
AskAlexSharov Apr 19, 2024
e364cd1
downloader: RecalcStates double-accounting fix (#9985)
AskAlexSharov Apr 19, 2024
629514a
`erigon snapshots index: support caplin's files (#9996)
AskAlexSharov Apr 19, 2024
77d3aff
downloader: step towards atomic fs (#9992)
AskAlexSharov Apr 19, 2024
991c322
dedicated fsyncDB() func - for clarity and docs (#9994)
AskAlexSharov Apr 19, 2024
e7d67fd
Header marshalling/unmarshalling update (#9960)
racytech Apr 19, 2024
122f9f8
mdbx: `Batch()` (#9999)
AskAlexSharov Apr 20, 2024
86dd0e5
downloader: rename TorrentFiles to AtomicTorrentFS (#10005)
AskAlexSharov Apr 20, 2024
54a1609
Caplin: indexing to use right buf size (#9998)
AskAlexSharov Apr 21, 2024
596d54d
First round of fixes in making gossip publishing good for the validat…
Giulio2002 Apr 21, 2024
3f7cf91
Downloader: atomic-fs to be less smart. if app called - Create() - do…
AskAlexSharov Apr 22, 2024
34e8d35
Implement the optional output field on ots_traceTransaction (#10014)
wmitsuda Apr 22, 2024
80513aa
polygon/sync: Clean shutdown (#10017)
shohamc1 Apr 22, 2024
addda2e
re-gen mock files (#10007)
AskAlexSharov Apr 22, 2024
3af5c35
rename aggv3 to agg (#10011)
AskAlexSharov Apr 22, 2024
be8e4e6
chain-config: capital IsOsaka (#9989)
somnathb1 Apr 22, 2024
991230e
move more services out from ForkchoiceStore (#9981)
domiwei Apr 22, 2024
8f0582b
WP - dvovk/diagnostics downloader print (#10000)
dvovk Apr 22, 2024
ab361e4
move `temporal` package to erigon-lib (#10015)
AskAlexSharov Apr 22, 2024
2b8f669
downloader: more durable db mode (#10010)
AskAlexSharov Apr 23, 2024
49e39ab
Added body close on retry for downloader round trip (#10008)
mh0lt Apr 23, 2024
6457ef3
Set block baseFeePerGas value in graphql response (#9974)
scorring Apr 23, 2024
de39ac4
vm: Rename stateTransition gas to gasRemaining (#10025)
somnathb1 Apr 23, 2024
0fa85d2
chore: fix function names in comment (#9987)
fuyangpengqi Apr 23, 2024
ff05e20
sonar: add test coverage (#9988)
taratorio Apr 23, 2024
7d668f2
sonar: disable c/c++ scanning (#10033)
taratorio Apr 23, 2024
6d9a5fd
Caplin: Added `SyncAggregate` computation to block production (#10009)
Giulio2002 Apr 23, 2024
190cbfa
polygon/sync: message listener to preserve peer events ordering (#10032)
taratorio Apr 23, 2024
586416c
check attestation signature (#10018)
domiwei Apr 23, 2024
7066578
sonar: fix warnings (#10034)
taratorio Apr 24, 2024
965213d
sonar: fix js warnings and exclude mocks (#10042)
taratorio Apr 24, 2024
faebc82
tests: Support iterations in Heimdall simulator (#10040)
shohamc1 Apr 24, 2024
d1340de
Fix forward bor snaps (#10027)
mh0lt Apr 24, 2024
9af7278
Added downloader request count (#10036)
mh0lt Apr 24, 2024
2bd713b
StageSenders: `--sync.loop.block.limit` support (#9982)
AskAlexSharov Apr 24, 2024
4753554
chore:fix typo (#9952)
goofylfg Apr 24, 2024
d318f11
Optimize prune old chunks (#10019)
somnathb1 Apr 24, 2024
dfdfed5
[ots] Fix block rewards calculation on post-merge blocks (#10038)
wmitsuda Apr 24, 2024
ed3325b
sonar: use fixed version for sonarcloud-github-action (#10046)
taratorio Apr 24, 2024
831c48d
standardize mock file name (#10043)
domiwei Apr 24, 2024
49b7a97
chore: remove repetitive words (#10044)
goofylfg Apr 24, 2024
9976e3c
mdbx, erigon backup: fix typo (#10031)
mcfx Apr 24, 2024
d2aaa68
Build Silkworm RpcDaemon settings from Erigon ones (#10002)
canepat Apr 25, 2024
2fe4b37
Optimized attestation processing (#10020)
Giulio2002 Apr 25, 2024
3323fdc
Revert "Fix new_heads Events Emission on Block Forks (#9738)" (#10055)
yperbasis Apr 25, 2024
b2cf6d2
chore: fix comments (#9958)
persmor Apr 25, 2024
0620607
Revert "Added downloader request count" (#10053)
AskAlexSharov Apr 25, 2024
ee420ad
drop go 1.20 support (#10052)
AskAlexSharov Apr 25, 2024
a700f92
cmd/integration: print_table_sizes (#10061)
taratorio Apr 25, 2024
cb73f91
Revert "StageSenders: `--sync.loop.block.limit` support" (#10060)
AskAlexSharov Apr 25, 2024
bc18485
downloader: remove deprecated manual fsync (#10064)
AskAlexSharov Apr 25, 2024
c973a15
cmd/integration: import erigon-lib/kv to execute init func (#10065)
taratorio Apr 25, 2024
341bfea
Caplin: fixed attestation broadcasting (#10041)
Giulio2002 Apr 25, 2024
b9ebb6c
feat: add `fullTx` params to `NewPendingTransactions` (#9204)
fenghaojiang Apr 25, 2024
3829bfe
backward compatibility of .lock (#10006)
AskAlexSharov Apr 25, 2024
a0049fe
Make logs subscription channel size configurable (#9810)
adytzu2007 Apr 25, 2024
d7cd1fa
cmd/integration: print table sizes to filter deprecated tables (#10066)
taratorio Apr 25, 2024
3e1331a
[ots] Fix incorrect return type and overflow on total block fees calc…
wmitsuda Apr 26, 2024
a5270bc
RPC: `--http.dbg.single=true` and custom HTTP header `dbg: true` (#10…
AskAlexSharov Apr 26, 2024
9001183
all: use the built-in slices library (#9842)
carehabit Apr 26, 2024
aee77ab
chore(config): json marshal chainName (#9865)
jsvisa Apr 26, 2024
4e56433
Fix new_heads Events Emission on Block Forks (#10072)
jotto Apr 26, 2024
eac6f04
chore: remove repetitive words with tools (#10076)
goofylfg Apr 26, 2024
c83ee65
grafana: configurable datasource (#10073)
AskAlexSharov Apr 26, 2024
6e7efa2
Revert "Fix new_heads Events Emission on Block Forks" (#10081)
Giulio2002 Apr 26, 2024
382f881
AggregateAndProof put aggregated data into attestationsPool (#10079)
domiwei Apr 26, 2024
7ac8b10
downloader: docs on MMAP for data-files r/w and experiments with bufi…
AskAlexSharov Apr 27, 2024
d450357
polygon/p2p: Add blk/s and bytes/s to periodic log (#9976)
shohamc1 Apr 27, 2024
ab0f633
wrong ttl value initialization in expirable lru cache (#10090)
domiwei Apr 27, 2024
5d92302
Fetch and skip sync events (#10051)
mh0lt Apr 27, 2024
2241e11
EIP-2537 (BLS12-381): use gnark instead of kilic (#10082)
yperbasis Apr 27, 2024
00850e0
abi: fix abigen issue with make devtools (#10091)
taratorio Apr 27, 2024
b14b766
Caplin: Inclusion of `VoluntaryExits`, `AttesterSlashing`s, `Proposer…
Giulio2002 Apr 27, 2024
d7d0960
mdbx: Return err early in iter.Next() (#10078)
somnathb1 Apr 27, 2024
63578a8
make: mocks using mockgen (#10098)
taratorio Apr 28, 2024
4bc3bc6
mockgen: use typed mocks for compile time check (#10103)
taratorio Apr 28, 2024
255be13
make: add gen commands (#10106)
taratorio Apr 29, 2024
e697459
added print DBs table sizes (#10111)
dvovk Apr 29, 2024
3ad651e
nodedb: UpdateNode method to create 1 rwtx instead of 2 (#10109)
AskAlexSharov Apr 29, 2024
3b72b5a
Caplin: tweaks to make staking more stable. (#10097)
Giulio2002 Apr 29, 2024
a12a99c
mdbx: pre-open read pagesize from db (#10113)
AskAlexSharov Apr 29, 2024
83c95ba
RPC: Receipts LRU cache (#10112)
AskAlexSharov Apr 29, 2024
aed056f
use sonar for code coverage badge (#10107)
taratorio Apr 29, 2024
2b83da1
dvovk/limit mem usage (#10069)
dvovk Apr 29, 2024
06dfaea
chore: fix some function names (#10117)
luchenhan Apr 29, 2024
298e153
Revert "backward compatibility of .lock" and Backward compatibility b…
Giulio2002 Apr 29, 2024
0967c5e
dvovk/enable_dignostic (#10083)
dvovk Apr 29, 2024
287e4a2
Revert "mdbx: pre-open read pagesize from db" (#10125)
Giulio2002 Apr 29, 2024
714c259
Bor waypoint storage (#9793)
mh0lt Apr 29, 2024
b766820
Replace snaptype.AllTypes with local definitions (#10132)
mh0lt Apr 29, 2024
dee2191
Caplin: process new attesting indicies before block comes in to avoid…
Giulio2002 Apr 29, 2024
d8bf235
qa-tests: small improvements (#10127)
mriccobene Apr 30, 2024
7edc0b8
fix some flags parsing (#10134)
AskAlexSharov Apr 30, 2024
9e7e8c3
align deps of e35 and devel (#10136)
AskAlexSharov Apr 30, 2024
70dfadd
core/types: disable go:generate codecgen for receipts and logs (#10105)
taratorio Apr 30, 2024
01e4969
fix concurrent rw on map in operation_pool (#10140)
domiwei Apr 30, 2024
1558fc7
Refactored types to force runtime registrations to be type dependent …
mh0lt Apr 30, 2024
24a789b
protection from starting e2 git branch on e3 db (#10150)
AskAlexSharov May 1, 2024
8d21150
Set existing torrent webseeds after download (#10149)
mh0lt May 1, 2024
82262fe
eth, txpool: enforce 30gwei for gas related configs for polygon (#10158)
yperbasis May 1, 2024
697732d
make: fix gen issue with mockgen not found in PATH (#10162) (#10166)
taratorio May 2, 2024
9a010cd
abigen: fix duplicate struct definitions (#10157) (#10164)
taratorio May 2, 2024
4079f4e
dvovk/pprof fix (#10155) (#10178)
yperbasis May 2, 2024
bd1a458
Engine API: NewPayload fails with a "context canceled" error in Curre…
battlmonstr May 2, 2024
b59f04c
torrent v1.54.2-alpha -> v1.54.2-alpha-7 (release/2.60) (#10183)
mh0lt May 2, 2024
a5257bf
Unnecessary Logs in sentry removed (#10190)
yperbasis May 3, 2024
6648899
nil block during execution (#10193)
AskAlexSharov May 3, 2024
49e0171
qa-tests: updating test workflow on release/2.60 (#10196)
mriccobene May 4, 2024
88680ca
qa-tests: fix workflows for release 2.60 (#10217)
mriccobene May 6, 2024
a1e1338
Release: fix logs spam (#10211)
Giulio2002 May 6, 2024
948e781
Blocks snaps - see 0 indices after reopen (#10219)
yperbasis May 6, 2024
40d1327
torrent v1.54.2-alpha-7 -> v1.54.2-alpha-8 (release/2.60) (#10224)
mh0lt May 7, 2024
764706d
fixed start diag server (#10236)
dvovk May 7, 2024
7d41c27
params: version 2.60.0-rc1 (#10230)
yperbasis May 8, 2024
32f7775
downloader: --seedbox doesn't init snaptypes (#10245)
yperbasis May 8, 2024
23908e4
e2: bor-mainnet fix broken v1-054600-054700-borspans.seg (#10243)
AskAlexSharov May 9, 2024
620d425
e2: set dirty-space for chaindb to 512mb (#10269)
AskAlexSharov May 10, 2024
64f677a
Fix potential index out of bounds in decodeBlobVersionedHashes (#10294)
yperbasis May 13, 2024
e67eaaf
remove nils from p2p logs (#10303)
AskAlexSharov May 14, 2024
7883a4e
params: version 2.60.0 (#10330)
yperbasis May 14, 2024
ce8b757
fix Consensus specification tests CI (#10391) (#10396)
taratorio May 17, 2024
c2934dc
rpc/handler: do not append null to stream when json may be valid (#10…
taratorio May 18, 2024
6d4a614
Fixed Bor Log appearing on Ethereum Mainnet (#10405) (#10420)
taratorio May 20, 2024
7fced9f
fix gas price not right problem (#10456)
yperbasis May 24, 2024
c0be07d
eth_estimateGas: default feeCap to base fee (#10499)
yperbasis May 27, 2024
2e500bd
Add flag for bor waypoint types (#10501)
yperbasis May 27, 2024
b0df97f
try to fix 'method handler crashed' for debug_traceCall of #9090 (#10…
yperbasis May 27, 2024
7e1adef
diagnostics: cherry pick speedtest disable (#10509)
dvovk May 27, 2024
7b5653b
Enable DNS p2p discovery on holesky (#10507)
yperbasis May 27, 2024
d3af203
fix eth_call 'method handler crashed' error when tx has set maxFeePer…
yperbasis May 27, 2024
608a940
e2: remove overlapped files only after merge (#10487)
AskAlexSharov May 28, 2024
e9840ad
add flag checking for pruning waypoints (#10508)
yperbasis May 28, 2024
9501f93
p2p/sentry: sentry doesn't start with ErrNoHead (#10454) (#10523)
battlmonstr May 28, 2024
128f015
add lock to purgeMilestoneIDsList (#10524)
yperbasis May 28, 2024
f13762b
polygon/heimdall: fix checkpoint json marshalling (#10530)
taratorio May 28, 2024
b672fcb
Fix capacity for immediate appends (#10539)
yperbasis May 29, 2024
c33912c
core/vm: set tracer-observable value of a delegatecall to match paren…
AskAlexSharov May 29, 2024
7a39ee5
params: version 2.60.1 (#10555)
yperbasis May 30, 2024
efed89b
blobGasPrice should be marshalled as hex (#10571)
yperbasis May 31, 2024
c3fcd76
Caplin: Fixed reforwarding of Bls Execution changes (#10577)
yperbasis May 31, 2024
2e3d061
Caplin: Proper "Normalization" of length of ForkVersions to 8 hex cha…
yperbasis May 31, 2024
b29d137
Caplin: Update BlobSidecars Beacon API endpoint to the latest specs (…
yperbasis May 31, 2024
5bbcc7a
bor blocks retire: infinity loop fix (#10596)
AskAlexSharov Jun 3, 2024
9471c44
txpool: EIP-3860 should only apply to create transactions (#10609)
yperbasis Jun 4, 2024
d04796e
qa-tests: update 2.60.x test workflows from main (#10627)
mriccobene Jun 5, 2024
2222a11
Fix potential p2p shutdown hangup (#10626)
mh0lt Jun 10, 2024
c637e37
downloader: Number of DNS requests seem excessive (#5145) (#10739)
battlmonstr Jun 13, 2024
fabed0c
rpc: Fix incorrect txfeecap (#10643)
shohamc1 Jun 14, 2024
cac1c2d
downloader: don't block erigon startup if devs deploy new hashes (of …
AskAlexSharov Jun 17, 2024
1704658
skip hidden files when list files with given extension (#10654)
AskAlexSharov Jun 17, 2024
4fb2ef4
qa-tests: backport to release/2.60 improvements made to e3 github act…
mriccobene Jun 18, 2024
c19b034
e2: more snaps (all networks) (#10794)
AskAlexSharov Jun 20, 2024
847d786
e2: configurable hashers amount (#10785)
AskAlexSharov Jun 21, 2024
79d0182
Revert "e2: configurable hashers amount" (#10834)
AskAlexSharov Jun 21, 2024
2e590ce
diagnostics: move E3 changes to E2 (#10806)
dvovk Jun 21, 2024
e8c5632
Downloader: fix staticpeers flag (#10798)
dvovk Jun 21, 2024
478b5b2
Fix NewPayload Validation during header download (#10837)
yperbasis Jun 21, 2024
478d144
e2: mainnet blob 9.3M (#10842)
AskAlexSharov Jun 21, 2024
2fcf653
Fix gas fee calculation for debug calls (#10880)
yperbasis Jun 24, 2024
aa591fd
Revert "eth_estimateGas: default feeCap to base fee (#10499)" (#10904)
yperbasis Jun 25, 2024
2f41075
params: version 2.60.2 (#10905)
yperbasis Jun 25, 2024
ce300aa
Merge boba-develop into this branch
boyuan-chen Jul 1, 2024
b1bc29f
Fix conflicts
boyuan-chen Jul 1, 2024
4b098c3
Fix go.sum for erigon-lib
boyuan-chen Jul 1, 2024
1b42e46
Fix depositTx in receipt
boyuan-chen Jul 1, 2024
ecd5afa
Fix receipt
boyuan-chen Jul 1, 2024
c6feab8
Fix integration test
boyuan-chen Jul 2, 2024
2e9bf15
Merge branch 'boba-develop' into upstream-v2.60.2
boyuan-chen Jul 9, 2024
ac52e07
Fix go.sum
boyuan-chen Jul 9, 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
  •  
  •  
  •  
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
- name: Install dependencies on Linux
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential
Expand All @@ -57,9 +59,9 @@ jobs:

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

Expand All @@ -74,6 +76,14 @@ jobs:
- name: Test
run: make test

- name: SonarCloud
if: runner.os == 'Linux'
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
continue-on-error: true

tests-windows:
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
strategy:
Expand All @@ -89,7 +99,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'

- uses: actions/cache@v3
with:
Expand All @@ -115,6 +125,7 @@ jobs:
# 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' }}
runs-on: ubuntu-22.04

steps:
- uses: AutoModality/action-clean@v1
- uses: actions/checkout@v3
Expand Down
53 changes: 0 additions & 53 deletions .github/workflows/coverage.yml

This file was deleted.

106 changes: 68 additions & 38 deletions .github/workflows/qa-clean-exit-block-downloading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,27 @@ name: QA - Clean exit (block downloading)
on:
push:
branches:
- 'release/**'
- 'release/2.*'
pull_request:
branches:
- devel
- 'release/**'
- 'release/2.*'
types:
- ready_for_review
workflow_dispatch: # Run manually

jobs:
long-running-test:
runs-on: self-hosted
clean-exit-bd-test:
runs-on: [self-hosted, Erigon2]
env:
ERIGON_REFERENCE_DATA_DIR: /opt/erigon-release/datadir
ERIGON_REFERENCE_DATA_DIR: /opt/erigon-versions/reference-version/datadir
ERIGON_TESTBED_DATA_DIR: /opt/erigon-testbed/datadir
ERIGON_QA_PATH: /home/qarunner/erigon-qa
WORKING_TIME_SECONDS: 600
CHAIN: mainnet

steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

#- name: Install dependencies
# run: |
# sudo apt-get update
# sudo apt-get install -y build-essential make gcc

- name: Restore Erigon Testbed Data Directory
run: |
rsync -av --delete $ERIGON_REFERENCE_DATA_DIR/ $ERIGON_TESTBED_DATA_DIR/
uses: actions/checkout@v4

- name: Clean Erigon Build Directory
run: |
Expand All @@ -51,31 +34,78 @@ jobs:
make erigon
working-directory: ${{ github.workspace }}

#- name: Download Python Script for Logs Checking
# run: |
# curl -o check_erigon_exit.py 'https://gist.githubusercontent.com/mriccobene/8db4030a745de34d527f136f2caa104f/raw/3c1a860cb87d61075e78ce399e17f0ab157cacc6/check_erigon_exit.py'
- name: Pause the Erigon instance dedicated to db maintenance
run: |
python3 $ERIGON_QA_PATH/test_system/db-producer/pause_production.py || true

- name: Restore Erigon Testbed Data Directory
run: |
rsync -a --delete $ERIGON_REFERENCE_DATA_DIR/ $ERIGON_TESTBED_DATA_DIR/

- name: Run Erigon, send ctrl-c and check for clean exiting
id: test_step
run: |
set +e # Disable exit on error

# Run Erigon, send ctrl-c and check logs
python3 ${{ github.workspace }}/../../../../erigon-qa/test_system/qa-tests/clean-exit/run_and_check_clean_exit.py ${{ github.workspace }}/build/bin $ERIGON_TESTBED_DATA_DIR $WORKING_TIME_SECONDS
python3 $ERIGON_QA_PATH/test_system/qa-tests/clean-exit/run_and_check_clean_exit.py ${{ github.workspace }}/build/bin $ERIGON_TESTBED_DATA_DIR $WORKING_TIME_SECONDS Erigon2

# Capture monitoring script exit status
monitoring_exit_status=$?
test_exit_status=$?

# Save the subsection reached status
echo "::set-output name=test_executed::true"

# Clean up Erigon process if it's still running
if kill -0 $ERIGON_PID 2> /dev/null; then
echo "Terminating Erigon"
kill $ERIGON_PID
wait $ERIGON_PID
else
echo "Erigon has already terminated"
fi

# Check monitoring script exit status
if [ $monitoring_exit_status -eq 0 ]; then
echo "Monitoring completed successfully"
# Check test runner script exit status
if [ $test_exit_status -eq 0 ]; then
echo "Tests completed successfully"
echo "TEST_RESULT=success" >> "$GITHUB_OUTPUT"
else
echo "Error detected in Erigon logs or monitoring script exited unexpectedly"
exit 1
echo "Error detected during tests"
echo "TEST_RESULT=failure" >> "$GITHUB_OUTPUT"
fi

- name: Delete Erigon Testbed Data Directory
if: always()
run: |
rm -rf $ERIGON_TESTBED_DATA_DIR

- name: Resume the Erigon instance dedicated to db maintenance
run: |
python3 $ERIGON_QA_PATH/test_system/db-producer/resume_production.py || true

- name: Save test results
if: steps.test_step.outputs.test_executed == 'true'
env:
TEST_RESULT: ${{ steps.test_step.outputs.TEST_RESULT }}
run: |
db_version=$(python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/prod_info.py $ERIGON_REFERENCE_DATA_DIR/../production.ini production erigon_repo_commit)
if [ -z "$db_version" ]; then
db_version="no-version"
fi

python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --branch ${{ github.ref_name }} --test_name clean-exit-block-downloading --chain $CHAIN --runner ${{ runner.name }} --db_version $db_version --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result.json

- name: Upload test results
if: steps.test_step.outputs.test_executed == 'true'
uses: actions/upload-artifact@v4
with:
name: test-results
path: ${{ github.workspace }}/result.json

- name: Action for Success
if: steps.test_step.outputs.TEST_RESULT == 'success'
run: echo "::notice::Tests completed successfully"

- name: Action for Not Success
if: steps.test_step.outputs.TEST_RESULT != 'success'
run: |
echo "::error::Error detected during tests"
exit 1
Loading
Loading