Commit Graph

18593 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
alex.sharov
6c1cf0a9b0 save 2023-09-10 15:49:13 +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
Giulio rebuffo
6c22b77451
Added /config route to the beacon api (#8168) 2023-09-09 15:33:23 +02: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
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
Mark Holt
8a74df8000
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-07 17:48:01 +01:00
Somnath Banerjee
a9c3c90347
Fix pre cancun conditions (#8152) 2023-09-07 22:15:26 +05:30
Mark Holt
034ef63818 Strip labels when writing metric metadata (#8149)
This is a fix for 

```cache_total{target="acc_read"} counter it's invalid syntax of metric type. prometheus parsing error```

which does not remove the whole metadata tag
2023-09-07 16:25:25 +02:00
Mark Holt
077266606c
Strip labels when writing metric metadata (#8149)
This is a fix for 

```cache_total{target="acc_read"} counter it's invalid syntax of metric type. prometheus parsing error```

which does not remove the whole metadata tag
2023-09-07 16:23:13 +02:00
Giulio rebuffo
22bd173ab3
Updating Libs (#8147)
* BLS
* Sqlite
2023-09-06 23:20:26 +02:00
Somnath Banerjee
86cec41426
Update lib (#8146) 2023-09-06 22:29:19 +05:30