Commit Graph

17290 Commits

Author SHA1 Message Date
ledgerwatch
389a2e8392
Eth call limits (#6523)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-07 21:16:43 +00:00
ledgerwatch
e8287918ba
Gnosis block snapshots (#6516)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-07 12:07:36 +00:00
Giulio rebuffo
77d946ba3e
[First PR] Removing FastSSZ and use more efficient hashing with gohashtree (#6520) 2023-01-07 12:25:28 +01:00
Alex Sharov
3c7e6b114e
e3: locality index (#6513) 2023-01-07 12:31:00 +07:00
Mike Neuder
3c1740f108
Adding SlashValidator (#6505)
Spec:
https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#slash_validator

Part of https://github.com/ledgerwatch/erigon/issues/5965
2023-01-07 00:19:26 +01:00
Andrew Ashikhmin
ac1428e15e
Amend EIP-3860 per EIPs/pull/6249 (#6502)
See https://github.com/ethereum/EIPs/pull/6249 and
https://github.com/ethereum/tests/pull/1125
2023-01-06 17:46:27 +01:00
Andrew Ashikhmin
b251e31fdc
(*PrefetchedBlocks) Pop -> Get (#6519)
After PR #6515 `(*PrefetchedBlocks) Pop` doesn't remove the block from
the LRU cache anymore, so `Get` is a better name.
2023-01-06 17:33:30 +01:00
Andrew Ashikhmin
4f536abe46
Unify forkSegment with HeaderAndBody (#6517)
Small refactoring after PR #6515.
2023-01-06 15:12:07 +01:00
Krishna Upadhyaya
04bc175864
Added block number for Mainnet delhi hard fork (#6507) 2023-01-06 12:56:13 +00: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
alex.sharov
9d1f0a9a33 save 2023-01-06 12:43:32 +07:00
Giulio rebuffo
64a22eb0f4
Added Finalized to Lightclient (#6510) 2023-01-05 23:50:04 +01:00
ledgerwatch
93990a8107
Revert "Update README.md" (#6506)
This reverts commit e7dfc518cd.

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-05 05:57:12 +00:00
Alex Sharov
e7dfc518cd
Update README.md 2023-01-05 09:32:18 +07:00
Giulio rebuffo
8a2da89825
added EL-CL insertion batches system (#6504) 2023-01-05 03:10:19 +01:00
Andrew Ashikhmin
0b8f4aea2f
Withdrawals in body downloader (#6496) 2023-01-04 10:09:44 +01:00
ledgerwatch
7bf9372740
Bodies timeout not to cause broken in-memory validation (#6498)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-01-04 07:34:19 +00:00
Alex Sharov
c38868cc46
better pagesize error message (#6497) 2023-01-04 13:07:46 +07:00
Giulio rebuffo
f6c25de4d2
Added EL <-> CL integration (#6483) 2023-01-04 03:02:24 +01:00
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