Commit Graph

17738 Commits

Author SHA1 Message Date
bretep
d9657949ca Add 20% pad to estimated gas to eth_call 2023-04-24 16:24:26 -07:00
Shane Bammel
ee67a0013d Prepare stable release 2023-04-14 12:52:40 -05:00
Shane Bammel
17fa851d5e Add network config for Testnet-V4 2023-04-13 14:57:33 -05:00
Shane Bammel
36068aae71 Add padding to gas estimations
Adds a 20% buffer to gas estimations to reduce out-of-gas errors.
2023-04-05 22:41:32 -05:00
Shane Bammel
b58ecc133f Prepare stable release 2023-03-30 23:40:20 -05:00
Shane Bammel
73a3bbaa74 Update erigon-lib 2023-03-30 23:14:56 -05:00
Shane Bammel
fbcd95b62a Add v3 suffix to pulsechain-testnet 2023-03-30 18:05:13 -05:00
Shane Bammel
a037180ced Prepare stable release 2023-03-30 18:05:11 -05:00
bretep
f55d362882 Switch testnet snapshots to PulseChain from Mainnet 2023-03-30 18:04:16 -05:00
bretep
ce59611b14 Update to upstream v2.40.1 2023-03-30 18:04:16 -05:00
Shane Bammel
c94d23aead Add bootnodes and dns config for testnet-v3 2023-03-30 18:04:16 -05:00
bretep
6fcf132eb8 Update v.2.40.0 2023-03-30 18:04:10 -05:00
bretep
faa04dcece Update erigon-lib to v0.0.15 2023-03-30 18:03:29 -05:00
bretep
b05d0bd357 Update erigon-lib to v0.0.14 2023-03-30 18:03:29 -05:00
Shane Bammel
5557c1735b Update credits file
Includes updated sacrifice data & eth2 deposit refunds
2023-03-30 18:03:29 -05:00
Shane Bammel
8e4d3ac862 Update treasury address & testnet fork block 2023-03-30 18:03:29 -05:00
Shane Bammel
2d0985f534 Add pulsechain-devnet poc config 2023-03-30 18:03:29 -05:00
Shane Bammel
57c8fa55e8 Fix deposit contract initialization
Erigon requires setting the contract incarnation
2023-03-30 18:03:29 -05:00
Shane Bammel
5df5fd995b Refactor and simplify PulseChain integration 2023-03-30 18:03:29 -05:00
bretep
293afaa131 Initial PulseChain integration
Sign block using correct chainId

Add IsPulseChain to config

Add support for pulsechain blocks and snapshots

Add support for chain config now located in erigon-lib

Fix decoding hex to int

Ensure pulsechain config

