Commit Graph

20448 Commits

Author SHA1 Message Date
racytech
fa4cf492d4
Revert "remove extra data from holesky genesis (#8207)" (#8217)
This reverts commit 438dd6bdb1. Broke CI.
Reverted. Will make another PR.
2023-09-16 20:54:53 +06:00
a
c44188871b
Update readme ports (#8205) 2023-09-15 18:27:13 +02:00
racytech
438dd6bdb1
remove extra data from holesky genesis (#8207) 2023-09-15 22:00:56 +06:00
Alex Sharov
eb747c042a
Downloader: add tests to protect from re-downloading (#8191) 2023-09-15 13:46:59 +07:00
Alex Sharov
47c5089a88
Downloader: add tests to protect from re-downloading (#1126) 2023-09-15 06:46:50 +00:00
Giulio rebuffo
c552f993ac
Removed Partial blocks and reduced pruneDepth to 1000 (#8198) 2023-09-14 22:14:05 +02:00
Giulio rebuffo
1f77fee04a
Fixed pending block response (#8200) 2023-09-14 22:13:41 +02:00
Alex Sharov
9c47978472
Revert "add eventlog index when using callTracer withLog" (#8196)
Reverts ledgerwatch/erigon#8195
2023-09-14 17:13:47 +07:00
David
d20de9508e
add eventlog index when using callTracer withLog (#8195)
When we call the debug_traceXXX API provided by Erigon, the withLog
option in tracerConfig is very helpful.

However, currently, the tracer cannot guarantee that the order of logs
output is consistent with the event logs returned in the transaction
receipt. This may make it difficult to use the output of the APIs. If
you need to access event logs in order, it is recommended to use the
event logs returned in the transaction receipt.

Here is an example to illustrate the reason why the order of callTracer
logs and receipt eventlogs can be inconsistent:

In a call trace tree, if a call has multiple logs and this call has
multiple child calls, and logs are also output in the child calls, the
logs of the child calls may be output between the logs of the parent
call in receipt.

I add an index field of log to identify log index of the logs in tracer
result, and it helps me a lot.
2023-09-14 16:36:49 +07:00
Alex Sharov
7132de98e0
Update README.md (#8194) 2023-09-14 15:13:39 +07:00
Mark Holt
b959b6c47c
Group metrics by type and fix missed label stripping (#8186)
This fixes issue https://github.com/ledgerwatch/erigon/issues/8181
2023-09-14 08:28:57 +01:00
alex.sharov
6f503165cd Revert "reduce amount of index workers (#8192)"
This reverts commit e9a8e669e6.
2023-09-14 12:25:01 +07:00
Alex Sharov
e9a8e669e6
reduce amount of index workers (#8192)
https://github.com/ledgerwatch/erigon/issues/8189
2023-09-14 12:21:56 +07:00
Giulio rebuffo
2f8687fe08
Smart SQL transactions (#8185) 2023-09-14 02:56:29 +02:00
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