alex.sharov
6e57f3ef92
e3: less conlicts
2023-04-10 09:38:08 +07:00
Alex Sharov
895e61d1ab
e3: merge out chan+heap to one class ( #7287 )
2023-04-10 02:33:20 +00:00
Reinhard Schu
cbe92dc6a4
Update README.md ( #7284 )
...
Update description of stages
2023-04-10 01:46:10 +00:00
Giulio rebuffo
c1cf58ef93
Added forkchoice rule ( #7281 )
...
Added fork choice rule to Erigon-CL
2023-04-08 01:01:10 +00:00
ledgerwatch
9690228ede
[Diagnostics] Simplify logging settings, introduce correct log rotation with lumberjack ( #7273 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-04-07 21:08:44 +00:00
Alex Sharov
e26c607922
e3: combine input tasks channel+heap to class PriorityQueueWithRetry and add docs ( #7275 )
2023-04-07 06:43:05 +00:00
Alex Sharov
9b5d7357dd
e3: remove sync.Cond and make ownership of first queue clearer (producer will close it). ( #7268 )
...
Separate:
- new tasks coming by channel with limited capacity (touching the limit
will block - like sync.Cond.Wait() does, but composable). as a result -
don't need track queue size (it will not increase conflict-rate).
- re-exec tasks are going to priority-queue (which is also higher
priority than 1-st `chan`).
2023-04-06 09:03:54 +00:00
alex.sharov
962ab2a767
e3: deadlock fix - handle close chanel well
2023-04-05 11:50:58 +07:00
Alex Sharov
64e7e788b5
e3: print background indexing logs in e2 style (summary of all files progress in 1 line) ( #7256 )
2023-04-05 04:49:02 +00:00
Alex Sharov
a42d362cbd
move aura epoch data from chainDB to auraDB. remove epochReader
parameter from consensus interface ( #7250 )
2023-04-04 03:30:07 +00:00
Alex Sharov
625b0c5b15
take in account memlimit of cgroups ( #7204 )
...
for cgroups v2 support see:
https://github.com/shirou/gopsutil/issues/1416
2023-04-04 03:29:56 +00:00
ledgerwatch
7258a2b872
Remove BSC support in Erigon (step 1) ( #7246 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-04-03 14:46:21 +00:00
racytech
d67087f7fd
eip-4844: ApplyTransaction now expects excessDataGas ( #7233 )
...
Tiny addition to ApplyTransaction. Now it expects excessDataGas param so
the BlockContext can be created with it
2023-04-03 14:30:28 +00:00
Alex Sharov
65fcec8d85
e3: replace sync.Cond to fix deadlock ( #7243 )
2023-04-03 11:33:43 +00:00
Alex Sharov
06da707d58
e3: add metric for repeat count ( #7239 )
2023-04-03 04:34:45 +00:00
Alex Sharov
ef017cbdf0
Revert "to fix txpool startup race ( #7165 )" ( #7227 )
...
This reverts commit 36cce22d81
.
2023-03-31 02:54:20 +00:00
racytech
04b57904b0
eip-4844: excessDataGas param added to block execution functions ( #7217 )
...
Small addition to block execution functions. Now they expect
excessDataGas param so the BlockContext can be created with it.
2023-03-30 20:42:43 +00:00
alex.sharov
331f3ed871
e3: deadlock fix
2023-03-30 09:06:40 +07:00
Alex Sharov
592ec1ee0d
e4: step 1 to run tests ( #7209 )
2023-03-29 14:01:27 +00:00
Alex Sharov
f541f616e6
e3: one more reconst deadlock fix ( #7207 )
2023-03-29 07:32:31 +00:00
Alex Sharov
417a437584
Break dependency of ethcfg
package to core
/consensus
/etc... move genesis struct to 'types' package ( #7206 )
2023-03-29 07:27:06 +00:00
racytech
975e38a800
eip-4844: NewEVMBlockContext now expects excessDataGas ( #7203 )
...
Small change in core.NewEVMBlockContext and now it expects
excessDataGas. This will be used in state transition to compute data fee
for eip-4844 data blobs. The logic that computes it will be added in the
next PRs.
2023-03-29 06:39:36 +00:00
alex.sharov
3ce1b9b5ce
e4: add tests flag
2023-03-29 11:55:45 +07:00
alex.sharov
afe0e385d2
e4: add flag in tests
2023-03-29 11:51:05 +07:00
alex.sharov
340cf1b3e3
e3: one more reconst deadlock fix
2023-03-28 10:57:12 +07:00
Alex Sharov
be860e38d3
e3: recon deadlock fix ( #7186 )
2023-03-27 03:15:54 +00:00
Alex Sharov
cff73b8aec
add constant kv.Unlim=-1 ( #7183 )
2023-03-26 03:18:04 +00:00
Alex Sharov
201572c6f5
enable more linters #954 ( #7179 )
2023-03-25 05:13:27 +00:00
alex.sharov
5445058190
DomainRange
2023-03-25 11:46:05 +07:00
Alex Sharov
f4fb329c55
e3: remove some iterator ( #7174 )
2023-03-24 08:36:52 +00:00
Alex Sharov
36cce22d81
to fix txpool startup race ( #7165 )
...
```
==================
WARNING: DATA RACE
Write at 0x00c0005dc570 by goroutine 273633:
github.com/ledgerwatch/erigon/turbo/shards.(*Accumulator).Reset()
github.com/ledgerwatch/erigon/turbo/shards/state_change_accumulator.go:32 +0x5ec
github.com/ledgerwatch/erigon/turbo/stages.StageLoopStep()
github.com/ledgerwatch/erigon/turbo/stages/stageloop.go:163 +0x3bd
github.com/ledgerwatch/erigon/turbo/stages.StageLoop()
github.com/ledgerwatch/erigon/turbo/stages/stageloop.go:94 +0x197
github.com/ledgerwatch/erigon/eth.(*Ethereum).Start.func1()
github.com/ledgerwatch/erigon/eth/backend.go:1058 +0x10b
Previous write at 0x00c0005dc570 by goroutine 273468:
github.com/ledgerwatch/erigon/turbo/shards.(*Accumulator).Reset()
github.com/ledgerwatch/erigon/turbo/shards/state_change_accumulator.go:32 +0x2ef
github.com/ledgerwatch/erigon/turbo/shards.(*Accumulator).SendAndReset()
github.com/ledgerwatch/erigon/turbo/shards/state_change_accumulator.go:41 +0x228
github.com/ledgerwatch/erigon/eth.New.func8()
github.com/ledgerwatch/erigon/eth/backend.go:620 +0x80e
```
2023-03-23 05:42:05 +00:00
Alex Sharov
9001f668a7
go 1.19 atomics ( #7164 )
2023-03-23 05:11:28 +00:00
Jason Yellick
a09541c82c
Add eth_getProof support for historical blocks ( #7115 )
...
This PR starts with a few small commits of code cleanup. Reviewed
separately they should hopefully obviously be functionally no-ops. I'm
happy to strip these out and submit them separately if desired.
The final commit is to add support for older blocks as a parameter to
eth_getProof. In order to compute proofs, the function leverages the
staged sync unwinding code to bring the hashed state table back to its
historic state, as well as to build a list of trie nodes which need to
be invalidated/re-computed in the trie computation. Because these
operations could be expensive for very old blocks, it limits the
distance proofs are allowed from the head. It also adds some additional
checks for correctness, as well as tests which verify the
implementation.
This was discussed a bit on Discord in the db-format topic.
---------
Co-authored-by: Jason Yellick <jason@enya.ai>
2023-03-23 03:22:33 +00:00
alex.sharov
ebfc2344ca
e3: close context
2023-03-22 15:11:08 +07:00
alex.sharov
f69f7095bb
e3: exec to use half of CPU's by default
2023-03-22 10:17:03 +07:00
Andrew Ashikhmin
4087510c2e
Total difficulty can be huge on Gnosis ( #7149 )
...
This fixes the following issue observed on gnosis_withdrawals_devnet_2:
```
[DBUG] [03-21|09:24:15.060] Handling incoming message stream=RecvMessage err="newBlock66: too large block TD: bitlen 144"
```
2023-03-21 09:38:06 +00:00
Giulio rebuffo
fc10aef874
removed database functionality from lightclient ( #7135 )
2023-03-18 20:27:37 +00:00
Alex Sharov
60fb9c12e6
e3: don't loose nil-value in reconstitution ( #7117 )
2023-03-16 03:27:09 +00:00
Alex Sharov
157a380be7
e3: history no auto-increment ( #7097 )
2023-03-15 08:03:57 +00:00
Alex Sharov
f432cde16b
e3: reconst: run workers in errgroup ( #7071 )
2023-03-13 04:04:49 +00:00
Alex Sharov
a44e0afbd6
Downloader main loop wait on close ( #7082 )
2023-03-13 02:12:30 +00:00
Andrew Ashikhmin
3270720cb7
Remove ETC-specific DAOForkSupport=false functionality ( #7075 )
2023-03-10 12:10:11 +00:00
Andrew Ashikhmin
2212e21192
Remove archaic eip150Hash functionality ( #7074 )
2023-03-10 10:55:59 +00:00
alex.sharov
8189fdd587
cleanup
2023-03-10 12:20:50 +07:00
Alex Sharov
5b3ba433eb
e3: aggressive pruning ( #7070 )
2023-03-10 04:31:44 +00:00
Alex Sharov
d4e25daf22
etl: distinct empty values from nil ( #7039 )
...
Reverts ledgerwatch/erigon#7038
2023-03-07 04:19:00 +00:00
Alex Sharov
7206e482da
Revert "etl: distinct empty values from nil" ( #7038 )
...
Reverts ledgerwatch/erigon#6934
2023-03-07 03:22:23 +00:00
Alex Sharov
78aa8652d2
e3: native map instead of btree where can (because e2 experience shows - it's faster) ( #7010 )
2023-03-07 02:34:30 +00:00
Alex Sharov
c5acfd0503
etl: distinct empty values from nil ( #6934 )
2023-03-07 02:33:21 +00:00
hexoscott
77065ee0f3
remove PeerUseless calls ( #7032 )
2023-03-06 18:59:14 +00:00
Alex Sharov
e3caa3cbba
e3: don't loose last txnum ( #7028 )
2023-03-06 09:19:30 +00:00
Alex Sharov
645797d8bf
e3: no early by drain ( #7027 )
2023-03-06 08:43:32 +00:00
ledgerwatch
ed95056a6d
Break out of staged sync step when bad block is found ( #7025 )
...
Fixes https://github.com/ledgerwatch/erigon/issues/6982
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-03-06 07:58:44 +00:00
Anshal Shukla
1bf302bcd8
Headers POW updated ( #6983 )
...
Currently the only way the `noProgressCounter` resets is when it
discovers that the chain has forked from the cannonical chain which
leads to lack of anchor state logs.
2023-03-03 16:09:46 +00:00
Andrew Ashikhmin
1dab298db7
Add Prague fork support ( #7005 )
...
Prague is the next EL fork after
[Cancun](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md ).
This change picks up https://github.com/ledgerwatch/erigon-lib/pull/913 ,
adds support of the fork, and moves Verkle trees to it.
2023-03-02 17:51:36 +00:00
ledgerwatch
217ddc753d
Skeleton for unwind test, tidy up bodies cache ( #7001 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-03-02 14:09:48 +00:00
Andrew Ashikhmin
3a25fb45fb
Allow snapshot block execution before waiting for CL ( #6947 )
...
This gives Erigon a chance to execute snapshot blocks before CL is
ready. Not sure why it was commented out in PR #5684 .
2023-03-02 10:12:23 +00:00
Alex Sharov
a4f69abb97
e3: less locks, less casts ( #6991 )
2023-03-01 07:59:56 +00:00
Alex Sharov
570ff33e88
e3: result size atomic change after processResultQueue
( #6975 )
2023-02-28 09:35:13 +00:00
Alex Sharov
b3c49af086
e3: aggressive drain resultCh to heap before start conflict-resolution ( #6979 )
2023-02-27 13:08:33 +00:00
Alex Sharov
c4cce3d2d4
e3: update speed metric after processResultQueue
( #6974 )
2023-02-27 15:38:21 +07:00
Alex Sharov
955d2761bc
e3: update atomics outside of processResultQueue
( #6973 )
2023-02-27 08:19:05 +00:00
Alex Sharov
daf1522914
e3: handle zero metric ( #6972 )
2023-02-27 14:30:40 +07:00
Alex Sharov
4a89361845
e3: remove inblock variable ( #6968 )
2023-02-27 06:57:35 +00:00
nanevardanyan
ab6239b30f
WIP: cmd, turbo, core, eth: TransactionsV3 flag and persist in new table ( #6754 )
2023-02-24 18:49:25 +00:00
Alex Sharov
c534453654
e3: exec retry once ( #6943 )
2023-02-24 05:57:17 +00:00
Alex Sharov
ddcb1c90cd
e3: don't collect readList in ApplyWorker, because it's conflict-free ( #6916 )
2023-02-21 05:11:45 +00:00
Anshal Shukla
7ce3f7b158
State sync transactions added to debug_traceBlockByNumber call ( #6830 )
...
State sync transactions can be enabled using `"borTraceEnabled": true`
parameter, this is to ensure that the current behaviour is unchanged.
2023-02-20 08:04:11 +00:00
alex.sharov
26106769d3
e3: simplify mutex
2023-02-15 10:56:45 +07:00
Andrew Ashikhmin
58fcc04575
blockValue should use gasUsed rather than gasLimit ( #6875 )
...
Fees going to the gas fee recipient should be based on the actual gas
used (available in the receipt) rather than the gas limit in a
transaction. This fixes Hive test "GetPayloadV2 Block Value".
Also `engine_getPayloadBodiesByRangeV1` params should be encoded as hex
strings.
2023-02-14 15:05:27 +00:00
alex.sharov
2ba835012a
e3: a bit simplify
2023-02-14 15:19:08 +07:00
alex.sharov
4dab4dc0cf
cleanup
2023-02-14 13:15:13 +07:00
alex.sharov
199ce9bfb3
save
2023-02-14 13:14:27 +07:00
Alex Sharov
45ffd2368b
e3: don't cancel workers ( #6869 )
2023-02-14 06:13:27 +00:00
Alex Sharov
999899d66d
e3: read files list from db ( #6833 )
2023-02-13 05:17:01 +00:00
Alex Sharov
ab8e59ff0e
Sepolia: enable blocks snapshots by default ( #6847 )
2023-02-12 04:14:13 +00:00
Alex Sharov
60a4b8bc7b
Snapshots Indexing: avoid loop with semaphore locking before logging ( #6845 )
2023-02-12 02:49:20 +00:00
ledgerwatch
ee83447fa1
CL lightclient to create memdb in the tmpdir which gets cleaned up on… ( #6829 )
...
… startup
---------
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-11 20:44:51 +00:00
Alex Sharov
983db55dc5
Downloader: "incomplete" markers are more important than "complete", so commit them with fsync ( #6825 )
2023-02-10 13:20:19 +07:00
Alex Sharov
98a8ca50fe
erigon3 snapshots version 3 ( #6811 )
2023-02-09 13:51:51 +07:00
Alex Sharov
145f689e78
less logs about compression ( #6812 )
2023-02-09 12:28:09 +07:00
Alex Sharov
ec52990c43
e3: Thread safe reopen folder ( #6810 )
2023-02-09 12:11:40 +07:00
Alex Sharov
a75a948beb
e3: MakeContext must not see garbage files (deleted, overlapped, etc...). make it cheaper. ( #6803 )
2023-02-08 12:50:47 +07:00
Alex Sharov
e6e07fec72
e3: exec to stop workers return ( #6801 )
2023-02-08 09:53:43 +07:00
Giulio rebuffo
f7e58a7964
added separable lightclient ( #6800 )
...
How to run:
Erigon flags needed: --private.api.addr <ADDR> --externalcl
Lightclient flags needed: --private.api.addr <ADDR>
2023-02-08 00:06:07 +01:00
hexoscott
683f022c69
pass config to tracer from RPC request ( #6795 )
...
Created to handle #6758 .
Just takes the parameters and passes them down the pipe. A local test
against mainnet showed the trace size varied accordingly when passing
true/false values for `onlyTopCall`.
2023-02-07 15:50:11 +00:00
Giulio rebuffo
03f737c458
Added processing for Attestation ( #6772 )
2023-02-03 16:39:09 +01:00
ledgerwatch
38177d8f68
Fix hive after merging eth/68 PR ( #6766 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-02 08:26:30 +00:00
ledgerwatch
bf24018205
Add support for eth/68 ( #6764 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alex Sharp <alexsharp@surfer-172-29-1-65-hotspot.internet-for-guests.com>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-01 22:21:31 +00:00
Alex Sharov
aaec53857f
e3: last reader to close/remove merged files (marked as canDelete
) inside tx.Rollback() ( #6738 )
2023-02-01 15:44:13 +07:00
Alex Sharov
dfca60c054
e3: indices wal - to reuse etl collector ( #6757 )
2023-02-01 10:02:29 +07:00
Anshal Shukla
a4f8175136
Bor file structure updated ( #6167 )
...
Updated bor consensus folder structure
2023-01-31 14:00:57 +05:30
Andrew Ashikhmin
004c5afdfa
Avoid unnecessary unwind+rewind ( #6712 )
...
On
[withdrawal-mainnet-shadowfork-1](https://withdrawal-mainnet-shadowfork-1.ethpandaops.io/ )
erigon was unnecessarily re-executing blocks after 16m (snapshot)
multiple times. That was likely due to CL issuing `forkchoiceUpdated`
pointing to an old block for some reason. This PR introduces a
protection against such inefficiency.
2023-01-30 15:42:23 +01:00
Alex Sharov
62746c6185
fix snap flag behavior ( #6743 )
2023-01-30 17:37:58 +07:00
Alex Sharov
2998aa6386
e3: debug_accountRange ( #6726 )
2023-01-28 12:03:24 +07:00
Alex Sharov
b99e4abb3e
move math big constants to erigon-lib ( #6719 )
2023-01-27 11:39:34 +07:00
Alex Sharov
d908f57528
Senders: nil check ( #6717 )
2023-01-27 10:19:33 +07:00
Max Revitt
6559c15ebb
feat(trace): use specific error string ( #6696 )
...
In v2.36.0 we correctly trace this transaction, however due to a code
ordering issue in previous releases, there was an 'out of gas' response,
because we fell through to the code here where
ErrContractAddressCollision will be returned as such. This change isn't
the fix, but ensures the actual error is returned.
2023-01-26 15:10:51 +01:00
Andrew Ashikhmin
d12fda5cbd
Switch AccessList, IntrinsicGas, SafeAdd/Mul to erigon-lib ( #6709 )
...
Reduce code duplication.
2023-01-26 12:26:12 +01:00
alex.sharov
db47049e5b
cleanup
2023-01-26 10:36:56 +07:00
Alex Sharov
82c478a419
e3: getLogs on iterators ( #6683 )
2023-01-25 16:29:41 +07:00
Alex Sharov
bb2bec2439
sepolia block snaspshots ( #6626 )
2023-01-25 09:55:26 +07:00
Alex Sharov
c28c96bea7
allow enable snapshot sync by cli flag ( #6693 )
2023-01-25 09:53:43 +07:00
Andrew Ashikhmin
37741b74eb
Remove erigon_issuance & erigon_watchTheBurn ( #6685 )
...
Some issuance happens on the CL side now, so removing support for these
now inaccurate proprietary methods to make our life easier.
2023-01-24 22:54:08 +01:00
Giulio rebuffo
635fe0cb21
Added custom chain flags to embedded consensus lightclient ( #6674 )
2023-01-24 00:03:48 +01:00
ledgerwatch
5e205f61c0
More tweaks for BSC headers ( #6662 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-22 14:19:16 +00:00
Alex Sharov
4fbbdf9186
e3: move txnum to erigon-lib ( #6663 )
2023-01-22 19:39:33 +07:00
ledgerwatch
706a999178
Improvements for the BSC stuck header sync ( #6653 )
...
There are 3 changes:
1. Replace `anchorQueue` with `anchorTree` to be able to always walk the
anchors in the order of increasing blockHeights (not possible with the
queue) to prioritise making progress on the lowest block heights
2. Not increment `nextRetryTime` if the request was not sent
3. Reduce the strides in skeleton from `8*192` to `192` to reduce
reliance of the long series of requests to make progress
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-22 12:28:17 +00:00
ledgerwatch
2c3299d073
Better logging for body writing ( #6634 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-20 00:04:47 +00:00
ledgerwatch
f2111b4132
Another fix for body download ( #6633 )
...
When body gets evicted from the cache, its corresponding entry in
`requestMap` is also removed but was never re-instated when re-request
happens
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-19 23:05:38 +00:00
ledgerwatch
44b834e77a
Further fixes for body downloader ( #6610 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-17 22:03:28 +00:00
ledgerwatch
19ce8d2a8f
stage_headers: use block time instead of "topSeenHeight" to determine when it is in sync ( #6602 )
...
This is more reliable criterion because it is harder to spoof
continuously by malicious peers
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-17 17:28:02 +00:00
ledgerwatch
0bea0437bf
Deal with the situation when body cache is too small ( #6601 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-17 12:52:07 +00:00
Alex Sharov
d317722aef
e3: storageRangeAt ( #6580 )
2023-01-17 14:16:36 +07:00
Alex Sharov
5ad4eb936a
split backend.go:new to 2 funcs ( #6595 )
...
Split backend.go:New method to 2. 1st will create db and basic
configuration. 2nd will create instances of stagedsync, txpool, etc...
based on this configuration.
2023-01-17 13:20:31 +07:00
Alex Sharov
97a769cfc1
e3: increase some defaults ( #6592 )
2023-01-17 09:14:17 +07:00
Devon Bear
4bfcc1ee5c
Convert *vm.EVM to vm.VMInterface in Tracers ( #6590 )
...
Useful for integration with external tools as one can just utilize an
interface opposed to having to import and build a real EVM object.
2023-01-16 22:28:50 +00:00
ledgerwatch
cfb0d99cfa
Improvements for body downloader ( #6589 )
...
1. Replacing temporary MBDX table with limited-size btree
2. Always scan block numbers from the start to prioritise low-number
blocks
3. Other fixes and simplifications
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-16 22:09:28 +00:00
hexoscott
7dcbfbc283
reference hash, address, and chain config from lib ( #6536 )
2023-01-13 18:12:18 +00:00
Andrew Ashikhmin
45d34ff038
Quiet virtual stage bodies in PoS validator ( #6576 )
...
In the vein of PR #5574 .
Logs before:
```
[INFO] [01-13|12:37:02.940] [2/16 Headers] Handling new payload height=25889655 hash=0xe41526b51c04f1a2547d356d4009ff43b9f2e
b8691fce5f0cdc2a9e763b23828
[INFO] [01-13|12:37:02.940] [2/7 Bodies] Writing block bodies block_num=25889655 remaining=0 alloc=108.4MB sys=222.5MB
[INFO] [01-13|12:37:02.942] [2/16 Headers] Waiting for Consensus Layer...
```
Logs after:
```
[INFO] [01-13|12:50:55.227] [2/16 Headers] Handling new payload height=25891426 hash=0x2b890eb0ae6e3ce32fe6cad02d1defebbea71ec27d8c02c42233f369a27f40ad
[INFO] [01-13|12:50:55.237] [2/16 Headers] Waiting for Consensus Layer...
```
2023-01-13 13:25:13 +00:00
Seonggwon Yoon
798d1b8a2d
Link ETL Repository ( #6573 )
...
Reconnect broken link for etl
2023-01-13 17:45:32 +07:00
Alex Sharov
731569bbb7
e3: invalid txnum table ( #6540 )
2023-01-12 09:31:41 +07:00
Alex Sharov
f96ba2631a
simplify mdbx_to_mdbx ( #6561 )
2023-01-12 09:13:58 +07:00
hexoscott
6aae186fac
wait on error from call to parallelWarmup ( #6558 )
2023-01-12 07:59:43 +07:00
alex.sharov
8be6e1b2cd
STOP_AFTER_RECONSTITUTE=true
2023-01-11 10:16:21 +07:00
alex.sharov
89f8a43509
parallel warmup to exit early if nil
2023-01-10 09:57:52 +07:00
Alex Sharov
7c2ed8e01f
mdbx: v0.12.3 ( #6521 )
2023-01-10 09:15:18 +07:00
Andrew Ashikhmin
1968fda27f
[Clean-up] Switch protocol to types.(Raw)Body ( #6537 )
...
Reduce code duplication.
2023-01-09 14:39:49 +00:00
Alex Sharov
2621ef45f6
e3: fix trace json ( #6535 )
2023-01-09 17:33:18 +07:00
ledgerwatch
7243db8dbf
Simplify code around topSeenHeight ( #6529 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-09 06:42:26 +00:00
Alex Sharov
e88a5aa2e8
HashState: parallel promote cleanly ( #6512 )
2023-01-09 11:01:21 +07:00
Alex Sharov
720b5f77d6
e3: bsc oom fix ( #6526 )
2023-01-08 15:07:34 +07:00
Alex Sharov
08904da83e
e3: fix couple deadlocks in parallel exec ( #6525 )
2023-01-08 10:00:41 +07:00
Alex Sharov
3c7e6b114e
e3: locality index ( #6513 )
2023-01-07 12:31:00 +07:00
ledgerwatch
2941e754e9
Fix hive tests and reorganise the fix for body download problem ( #6515 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-06 12:43:46 +00:00
Alex Sharov
4c3bb1cca5
kv_temporal: DomainGet ( #6511 )
2023-01-06 14:27:54 +07:00
Andrew Ashikhmin
0b8f4aea2f
Withdrawals in body downloader ( #6496 )
2023-01-04 10:09:44 +01:00
Alex Sharov
a4006ad2af
Integration: configure correct consensus engine ( #6492 )
2023-01-03 12:20:18 +07:00
hexoscott
1a09dcbdb3
use set rather than slice for tracking yielded when mining ( #6488 )
...
make use of sets when tracking yielded transactions during mining
2023-01-02 13:00:08 +00:00
Alex Sharov
11637a5c7d
e3: force merge snapshots before reconst ( #6484 )
2023-01-02 10:10:48 +07:00
Andrew Ashikhmin
58893937b0
core/vm: Make INVALID a defined opcode ( #6477 )
...
Cherry-pick https://github.com/ethereum/go-ethereum/pull/24017 .
* core/vm: Define 0xfe opcode as INVALID
* core/vm: Remove opInvalid as opUndefined handles it
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
Co-authored-by: Andrei Maiboroda <andrei@ethereum.org>
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2022-12-30 17:13:54 +01:00
Alex Sharov
4a9c871628
a bit rename 22 to v3 ( #6476 )
2022-12-30 21:53:42 +07:00
Alex Sharov
b0af04f2df
bsc: incrementally calc and store all old snapshots. slower initial stage_snapshots, but faster restart during initial sync ( #6457 )
2022-12-30 12:44:54 +07:00
Giulio rebuffo
4932aa5264
added indexes to beacon blocks ( #6460 )
2022-12-29 15:15:25 +01:00
Alex Sharov
e7104c9a68
e3: support withdrawals ( #6467 )
2022-12-29 19:57:58 +07:00
alex.sharov
82e7893837
e3: remove debug line
2022-12-29 18:52:33 +07:00
alex.sharov
ed94d60671
e3: disable some checks for genesis, to fix tests
2022-12-29 16:04:56 +07:00
Alex Sharov
c04668d0ff
e3: agg cancel background jobs ( #6463 )
2022-12-29 15:04:07 +07:00
Andrew Ashikhmin
0fdd60a0d1
Execution Spec Tests & HashCheck() ( #6444 )
...
Run tests from a new repo
https://github.com/ethereum/execution-spec-tests .
Also introduce `HashCheck()` function that checks correctness of block's
uncle, transaction, and withdrawals hashes.
2022-12-28 17:01:40 +01:00
ledgerwatch
387b4d7f35
Native tracers step 10 - remove duplicate SelfDestruct capture, clean up ( #6440 )
...
Moved some of the tracers to `eth/tracers/logger` to make it more
similar to go-ethereum.
Removed Erigon-specific `Capture-` functions
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2022-12-26 04:56:39 +00:00