Add support for PulseChain snapshots
2023-03-30 18:03:22 -05:00
Giulio rebuffo
beb97784d4 Error handling to beacon chain gossip (#7132) 2023-03-28 20:52:45 +01:00
Andrew Ashikhmin
b8eaf78b17 Release transaction in EngineGetPayloadBodiesByRangeV1 (and by hash) (#7199)
Should hopefully help with Issue #7172
2023-03-28 20:30:27 +01:00
Giulio rebuffo
8ad4870428 Banning peers sending bad gossip (#7134) 2023-03-28 20:29:38 +01:00
Andrew Ashikhmin
5d0f778eed Schedule mainnet Shapella. Fix BellatrixForkEpoch (#7145)
See https://github.com/ethereum/execution-specs/pull/727. Also,
`BellatrixForkEpoch` should be 144896, not 144869: refer to [the
spec](https://github.com/ethereum/consensus-specs/blob/dev/specs/bellatrix/fork.md).
2023-03-28 19:18:40 +01:00
Alexey Sharp
5c541381fd Bump version 2023-03-28 19:12:38 +01:00
Stéphane Loeuillet
94b4cee5a8 graphql: protect against nil pointer deref on cases like TX with nil … (#7047)
…To address (contract creation)
2023-03-07 12:21:06 +00:00
Alex Sharov
c9513f5cd4 nil ptr in checkPruneHistory (#7042) 2023-03-07 11:26:54 +00:00
Krishna Upadhyaya
9a65dd1c21 Update validator map when loading snapshot (#7046) 2023-03-07 11:17:45 +00:00
Anshal Shukla
cc4521a25c use bor interface (#7045) 2023-03-07 11:17:33 +00:00
hexoscott
697ff09fc2 remove PeerUseless calls (#7032) 2023-03-07 11:17:18 +00:00
Stéphane Loeuillet
b66199b3d0 graphql: add missing fields in block.transaction (#7034) 2023-03-07 11:16:57 +00:00
Alexey Sharp
36b03c13b5 Bump patch version 2023-03-07 11:08:55 +00:00
Alexey Sharp
38fb38a92e Stable modification 2023-03-06 12:58:27 +00:00
ledgerwatch
36a1e43dfe
Skip one integration test (#7031)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-03-06 11:58:03 +00:00
Max Revitt
24773f08bb
fix(release): use buildx for docker image (#7030) 2023-03-06 11:47:48 +00:00
Alex Sharov
e3caa3cbba
e3: don't loose last txnum (#7028) 2023-03-06 09:19:30 +00:00
ledgerwatch
1ab083316b
More block snapshots for ETH mainnet, goerli and gnosis (#7026)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-03-06 08:58:58 +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
Giulio rebuffo
9101fdadcc
Long keys and finalization markers added. (#7024) 2023-03-05 19:15:17 +00:00
Giulio rebuffo
7eda83f81a
Merged beacon indexing with other stages (#7023) 2023-03-05 16:11:35 +00:00
Giulio rebuffo
aea6f86cab
refactored state transition and removed transistor (#7021) 2023-03-04 21:14:45 +00:00
Giulio rebuffo
90ed3c1cb0
optimized state roots cache for erigon-cl (#7020) 2023-03-04 16:28:20 +00:00
awskii
e48609ee8d
E4 btree-like indexes (#6834)
This branch implements support of btree indexes instead of .kvi files.
Kvi also created, but not used during search/lookup, only for size
comparation.

Btree allows to make seek calls, while recsplit indexes does not support
that query.
During initial tests, btree indexes are ~1-3% smaller than recsplit but
avg lookup time bigger up to 1.5us (which compensates with ability to
fetch next key).

BtAlloc
```
337000 searches, last took 5.417µs avg=4.385µs next_access_last[of 10000 keys] 105ns
338000 searches, last took 3.792µs avg=4.385µs next_access_last[of 10000 keys] 103ns
339000 searches, last took 5.125µs avg=4.386µs next_access_last[of 10000 keys] 103ns
340000 searches, last took 4.75µs avg=4.386µs next_access_last[of 10000 keys] 103ns
341000 searches, last took 3.875µs avg=4.386µs next_access_last[of 10000 keys] 104ns
342000 searches, last took 6.042µs avg=4.387µs next_access_last[of 10000 keys] 107ns
343000 searches, last took 3.209µs avg=4.388µs next_access_last[of 10000 keys] 108ns
344000 searches, last took 2.292µs avg=4.393µs next_access_last[of 10000 keys] 113ns
345000 searches, last took 2.417µs avg=4.394µs next_access_last[of 10000 keys] 106ns
346000 searches, last took 2.625µs avg=4.394µs next_access_last[of 10000 keys] 103ns
347000 searches, last took 4.417µs avg=4.397µs next_access_last[of 10000 keys] 104ns
348000 searches, last took 5.458µs avg=4.398µs next_access_last[of 10000 keys] 103ns
349000 searches, last took 4.875µs avg=4.4µs next_access_last[of 10000 keys] 102ns
350000 searches, last took 4.25µs avg=4.4µs next_access_last[of 10000 keys] 104ns
351000 searches, last took 6.25µs avg=4.403µs next_access_last[of 10000 keys] 106ns
352000 searches, last took 3.125µs avg=4.404µs next_access_last[of 10000 keys] 106ns
```

Recsplit
```
354000 searches, last took 1.209µs avg=3.081µs
355000 searches, last took 1.333µs avg=3.076µs
356000 searches, last took 1.541µs avg=3.071µs
357000 searches, last took 1.333µs avg=3.066µs
358000 searches, last took 1.333µs avg=3.062µs
359000 searches, last took 1.167µs avg=3.057µs
360000 searches, last took 1.791µs avg=3.052µs
361000 searches, last took 1.209µs avg=3.048µs
362000 searches, last took 1.375µs avg=3.043µs
363000 searches, last took 1.166µs avg=3.038µs
364000 searches, last took 1.625µs avg=3.033µs
365000 searches, last took 1.125µs avg=3.029µs
366000 searches, last took 1.208µs avg=3.024µs
367000 searches, last took 1.333µs avg=3.019µs
368000 searches, last took 1.791µs avg=3.015µs
369000 searches, last took 1.333µs avg=3.01µs
370000 searches, last took 1.166µs avg=3.006µs
371000 searches, last took 1.125µs avg=3.001µs
372000 searches, last took 1.333µs avg=2.997µs
```

https://github.com/ledgerwatch/erigon-lib/pull/891/files
2023-03-04 03:19:25 +00:00
Giulio rebuffo
aadf56376f
Passing operations consensus tests. (#7018) 2023-03-03 22:52:33 +00:00
Jochen Müller
da369fedac
Fix test in devnet tool (#7019)
- invalid gas price range with max < min
- nonce bumped for transactions that will not be mined
2023-03-03 16:20:45 +00:00
ledgerwatch
5622031b5a
Bump version (#7017) 2023-03-03 16:10:11 +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
ledgerwatch
19cf4fedb6
Patch up erigon3 integration test (#7016)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-03-03 16:08:53 +00:00
Andrew Ashikhmin
e3906130ae
Rename SHARDING_FORK to DENEB_FORK (#7014)
See https://github.com/eth-clients/goerli/pull/160
2023-03-03 14:51:57 +00:00