Alex Sharov
0483fc5539
integration: cancel warmup ( #6494 )
2023-01-03 12:51:00 +07:00
Alex Sharov
ac6f2e1067
integration: engine can be readOnly ( #6493 )
2023-01-03 12:22:22 +07:00
Alex Sharov
a4006ad2af
Integration: configure correct consensus engine ( #6492 )
2023-01-03 12:20:18 +07:00
Mike Neuder
d595accc63
Adding InititateValidatorExit ( #6478 )
...
Spec:
https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#initiate_validator_exit
Part of https://github.com/ledgerwatch/erigon/issues/5965
Co-authored-by: Giulio rebuffo <giulio.rebuffo@gmail.com>
Co-authored-by: ledgerwatch <akhounov@gmail.com>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-02 15:06:04 +01: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
17e0afbe44
"erigon snapshots retire" save progress ( #6486 )
2023-01-02 12:38:03 +07:00
Alex Sharov
94fd30c5eb
"erigon snapshots retire" to save progress ( #6485 )
2023-01-02 12:26:56 +07:00
a
06de4aeb91
filterlogs deadlock fix ( #6429 )
...
Refactors filters.go such that map+locks are now in their own class
Move logic for safely canceling & draining channel to its own class
changed subscriptions to ask for size of buffer and construct its own
channel
marked as draft b/c need to do live testing.
2023-01-02 11:42:40 +07:00
alex.sharov
f0be579fd1
warmup: 100K prefixes
2023-01-02 10:50:08 +07:00
alex.sharov
8ffdda14f2
warmup: million prefixes
2023-01-02 10:47:06 +07:00
Alex Sharov
11637a5c7d
e3: force merge snapshots before reconst ( #6484 )
2023-01-02 10:10:48 +07:00
Giulio rebuffo
330579a0f6
Added execution module basics ( #6481 )
2023-01-01 15:29:08 +01:00
Alex Sharov
65b66d6be2
make clang happy ( #6482 )
2023-01-01 11:43:31 +07:00
ledgerwatch
7a699c918a
Fix compile ( #6480 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2022-12-31 12:38:03 +00:00
ledgerwatch
4d4989c5d4
Fix compile errors ( #6479 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2022-12-31 12:05:04 +00:00
Giulio rebuffo
214cf2dc9b
Added execution module as erigon-el, first draft. ( #6468 )
2022-12-31 00:21:08 +01: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
Andrew Ashikhmin
a369fd026f
core/vm: clean up contract creation error handling ( #6475 )
...
Cherry-pick https://github.com/ethereum/go-ethereum/pull/22766 .
Do not keep separate flag for "max code size exceeded" case, but instead
assign appropriate error for it sooner.
Co-authored-by: Paweł Bylica <chfast@gmail.com>
2022-12-30 15:19:16 +01:00
Alex Sharov
3ebd597912
up log version ( #6474 )
2022-12-30 20:31:17 +07:00
Alex Sharov
0b900e3004
coherent state cache: change btree type ( #6473 )
2022-12-30 19:47:46 +07:00
alex.sharov
c9766bc5aa
"integration stage_exec --warmup"
2022-12-30 15:46:02 +07:00
Alex Sharov
9159f7e8aa
"integration stage_exec --warmup" ( #6471 )
2022-12-30 15:44:50 +07:00
alex.sharov
b017fee60b
save
2022-12-30 15:20:22 +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
alex.sharov
c8aead7537
mdbx: disable unused check
2022-12-30 10:47:25 +07:00
Alex Sharov
5ec19c5b2d
fix standalone rpcdaemon block reader ( #6469 )
2022-12-30 10:27:02 +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
5996974e0c
e3: fix test, genesis block reward
2022-12-29 19:39:21 +07:00
alex.sharov
0a37e9ec44
e3: fix test, genesis block reward
2022-12-29 19:26:05 +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
72ffce2ba8
e3: more print_stages info
2022-12-29 15:18:11 +07:00
Alex Sharov
c04668d0ff
e3: agg cancel background jobs ( #6463 )
2022-12-29 15:04:07 +07:00
Alex Sharov
ca3bc54428
Shared genesis db ( #6465 )
2022-12-29 14:47:17 +07:00
Alex Sharov
a528249b00
goreleaser version up ( #6453 )
2022-12-29 11:03:07 +07:00
alex.sharov
92c95e6e68
cleanup
2022-12-29 11:02:33 +07:00
alex.sharov
a893899fc2
save
2022-12-29 11:02:11 +07:00
alex.sharov
9efb8e838b
save
2022-12-29 10:09:09 +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
Andrew Ashikhmin
b4a73e0579
Fix intra_block_state_test ( #6458 )
...
Postfix after PR #6440
2022-12-28 12:26:37 +01:00
Andrew Ashikhmin
714888b016
HashBuilder: fix top node shorter than 32 bytes ( #6456 )
...
Prior to withdrawals, it was extremely unlikely to have short (RLP < 32)
top trie nodes outside test scenarios.
2022-12-28 11:58:37 +01:00
Alex Sharov
fc71d441a6
mdbx_to_mdbx better logging ( #6455 )
2022-12-28 13:27:42 +07:00
Alex Sharov
36fc6a3950
kv: db.ReadOnly() method #806 ( #6454 )
2022-12-28 12:48:57 +07:00
Giulio rebuffo
80b5954c3c
fixed encoding for slot > 17 million ( #6451 )
2022-12-28 02:29:24 +01:00
Giulio rebuffo
cf7e0e292c
Compact Attestations final form ( #6446 )
2022-12-27 17:22:52 +01:00
Mike Neuder
f0be116bc2
Implement ProcessEth1Data ( #6445 )
...
Spec:
https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#eth1-data
Part of https://github.com/ledgerwatch/erigon/issues/5965
2022-12-27 14:57:32 +01:00
Alex Sharov
05f715ca51
E3: chain rules fix ( #6448 )
2022-12-27 13:14:24 +07:00
Alex Sharov
ba585f494b
torrent lib version up ( #6447 )
2022-12-27 12:54:00 +07:00