Commit Graph

20184 Commits

Author SHA1 Message Date
Mark Holt
33d8c08c1c
Get vote on hash (#8172)
This is the initial merge for polygon milestones it implements an rpc
call used by heimdall but does not directly impact any chain processing
2023-09-13 11:49:49 +01:00
Alex Sharov
93fbda14a5
downloader: support --chain parameter (#8184) 2023-09-13 15:21:43 +07:00
Alex Sharov
b157b162f7
downloader: support --chain parameter (#1124) 2023-09-13 08:21:38 +00:00
Alex Sharov
3813a5ea10
downloader: better logging (#8183) 2023-09-13 13:42:24 +07:00
Alex Sharov
2158b4916d
Downloader: correct logging when create .torrent files (#8182) 2023-09-13 11:49:45 +07:00
Alex Sharov
810c4022f9
Downloader: correct logging when create .torrent files (#1123) 2023-09-13 04:49:42 +00:00
Alex Sharov
abff510ea7
evm: stack.dup() optimize (#8178) 2023-09-12 13:18:23 +07:00
Andrew Ashikhmin
d025a8b391
Restore version to 2.50.0-dev (#8177) 2023-09-12 08:02:57 +02:00
Alex Sharov
3cea1b9b9e
torrent: add --webseeds cli arg (#8176) 2023-09-12 12:18:47 +07:00
Alex Sharov
de8f783eeb
torrent: add --webseeds cli arg (#1122) 2023-09-12 05:18:39 +00:00
alex.sharov
13f782cef7 TxLookup: don't fail if body not found 2023-09-12 11:02:28 +07:00
alex.sharov
cc343ceda2 save 2023-09-12 10:33:58 +07:00
alex.sharov
babf8ef89b save 2023-09-12 09:09:14 +07:00
yperbasis
205eeda01f Bump patch version 2023-09-11 16:29:08 +02:00
Giulio rebuffo
87a032f09c Caplin: Improved logging (#8169) 2023-09-11 16:25:13 +02:00
ledgerwatch
eb41a1d77c Fix heimdall incorrect sync data bug (#8174) 2023-09-11 16:07:32 +02:00
ledgerwatch
dd3e628d80
Fix heimdall incorrect sync data bug (#8174) 2023-09-11 12:17:41 +01:00
alex.sharov
787e3a0f05 merge stable to devel 2023-09-11 09:40:34 +07:00
alex.sharov
a177861434 Merge branch 'stable' 2023-09-11 09:39:14 +07:00
Somnath Banerjee
a699f64761
Txpool upgrades for EIP-4844 Blob Transactions (#8004)
See https://github.com/ledgerwatch/erigon-lib/pull/1075
2023-09-11 09:38:58 +07:00
alex.sharov
008d968519 add go.work.sum to .gitignore 2023-09-11 09:36:39 +07:00
alex.sharov
0db97947a4 add go.work.sum to .gitignore 2023-09-11 09:36:38 +07:00
maohuazhu
34c0df8bdd
config: fix CreateConsensusEngineBareBones (#8154)
Fix ``CreateConsensusEngineBareBones`` for bor and aura. Current codes
will pass a ``**chain.BorConfig`` or ``**chain.AuraConfig to``
``CreateConsensusEngine`` and cause a panic

Co-authored-by: Maohua Zhu <zhumaohua@cobo.com>
2023-09-11 09:21:18 +07:00
Alex Sharov
1283879e13
torrent lib: fix requests orering bug (#1121) 2023-09-11 09:20:37 +07:00
Alex Sharov
412b0e9ec5
torrent lib: fix requests orering bug (#8173) 2023-09-11 09:20:34 +07:00
Giulio rebuffo
346b278a3b
Caplin: Improved logging (#8169) 2023-09-10 22:10:21 +02:00
Mark Holt
18ee8c57f8
Remove copy & clone not needed after removal of atomics (#1120)
I added these methods to fix an erroneous copy of a struct with atomics,
now these have been remove these methods are not necessary.
2023-09-10 17:09:33 +00:00
Somnath Banerjee
9b4a1c6ba8
Fix build (#1119)
Seems like an parallel edits caused build to fail @mh0lt
2023-09-10 16:56:28 +00:00
Somnath Banerjee
7c471800a0
Update interfaces version (#1118) 2023-09-10 10:52:00 +00:00
Somnath Banerjee
adef971995
Txpool upgrades for EIP-4844 Blob Transactions (#1075)
EIP-4844 proposed the new (type-3) Blob Transactions which are expensive
(because blobs are big etc.). The tx-pool should be tightened to
alleviate spam and dos attacks by way of these new transactions.

### Changes
**Keep blob txs cached**
During new block, don't delete mined blobTxs, instead cache it till they
are finalized. This is to avoid fetching them again for unwind. During
unwind, if it's a previously seen blobTxn, try to fetch it from memory.

**Pool config**
BlobSlots: Similar to AccountSlots - limits how many blobs a single
account is allowed to have until it's marked as spamming.
Blob txn priceBump: It's an added field in pool config (with a flag).
Defaults to 100%, since blob txs of equal fee are costlier to
process/execute

---------

Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2023-09-10 10:23:46 +00:00
Andrew Ashikhmin
0ebc5fe24e
Don't mark block as bad if execution was cancelled (#8161)
A potential small fix that I made while looking at the Polygon bad
header issue (don't think it's the root cause though).
2023-09-10 11:25:02 +02:00
Mark Holt
7f9f12acab
Added BorFinality to kv table definitions to support polygon milestones (#1116) 2023-09-10 08:49:51 +00:00
alex.sharov
6c1cf0a9b0 save 2023-09-10 15:49:13 +07:00
alex.sharov
0d0bcd0071 Merge branch 'stable' 2023-09-10 15:48:07 +07:00
Alex Sharov
2318138c6c
Downloader: don't fail when see unusual file, skip it (backward/forward compatibility) (#8170) 2023-09-10 15:46:30 +07:00
Alex Sharov
3cee4ac5c8
Downloader: don't fail when see unusual file, skip it (backward/forward compatibility) (#1117) 2023-09-10 15:46:27 +07:00
Giulio rebuffo
6c22b77451
Added /config route to the beacon api (#8168) 2023-09-09 15:33:23 +02:00
alex.sharov
fe2e33ebef Merge branch 'stable' 2023-09-09 19:12:07 +07:00
alex.sharov
fd242ae8dd fix truncate blocks logs 2023-09-09 17:32:45 +07:00
alex.sharov
b72dd9bcbd save 2023-09-09 17:25:42 +07:00
Alex Sharov
d3ab41034d
more sepolia snapshots (#8165) 2023-09-09 17:22:44 +07:00
alex.sharov
66c94d9760 retire snapshots - nil ptr fix 2023-09-09 08:33:42 +07:00
Giulio rebuffo
5951db2e22
Added /blocks/{block_id}/root api method (#8164) 2023-09-09 00:33:24 +02:00
Giulio rebuffo
b92f6d9814
Finished jsonification of solid package (#8163) 2023-09-08 23:02:34 +02:00
Giulio rebuffo
3ca4d8d6a3
Added Bytes64 (#1115) 2023-09-08 20:40:35 +00:00
Giulio rebuffo
4733f7fb52
Added json tags to beacon block (#8162) 2023-09-08 22:26:02 +02:00
Mark Holt
35c98cdce9 Added write of vm default set to metrics (#8151)
Metrics handler was missing erigon-lib metrics - which where added to
the VM default set

This fixes that whilst avoiding duplicates from erigon registrations
2023-09-08 15:28:25 +02:00
alex.sharov
97255efdb4 merge stable 2023-09-08 19:26:14 +07:00
Alex Sharov
5d3e294f3c
remove small snapshots from polygons .toml (#8158) 2023-09-08 19:09:31 +07:00
Alex Sharov
93f8a0602d
grpc v1.58 (#8157) 2023-09-08 12:32:54 +07:00