Andrew Ashikhmin
a2dd5da2a1
[erigon-lib] EIP-4844: parse transactions when not wrapped with blobs ( #7805 )
...
Pick up https://github.com/ledgerwatch/erigon-lib/pull/1034
2023-06-27 12:52:59 +02:00
Andrew Ashikhmin
a24eae8d6c
EIP-4844: Handle data gas in txpool ( #7779 )
...
Prerequisite: https://github.com/ledgerwatch/erigon-lib/pull/1029
2023-06-23 11:10:23 +02:00
Alex Sharov
5dd6b77e40
Up grpc version ( #7791 )
2023-06-23 13:40:04 +07:00
Alex Sharov
108ca8a66a
e3: history - less iterators ( #7790 )
2023-06-23 13:06:39 +07:00
ledgerwatch
141c4aeb4c
More Bor mainnet snapshot files ( #7783 )
2023-06-22 09:22:01 +01:00
Alex Sharov
880c939df8
e3: idx range method ( #7767 )
2023-06-20 10:58:37 +07:00
ledgerwatch
6815323f33
Update to latest erigon-lib ( #7764 )
...
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2023-06-20 10:57:19 +07:00
Alex Sharov
86035ca566
e3: unwind simplify ( #7759 )
2023-06-19 13:42:43 +07:00
Alex Sharov
2adf258a33
e3: simplify unwind ( #7758 )
2023-06-19 11:40:13 +07:00
Alex Sharov
a77edd7a32
faster opening of snapshots and indices ( #7757 )
...
- mostly by MADV_SEQUENTIAL during opening
- see https://github.com/ledgerwatch/erigon-lib/pull/1025
2023-06-19 11:34:01 +07:00
Alex Sharov
a63b24bca6
up NAT STUN lib ( #7750 )
2023-06-17 09:38:38 +07:00
Alex Sharov
e5023775aa
Enforce blockReader interface ( #7737 )
...
- breaks dependency from staged_sync to package with block_reader
implementation
- breaks dependency from snap_sync to package with block_reader
implementation
- breaks dependency from mining to txpool implementation
2023-06-15 13:11:51 +07:00
Andrew Ashikhmin
a5886732b9
Use BitLenToByteLen from erigon-lib ( #7735 )
2023-06-14 14:48:16 +02:00
Giulio rebuffo
4f812efbc8
Better version of libp2p where losing peers bug fixed ( #7726 )
...
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2023-06-14 13:14:52 +02:00
Alex Sharov
f4d8bd84b3
Crypto lib up ( #7730 )
2023-06-14 10:43:29 +07:00
Alex Sharov
78d9e0077b
sys lib version up ( #7722 )
2023-06-13 14:29:51 +07:00
Alex Sharov
6121f6363a
kv_mdbx: don't use defer for wg.Add(). not necessary and sometime it checking invalid err variable ( #7719 )
2023-06-13 10:57:08 +07:00
Giulio rebuffo
63006611ec
Added concurrent bls ( #7709 )
2023-06-12 00:40:03 +02:00
Alex Sharov
afd8ea94d0
e3: move domains to tables.go ( #7707 )
2023-06-11 21:12:05 +07:00
Alex Sharov
b7469d2720
mdbx: tx.GetOne - avoid interface casting ( #7703 )
2023-06-11 09:45:44 +07:00
Alex Sharov
1546a79771
lru lib version up ( #7695 )
2023-06-09 13:46:58 +07:00
Andrew Ashikhmin
4a74ee2589
EIP-4844: switch precompile input's z and y to big endian ( #7680 )
...
according to https://github.com/ethereum/EIPs/pull/7020 . Prerequisite:
https://github.com/ledgerwatch/erigon-lib/pull/1015 .
2023-06-07 17:33:15 +02:00
Alex Sharov
6c129e5f1d
e3: agg generalize PutIdx method ( #7671 )
2023-06-06 11:29:30 +07:00
Alex Sharov
e14664d53b
Store Canonical/NonCanonical/Bad blocks/senders/txs in same tables. Make re-org cheaper ( #7648 )
...
- allow store non-canonical blocks/senders
- optimize re-org: don't update/delete most of data
- allow mark chain as `Bad` - will be not visible by eth_getBlockByHash,
but can read if have hash+num
2023-06-05 12:36:24 +07:00
Alex Sharov
26f9c064ac
mainnet: more block snapshots ( #7662 )
2023-06-05 11:25:37 +07:00
Alex Sharov
6f54cc6ef0
torrent lib version up ( #7642 )
2023-06-03 08:07:28 +07:00
Andrew Ashikhmin
190bc9dfd8
EIP-4844: add data_gas_used ( #7639 )
...
Implement https://github.com/ethereum/EIPs/pull/7062 and
https://github.com/ethereum/EIPs/pull/7095 . Pick up
https://github.com/ledgerwatch/erigon-lib/pull/1006 .
2023-06-02 21:26:19 +01:00
Andrew Ashikhmin
b2a90e0ea9
Merge EngineGetPayloadWithBlobs into EngineGetPayload ( #7637 )
...
Pick up https://github.com/ledgerwatch/interfaces/pull/171 &
https://github.com/ledgerwatch/interfaces/pull/173
2023-06-02 13:02:13 +02:00
Alex Sharov
2c4f4d8af1
sepolia new snapshots ( #7631 )
2023-06-02 11:29:45 +07:00
Alex Sharov
695b8e5f31
e3: release e4 parts3 ( #7630 )
2023-06-02 10:57:05 +07:00
Alex Sharov
b163d3a877
e3: release some e4 parts ( #7629 )
2023-06-02 10:55:40 +07:00
Alex Sharov
d56d867b4f
e3: move kvlist to erigon-lib ( #7627 )
2023-06-02 10:18:43 +07:00
Alex Sharov
3ccc7da2e6
e3: move kvlist to erigon-lib ( #7626 )
2023-06-02 09:52:12 +07:00
Alex Sharov
d54f604f9d
fix nil ptr in close() ( #7618 )
2023-06-01 16:11:34 +07:00
Alex Sharov
4ddd2c365c
Downloader fix no race between .Download() and .Stats() ( #7617 )
...
It fixing 1 case: when erigon start from scratch
- it did skip stage_snapshots because of race-condition and start
printing `Waiting for Consensus Layer...` logs for long time - but
actually Erigon just did download snapshots at this time and printed
wrong logs.
2023-06-01 16:04:10 +07:00
Manav Darji
eb98a0a5ad
PIP12: Implement time based StateSync confirmation delay ( #7587 )
...
This PR implements [PIP
12](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-12.md ).
It introduces time based state sync confirmation delay and adds Indore
hard fork on polygon chains.
The corresponding PR on erigon-lib can be found here:
https://github.com/ledgerwatch/erigon-lib/pull/1002 .
2023-05-29 21:08:43 +07:00
a
3c2b99e19c
[caplin] incremental improvements to p2p layer ( #7582 )
...
we update observability in the p2p layer for handlers, and also properly
encode error codes, close streams.
---------
Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
Co-authored-by: Giulio <giulio.rebuffo@gmail.com>
2023-05-28 07:54:04 +07:00
Alex Sharov
3b7c603974
go mod tidy ( #7585 )
2023-05-26 17:47:10 +07:00
Alex Sharov
ead45694ff
torrent-related goroutine leack ( #7545 )
...
can't merge - because `torrent` lib dropped go1.19 support
2023-05-26 17:12:47 +07:00
racytech
65efc92af3
eip-4844: vm and engine_api extensions, minor fixes/changes ( #7514 )
2023-05-19 18:43:04 +01:00
ledgerwatch
b382f96f6c
Introduce logger into etl ( #7537 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-18 21:20:07 +01:00
alex.sharov
b8d65f5a7a
go mod tidy
2023-05-18 10:49:58 +07:00
alex.sharov
2f362f305f
go mod tidy
2023-05-18 09:46:59 +07:00
a
761524a986
eth2 shuffle ( #7522 )
...
moves eth2shuffle package to erigon.
2023-05-18 01:06:25 +02:00
Alex Sharov
a2ad68d634
downloader: speedup "--downloader.verify" mode ( #7529 )
...
deduplicate logic
create more producer goroutines (torrent lib does limiting internally
amount of consumers/disk-readers/hashers by 2, and it's enough because
we can verify multiple files in parallel)
move flag from "downloader torrent_hashes --verify" to "downloader
--verify"
2023-05-17 06:33:59 +01:00
Alex Sharov
6002436182
remove "db" log line from ( #7509 )
2023-05-14 08:42:53 +07:00
ledgerwatch
5ae9cb7f39
[Devnet tool] side-quest logging step 6 ( #7496 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-11 18:59:55 +01:00
a
fd6acd4b31
[Caplin] beginnings of instrumentation ( #7486 )
...
this pr is ready for review, but it is waiting on this PR
https://github.com/VictoriaMetrics/metrics/pull/45
so that we do not need to use a replace directive.
2023-05-11 18:38:56 +02:00
Roberto Bayardo
8356f3a320
use ssz from updated erigon-lib ( #7490 )
...
ssz/clonable interfaces have been moved to erigon-lib so they can be
shared with the txpool code there
2023-05-11 12:54:20 +01:00
a
37da9ec1e3
[caplin] ssz byteobjects ( #7454 )
...
instead of converting from ssz -> struct -> ssz, it may be better to
just stay as ssz, then use methods to read the data.
this pr explores this concept, while maintaining compatiblity with the
existing codebase.
2023-05-10 21:37:50 +02:00