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

Merged ledgerwatch/erigon v2.48.1 #51

Open
wants to merge 627 commits into
base: firehose-v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
627 commits
Select commit Hold shift + click to select a range
3216613
Proper caching of attesting indicies (#7499)
Giulio2002 May 11, 2023
9e2bf15
params: new sepolia bootnodes (#7502)
yperbasis May 12, 2023
233a06a
[caplin] bug fix in bitlist (#7505)
elee1766 May 13, 2023
9cf2b42
[Caplin] Block transition (#7485)
enriavil1 May 13, 2023
a709279
Allow ephemeral ports for p2p (#7503)
jyellick May 13, 2023
bc16917
[devnet tool] Side-quest: logging step 7 (#7506)
AlexeyAkhunov May 13, 2023
cda1444
[caplin] pkg refactor (#7507)
elee1766 May 13, 2023
6002436
remove "db" log line from (#7509)
AskAlexSharov May 14, 2023
dfadf49
Flat buffers for Attestations and Cached roots (#7512)
Giulio2002 May 14, 2023
7a4114d
cmd/evm: genesis db cleanup (#7517)
AskAlexSharov May 15, 2023
9ab48c0
e2: self-heal after accidental blocks delete (download blocks eventua…
AskAlexSharov May 15, 2023
b3aca15
e2: ReadAhead of blocks, senders accounts, code (#7501)
AskAlexSharov May 15, 2023
5d6b0ea
[devnet tool] separate logging (#7510)
AlexeyAkhunov May 15, 2023
4cbbe65
Resp/Req support for Deneb (#7519)
Giulio2002 May 15, 2023
90cb6be
[devnet tool] fixing port conflicts (#7520)
AlexeyAkhunov May 15, 2023
6f758fd
added chiado and gnosis support to caplin (#7523)
Giulio2002 May 15, 2023
3f9ae3e
[devnet tool] separate logging (#7525)
AlexeyAkhunov May 16, 2023
53b116c
Fixed finality sync back in gnosis (#7527)
Giulio2002 May 16, 2023
ea9712f
Schedule Shapella on Chiado (#7518)
yperbasis May 16, 2023
a2ad68d
downloader: speedup "--downloader.verify" mode (#7529)
AskAlexSharov May 17, 2023
e75ea78
[devnet tool] separate logging (#7526)
AlexeyAkhunov May 17, 2023
02f2329
Fix internalcl flag description (#7530)
tripplegreen May 17, 2023
c0096ee
StageLoopStep: if node synced - then run initialCycle in 1 tx also (f…
AskAlexSharov May 17, 2023
10848ad
Embedded CL specific support to mainnet (#7533)
Giulio2002 May 17, 2023
05597cb
[devnet tool] separare logging (#7531)
AlexeyAkhunov May 17, 2023
761524a
eth2 shuffle (#7522)
elee1766 May 17, 2023
2f362f3
go mod tidy
AskAlexSharov May 18, 2023
b8d65f5
go mod tidy
AskAlexSharov May 18, 2023
685dee8
Fix trace_filter regression due to gasBailout argument (#7539) (#7540)
AlexeyAkhunov May 18, 2023
b382f96
Introduce logger into etl (#7537)
AlexeyAkhunov May 18, 2023
b0117a7
[devnet] separate logging - p2p (#7547)
AlexeyAkhunov May 19, 2023
65efc92
eip-4844: vm and engine_api extensions, minor fixes/changes (#7514)
racytech May 19, 2023
7272c00
Update t8n_test.go (#7550)
AlexeyAkhunov May 19, 2023
c919283
[devnet] separate logging p2p (#7549)
AlexeyAkhunov May 19, 2023
2a872b4
[devnet] separare logging - headers download (#7551)
AlexeyAkhunov May 20, 2023
067f695
[devnet tool] Separate logging (#7553)
AlexeyAkhunov May 20, 2023
2c194e1
Args usage msg bug fix (#7554)
anshulforyou May 20, 2023
c408281
[devnet] separate logging (#7556)
AlexeyAkhunov May 20, 2023
cb04c20
[devnet] log devnet tool output into a file (#7557)
AlexeyAkhunov May 21, 2023
2865b85
move e2 snapshots management closer to e3: step 1 (#7543)
AskAlexSharov May 22, 2023
a8ec9eb
[devnet tool] Use logging instead of fmt.Printf (#7560)
AlexeyAkhunov May 22, 2023
4d0dee6
Introduce BlockWriter object (txsV3 step 0) (#7559)
AskAlexSharov May 22, 2023
18990ff
e2: reduce StageSyncStep interface size (#7561)
AskAlexSharov May 23, 2023
d279c43
eth/backend, cmd/erigon-el/backend: start mining immediately (#7424)
manav2401 May 23, 2023
63afe65
Use BlockReader in ForkValidator, CliqueAPI (#7562)
AskAlexSharov May 23, 2023
696ccb6
add constant to run tests on initialSync=true (#7563)
AskAlexSharov May 23, 2023
23bd147
blockReader: use in ethstat (#7565)
AskAlexSharov May 23, 2023
faf62a0
Caplin: Adding SSZ generics (#7542)
Giulio2002 May 23, 2023
319e99e
Skip gas limit checks for chains with gas limit contract (#7567)
yperbasis May 23, 2023
ad5974d
consensus/bor: use current producers for extra data validation (#7564)
manav2401 May 24, 2023
179b138
add blockReader to mining, blockchain_test (#7569)
AskAlexSharov May 24, 2023
cb0434b
block reader bodies test
AskAlexSharov May 24, 2023
2181b6a
Merge branch 'devel' of github.com:ledgerwatch/erigon into devel
AskAlexSharov May 24, 2023
31687be
blockReaders in tests, step4 (#7570)
AskAlexSharov May 24, 2023
0c399e5
blockReader tests, step5 (#7572)
AskAlexSharov May 24, 2023
a79033c
blockReader in tests, step6 (#7573)
AskAlexSharov May 24, 2023
946b0e8
Amend ShanghaiTime for Chiado (#7575)
yperbasis May 24, 2023
000dda6
blockReader in tests, step7 (#7574)
AskAlexSharov May 25, 2023
111db5f
blockReader in tests - step8 (#7578)
AskAlexSharov May 25, 2023
a47e49c
Fix fork ID test for Chiado (#7576)
yperbasis May 25, 2023
cfafa24
tests for blocks snapshots creation data producer (#7579)
AskAlexSharov May 25, 2023
eafb120
fix backend nil ptr (#7583)
AskAlexSharov May 26, 2023
279e1be
use blockReader as service-provider of RoSnapshots (#7584)
AskAlexSharov May 26, 2023
ead4569
torrent-related goroutine leack (#7545)
AskAlexSharov May 26, 2023
94ceb6f
nil ptr in test (#7586)
AskAlexSharov May 26, 2023
3b7c603
go mod tidy (#7585)
AskAlexSharov May 26, 2023
14653bb
Fix Gnosis rewards in trace_block and trace_filter (#7580)
yperbasis May 26, 2023
3ec7d9b
receipts: less allocs in DeriveFields, use blockReader, remove ReadRe…
AskAlexSharov May 27, 2023
3c2b99e
[caplin] incremental improvements to p2p layer (#7582)
elee1766 May 28, 2023
5554ff3
feature: support generate parse transaction input bytes codes in `abi…
fenghaojiang May 28, 2023
2d3b3c3
Caplin: Proper validator set (#7591)
Giulio2002 May 28, 2023
027d83b
Caplin: skip finalized error (#7595)
Giulio2002 May 28, 2023
1fb053f
Header downloader monitor for diagnostics system (#7590)
anshulforyou May 29, 2023
c042afb
cmd/evm: support batched statetest-mode (#7598)
holiman May 29, 2023
eb98a0a
PIP12: Implement time based StateSync confirmation delay (#7587)
manav2401 May 29, 2023
708ea92
[devnet tool] single request generator (#7600)
AlexeyAkhunov May 29, 2023
af83845
cheaper isCanonicalHash func, less lookups of blockHash by blockNum i…
AskAlexSharov May 31, 2023
3cba390
use BlockReader.CanonicalHash method instead of rawdb (#7604)
AskAlexSharov May 31, 2023
299c81e
move "makeBodiesCanonical" method to blockWriter (#7605)
AskAlexSharov May 31, 2023
0dc8e27
fix reset tx sequence value (#7606)
AskAlexSharov May 31, 2023
c0042d5
Added coverage checker for caplin packages (#7609)
Giulio2002 May 31, 2023
f5bd806
[devnet] Remove dependency on rpctest (#7608)
AlexeyAkhunov May 31, 2023
d66f9ce
[devnet] fix logging (#7611)
AlexeyAkhunov May 31, 2023
b359504
[sentry] initiate eth66 protocol under eth67 (#7612)
AlexeyAkhunov May 31, 2023
5a60ebe
blocks retire: fix baseID logic (#7614)
AskAlexSharov Jun 1, 2023
5c7da48
blockReader: fix blockNum check logic (#7615)
AskAlexSharov Jun 1, 2023
4ddd2c3
Downloader fix no race between .Download() and .Stats() (#7617)
AskAlexSharov Jun 1, 2023
d54f604
fix nil ptr in close() (#7618)
AskAlexSharov Jun 1, 2023
6c0b531
add "erigon snapshots diff" sub-command to find difference between 2 …
AskAlexSharov Jun 1, 2023
c6b12ed
stageLoop: unbound canRunCycleInOneTransaction logic from initialCycl…
AskAlexSharov Jun 1, 2023
d77f057
removed state_encoding package from caplin (#7621)
Giulio2002 Jun 1, 2023
94276de
Caplin: added tests (#7623)
enriavil1 Jun 1, 2023
8bc1fda
Caplin: mutable public key for validator for 0 copy (#7622)
Giulio2002 Jun 1, 2023
7c89afc
e3: add kvlist.push method (#7624)
AskAlexSharov Jun 2, 2023
2278bf5
e3: move kvlist to erigon-lib (#7625)
AskAlexSharov Jun 2, 2023
3ccc7da
e3: move kvlist to erigon-lib (#7626)
AskAlexSharov Jun 2, 2023
d56d867
e3: move kvlist to erigon-lib (#7627)
AskAlexSharov Jun 2, 2023
5fb31ae
e3: release some e4 parts (#7628)
AskAlexSharov Jun 2, 2023
b163d3a
e3: release some e4 parts (#7629)
AskAlexSharov Jun 2, 2023
695b8e5
e3: release e4 parts3 (#7630)
AskAlexSharov Jun 2, 2023
436656a
snapshots: DumpBodies - break dependency on body.BaseTxNum value in …
AskAlexSharov Jun 2, 2023
2c4f4d8
sepolia new snapshots (#7631)
AskAlexSharov Jun 2, 2023
6439bdd
txsv3: release small parts (#7632)
AskAlexSharov Jun 2, 2023
3750ee6
fix lint issue (#7633)
AskAlexSharov Jun 2, 2023
b2a90e0
Merge EngineGetPayloadWithBlobs into EngineGetPayload (#7637)
yperbasis Jun 2, 2023
5c1117d
Up version of diagnostics protocol (#7638)
AlexeyAkhunov Jun 2, 2023
6602c89
[Caplin] Fixed checkpoints on orphaned chains (#7613)
Giulio2002 Jun 2, 2023
91dd39a
Added support back for internal cl for testnets and gnosis (#7641)
Giulio2002 Jun 2, 2023
190bc9d
EIP-4844: add data_gas_used (#7639)
yperbasis Jun 2, 2023
d40317c
preparation for --txs.v3, step 2 (#7636)
AskAlexSharov Jun 3, 2023
6f54cc6
torrent lib version up (#7642)
AskAlexSharov Jun 3, 2023
ad72b71
prune speedup. stage_senders: don't re-calc existing senders (#7643)
AskAlexSharov Jun 3, 2023
63c9201
remove txsV3 cli flag (#7644)
AskAlexSharov Jun 3, 2023
157b6de
release small rename (#7647)
AskAlexSharov Jun 3, 2023
569c120
Bump version (#7645)
AlexeyAkhunov Jun 3, 2023
999c0ba
Caplin: Fixed bad block handling (#7649)
Giulio2002 Jun 3, 2023
e11c819
fixed deneb for devnet 6 (#7650)
Giulio2002 Jun 3, 2023
2162565
[caplin] record mode (#7651)
elee1766 Jun 4, 2023
c8e717c
rawdb methods to rw db schema version (#7653)
AskAlexSharov Jun 4, 2023
f70ceef
linter version up (#7654)
AskAlexSharov Jun 4, 2023
895e7dd
cleanup (#7655)
AskAlexSharov Jun 4, 2023
feea6b9
simplify chain config read by rpcdaemon (#7656)
AskAlexSharov Jun 4, 2023
415cf86
refactor to allow switchable consensus and multiple communicating nod…
mh0lt Jun 4, 2023
e45ed7d
Added record mode for Caplin (#7660)
Giulio2002 Jun 4, 2023
26f9c06
mainnet: more block snapshots (#7662)
AskAlexSharov Jun 5, 2023
f62b6fd
e3: release switch (#7663)
AskAlexSharov Jun 5, 2023
e14664d
Store Canonical/NonCanonical/Bad blocks/senders/txs in same tables. M…
AskAlexSharov Jun 5, 2023
3a8d5c4
improved freezer for Caplin (#7670)
Giulio2002 Jun 6, 2023
6c129e5
e3: agg generalize PutIdx method (#7671)
AskAlexSharov Jun 6, 2023
bf9f506
fix integration tests run (#7672)
AskAlexSharov Jun 6, 2023
d703c3c
e3: Fix integration tests, step 2 (#7673)
AskAlexSharov Jun 6, 2023
250ecfc
Fix integration tests run3 (#7674)
AskAlexSharov Jun 6, 2023
37a8450
Added non root logger to bor.ValidatorSet (#7668)
mh0lt Jun 6, 2023
5e682aa
correct data pruning (#7678)
Giulio2002 Jun 6, 2023
fa0cfcb
Remove the Rinkeby testnet (#7677)
yperbasis Jun 7, 2023
4a74ee2
EIP-4844: switch precompile input's z and y to big endian (#7680)
yperbasis Jun 7, 2023
07e2100
Added Regeression testing for Caplin (#7679)
Giulio2002 Jun 7, 2023
421ee91
Indore hardfork for polygon mumbai and fixes in bor consensus (#7681)
manav2401 Jun 8, 2023
1cb1c30
added a listener for beacon api and added get genesis (#7659)
enriavil1 Jun 8, 2023
8f8da14
Optimized THE CAPLIN a lil bit (#7687)
Giulio2002 Jun 8, 2023
7671f41
Remove excessive logging in bor (#7690)
AlexeyAkhunov Jun 8, 2023
afa4f53
e3: use deserializeV3 for history (#7691)
AskAlexSharov Jun 9, 2023
2c39570
e3: to produce stateChanges stream (#7692)
AskAlexSharov Jun 9, 2023
ddfe93b
e3: enable ci (#7694)
AskAlexSharov Jun 9, 2023
1546a79
lru lib version up (#7695)
AskAlexSharov Jun 9, 2023
06af87d
EIP-4844: Increase Blob Throughput (#7688)
yperbasis Jun 9, 2023
614769f
Prepare regression testings for kube (#7697)
Giulio2002 Jun 9, 2023
62b2375
7667 cli params vhost (#7669)
mh0lt Jun 9, 2023
2ea9eb5
[bor] Desambiguate the term checkpoint (#7698)
AlexeyAkhunov Jun 9, 2023
1e575ea
rpc service and stageloop logger updates (#7696)
mh0lt Jun 10, 2023
8841055
Forgot to configure flags (#7701)
Giulio2002 Jun 10, 2023
b7469d2
mdbx: tx.GetOne - avoid interface casting (#7703)
AskAlexSharov Jun 11, 2023
3b89ed8
e3: erigon_getBalanceChanges (#7704)
AskAlexSharov Jun 11, 2023
4766cd8
e2: avoid do RestoreCodeHash twice (#7706)
AskAlexSharov Jun 11, 2023
f9acbff
eth_sendRawTransaction: remove logging, because we have `--txpool.tra…
mh0lt Jun 11, 2023
afd8ea9
e3: move domains to tables.go (#7707)
AskAlexSharov Jun 11, 2023
eac9ead
[Caplin] added deneb into converting payload to grpc (#7708)
enriavil1 Jun 11, 2023
e380ee4
[Caplin] added configurations for beacon api (#7699)
enriavil1 Jun 11, 2023
4d35e77
[caplin] abstract transition (#7661)
elee1766 Jun 11, 2023
6300661
Added concurrent bls (#7709)
Giulio2002 Jun 11, 2023
c21d77a
Fix: typos (#7710)
omahs Jun 12, 2023
6c8b070
e3: add lost logger (#7711)
AskAlexSharov Jun 12, 2023
31be6f6
StagedSync: fix canRunCycleInOneTransaction logic (#7712)
AskAlexSharov Jun 12, 2023
5c0c9fd
consensus/bor: optimise get span, fixes in header validation (#7689)
manav2401 Jun 12, 2023
e99269e
added --log.dir.prefix flag (#7714)
mholt-dv Jun 12, 2023
a45f6bd
Updated indoreBlock (#7716)
0xKrishna Jun 12, 2023
cefbf18
Fixed grpcing of block (#7717)
Giulio2002 Jun 12, 2023
ae1b193
use 1 constant in tests to configure initialCycle variable (#7720)
AskAlexSharov Jun 13, 2023
6121f63
kv_mdbx: don't use defer for wg.Add(). not necessary and sometime it …
AskAlexSharov Jun 13, 2023
78d9e00
sys lib version up (#7722)
AskAlexSharov Jun 13, 2023
5ff8246
e4: release some tests (#7729)
AskAlexSharov Jun 14, 2023
f4d8bd8
Crypto lib up (#7730)
AskAlexSharov Jun 14, 2023
226763b
fix test (#7731)
AskAlexSharov Jun 14, 2023
8b312d5
eip-4844: desszing blobtx: initial commit (#7715)
racytech Jun 14, 2023
1b14785
ws unfreeze (#7724)
AskAlexSharov Jun 14, 2023
862d7b6
Move ChainID from CommonTx to DynamicFeeTransaction (#7732)
yperbasis Jun 14, 2023
2dd7df9
Fix lint issues (#7733)
yperbasis Jun 14, 2023
4a2a199
Fix integration tests after ChainID move (#7734)
yperbasis Jun 14, 2023
4f812ef
Better version of libp2p where losing peers bug fixed (#7726)
Giulio2002 Jun 14, 2023
f110102
Devnet scenarios (#7723)
mh0lt Jun 14, 2023
a588673
Use BitLenToByteLen from erigon-lib (#7735)
yperbasis Jun 14, 2023
e502377
Enforce blockReader interface (#7737)
AskAlexSharov Jun 15, 2023
252e57b
Base BlobTx on DynamicFeeTransaction (#7736)
yperbasis Jun 15, 2023
d3c3be9
e2: optimize tests speed (#7738)
AskAlexSharov Jun 15, 2023
a63b24b
up NAT STUN lib (#7750)
AskAlexSharov Jun 17, 2023
94d592d
disable ci tests on another servers (#7751)
AskAlexSharov Jun 17, 2023
eae2d9a
Disable ci tests on another servers: step 2 (#7752)
AskAlexSharov Jun 17, 2023
a77edd7
faster opening of snapshots and indices (#7757)
AskAlexSharov Jun 19, 2023
2adf258
e3: simplify unwind (#7758)
AskAlexSharov Jun 19, 2023
86035ca
e3: unwind simplify (#7759)
AskAlexSharov Jun 19, 2023
9e96de6
e3: fix test (#7760)
AskAlexSharov Jun 19, 2023
6755f7e
save
AskAlexSharov Jun 19, 2023
e28fcc0
Merge branch 'stable' into devel
AskAlexSharov Jun 19, 2023
5be6851
save
AskAlexSharov Jun 19, 2023
ec4281e
BlobTxWrapper RLP encode-decode and tests (#7742)
racytech Jun 19, 2023
7123114
Block Gas limit contract integration for Chiado (#7727)
somnathb1 Jun 19, 2023
932c2ac
fix for test (#7765)
awskii Jun 20, 2023
6815323
Update to latest erigon-lib (#7764)
AlexeyAkhunov Jun 20, 2023
880c939
e3: idx range method (#7767)
AskAlexSharov Jun 20, 2023
051cad0
Devnet diagnostics (#7762)
mh0lt Jun 20, 2023
3542298
[bor] Code simplifications (#7772)
AlexeyAkhunov Jun 20, 2023
7bad6d3
erigon_info metric (#7769)
AskAlexSharov Jun 21, 2023
951ebd2
Revert "Remove excessive logging in bor (#7690)" (#7777)
manav2401 Jun 21, 2023
141c4ae
More Bor mainnet snapshot files (#7783)
AlexeyAkhunov Jun 22, 2023
f8a5c8c
Fix DumpTxs (#7782)
AlexeyAkhunov Jun 22, 2023
9f5808b
Schedule Shapella for Gnosis Chain (#7784)
yperbasis Jun 22, 2023
ded166d
e3: release chain maker changes (#7787)
AskAlexSharov Jun 23, 2023
f8cb4d6
Fix subscription closing race (#7788)
AskAlexSharov Jun 23, 2023
1f9bec2
enable cli RPCGlobalTxFeeCapFlag (#7775)
sonicWhale Jun 23, 2023
32bc5c1
Fix withdrawalContractAddress for Gnosis Chain (#7789)
yperbasis Jun 23, 2023
108ca8a
e3: history - less iterators (#7790)
AskAlexSharov Jun 23, 2023
5dd6b77
Up grpc version (#7791)
AskAlexSharov Jun 23, 2023
a24eae8
EIP-4844: Handle data gas in txpool (#7779)
yperbasis Jun 23, 2023
fb94eee
TestState: don't share db instance (#7800)
AskAlexSharov Jun 26, 2023
1a1ca49
change --db.pagesize default to 8KB (#7798)
AskAlexSharov Jun 26, 2023
a2dd5da
[erigon-lib] EIP-4844: parse transactions when not wrapped with blobs…
yperbasis Jun 27, 2023
6f0a02a
[bor] Implement bor_getSnapshotProposerSequence RPC method (#7770)
manav2401 Jun 27, 2023
c9aa54f
Fix typo in db_walkthrough.MD (#7810)
eltociear Jun 28, 2023
e490630
Update indore HF block number for polygon mainnet (#7809)
manav2401 Jun 28, 2023
bcc2a4a
Cleaned up error handling in network and node start-up (#7811)
mh0lt Jun 28, 2023
0a1229b
Fixed for the devnet runner (#7808)
AlexeyAkhunov Jun 28, 2023
affef54
BlobTx un/marshal json (#7815)
racytech Jun 29, 2023
ecc1514
crypto: a few extra tests (#7795)
battlmonstr Jun 29, 2023
1f7de0e
Rename StageLoopStep to StageLoopIteration (#7820)
yperbasis Jun 29, 2023
e18db89
RPCTxFeeCap flag for rpc daemon (#7824)
sonicWhale Jun 30, 2023
83f5917
Bump version number (#7830)
AlexeyAkhunov Jun 30, 2023
084acc1
Stable modifications
AlexeyAkhunov Jun 30, 2023
4c461ac
Fix Gnosis sync from scratch (#7890)
yperbasis Jul 14, 2023
674b77f
Bump patch version in stable to v2.48.1 (#7895)
AlexeyAkhunov Jul 14, 2023
52f021c
Merge tag 'v2.48.1' of github.com:ledgerwatch/erigon into latest_merge
ohmpatel1997 Aug 28, 2023
9b69cbd
fixed compilation errors
ohmpatel1997 Aug 28, 2023
8c1cd01
fixed []byte type
ohmpatel1997 Aug 28, 2023
d9bc6ce
fixed compilation issues
ohmpatel1997 Aug 28, 2023
416ccb8
fixed compilation issue
ohmpatel1997 Aug 28, 2023
9a0bf9b
fixed unit tests compilation errors
ohmpatel1997 Aug 28, 2023
6369db5
lintfix
dhyaniarun1993 Aug 29, 2023
637b01b
added genesis block logging
ohmpatel1997 Aug 29, 2023
5976279
Merge branch 'changes/v2.48.1' of github.com:graphprotocol/erigon int…
ohmpatel1997 Aug 29, 2023
f70b9cf
added BlobTxType in firehoseKnownTxTypes
ohmpatel1997 Aug 29, 2023
010043d
added BlobTxType in firehose methods
ohmpatel1997 Aug 29, 2023
ab7f27d
refactor the firehose initialization
ohmpatel1997 Aug 29, 2023
141936d
removed the exitblock from firehose context and replaced with the can…
ohmpatel1997 Aug 29, 2023
2d6e66b
added the logging for printing block
ohmpatel1997 Aug 29, 2023
cb6622d
fixed the logger printingh
ohmpatel1997 Aug 29, 2023
50053c7
added debug logs
ohmpatel1997 Aug 29, 2023
143db27
FinalizedHeader getter added in chain reader impl
dhyaniarun1993 Aug 30, 2023
b1571f7
firehose transaction log fix
dhyaniarun1993 Aug 30, 2023
aafd511
support for blob transaction added
dhyaniarun1993 Aug 30, 2023
1004ddb
bor merge bugfix
dhyaniarun1993 Aug 30, 2023
fff8069
error handling
dhyaniarun1993 Sep 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 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://discord.gg/hQ2dxbNZ).
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).
15 changes: 15 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check

on:
push:
branches:
- devel
workflow_dispatch:

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- run: echo ${GITHUB_REF}
- run: echo ${GITHUB_REF#refs/tags/}
- run: echo ${GITHUB_REF##*/}
56 changes: 17 additions & 39 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,15 @@ jobs:
os: [ ubuntu-20.04, macos-11 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}

steps:
steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive --force
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: '1.19'
- name: Install dependencies on Linux
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential

- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/Library/Caches/go-build
~/go/pkg/mod
key: go-${{ matrix.os }}-${{ hashFiles('**/go.sum') }}
restore-keys: go-${{ matrix.os }}-

- name: Build
run: make all

Expand All @@ -66,28 +56,24 @@ jobs:
if: runner.os == 'Linux'
uses: golangci/golangci-lint-action@v3
with:
version: v1.50
version: v1.52
skip-pkg-cache: true

- name: Test
run: make test

# - name: Test HistoryV3
# run: make test3

tests-windows:
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
strategy:
matrix:
os: [ windows-2022 ]
runs-on: ${{ matrix.os }}

steps:
steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive --force
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: '1.19'

- uses: actions/cache@v3
with:
Expand All @@ -100,14 +86,6 @@ jobs:
choco upgrade mingw -y --no-progress --version 11.2.0.07112021
choco install cmake -y --no-progress --version 3.23.1

- uses: actions/cache@v3
with:
path: |
~\AppData\Local\go-build
~\go\pkg\mod
key: go-${{ matrix.os }}-${{ hashFiles('**/go.sum') }}
restore-keys: go-${{ matrix.os }}-

- name: Build
run: .\wmake.ps1 all

Expand All @@ -130,13 +108,13 @@ jobs:
# check with root permissions, should be cached from previous build
- name: sudo make docker
run: sudo DOCKER_TAG=thorax/erigon:ci-$GITHUB_SHA DOCKER_UID=$(id -u) DOCKER_GID=$(id -g) make docker
automated-tests:
runs-on:
ubuntu-20.04
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v3
- name: run automated testing
run: BUILD_ERIGON=1 ./tests/automated-testing/run.sh

# automated-tests:
# runs-on:
# ubuntu-20.04
# if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
# steps:
# - uses: actions/checkout@v3
#
# - name: run automated testing
# run: BUILD_ERIGON=1 ./tests/automated-testing/run.sh
6 changes: 2 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive --force

- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: '1.19'

- name: install dependencies on Linux
if: runner.os == 'Linux'
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/docker-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Docker tags

on:
push:
tags:
- 'y*.*.*'
workflow_dispatch:

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

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

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

- run: |
make release-dry-run
docker images
# docker image push --all-tags thorax/erigon
# docker image push --all-tags ghcr.io/ledgerwatch/erigon
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${GITHUB_REF#refs/tags/}
DOCKER_USERNAME: ${{ secrets.DOCKERHUB }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
21 changes: 21 additions & 0 deletions .github/workflows/download-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Trigger After Release

on:
workflow_run:
workflows: ["release"]
types:
- completed

jobs:
after_release:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Publish downloads
run: |
cd cmd/release
docker buildx build --push --platform linux/amd64 --build-arg GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" -t thorax/download:latest .
26 changes: 18 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,28 @@ on:
- 'v*.*.*'
# to be used by fork patch-releases ^^
- 'v*.*.*-*'
workflow_dispatch:

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@master
- name: dockerhub-login
uses: docker/login-action@v2
with:
go-version: 1.18.x
username: ${{ secrets.DOCKERHUB }}
password: ${{ secrets.DOCKERHUB_KEY }}
- name: ghcr-login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Prepare
id: prepare
Expand All @@ -42,16 +50,18 @@ jobs:
name: ".docker-creds"
json: ${{ secrets.DOCKER_CREDENTIAL }}

- run: echo ${{ steps.prepare.outputs.tag_name }}

- name: Run GoReleaser
run: |
make release
docker images
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.prepare.outputs.tag_name }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

DOCKER_USERNAME: ${{ secrets.DOCKERHUB }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_KEY }}
- name: Publish downloads
run: |
cd cmd/release
docker buildx build --push --platform linux/amd64 --build-arg GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" -t thorax/download:latest .
docker buildx build --push --platform linux/amd64 --build-arg GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" -t thorax/download:latest .
25 changes: 4 additions & 21 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive --force
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: '1.19'
- name: Install dependencies on Linux
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential

- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/Library/Caches/go-build
~/go/pkg/mod
key: go-${{ matrix.os }}-${{ hashFiles('**/go.sum') }}
restore-keys: go-${{ matrix.os }}-

- name: test-integration
run: make test-integration

Expand All @@ -42,9 +33,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive --force
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: '1.19'

- uses: actions/cache@v3
with:
Expand All @@ -57,13 +48,5 @@ jobs:
choco upgrade mingw -y --no-progress --version 11.2.0.07112021
choco install cmake -y --no-progress --version 3.23.1

- uses: actions/cache@v3
with:
path: |
~\AppData\Local\go-build
~\go\pkg\mod
key: go-${{ matrix.os }}-${{ hashFiles('**/go.sum') }}
restore-keys: go-${{ matrix.os }}-

- name: test-integration
run: .\wmake.ps1 test-integration
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,8 @@ docker-compose.*.yml
coverage.out

dist
__debug_bin
__debug_bin

*.log

caplin-recordings
37 changes: 25 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,35 @@ run:
deadline: 10m

linters:
disable-all: true
presets:
- bugs
- error
- unused
- performance
disable:
- exhaustive
- musttag
- contextcheck
- wrapcheck
- goerr113
- unparam
- makezero #TODO: enable me
- noctx #TODO: enable me
- nilerr #TODO: enable me
- errorlint #TODO: enable me
- errchkjson #TODO: enable me
- unused #TODO: enable me
- gocheckcompilerdirectives
enable:
- unconvert
# - predeclared #TODO: enable me
# - thelper #TODO: enable me
# - wastedassign
- gofmt
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
# - structcheck # 1.18
# - unused # 1.18
- gocritic
- bodyclose
- gosec
# - revive
# - forcetypeassert
- prealloc
- unconvert
# - stylecheck

linters-settings:
gocritic:
Expand Down
Loading
Loading