ledgerwatch
e9d0ee5ce1
Less aggressive peer handling for BSC/Bor, add warning for bad headers ( #6571 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-12 17:17:27 +00:00
Ariel Tempelhof
89eb3ac267
block BaseFee in callMany ( #6569 )
...
Continuing the work of https://github.com/ledgerwatch/erigon/pull/6381 .
We encountered a problem in blocks with type 2 transactions,
specifically blocks with two transactions with the same `tx.from`. When
the first tx is replayed, a high `gasPrice` is being calculate in
`txn.AsMessage` causing the second replayed tx to fail with the
following error:
```
insufficient funds for gas * price + value: address ...
```
This happens in both `eth_callMany` and `debug_traceCallMany`.
This pull request follows the `debug_traceTransaction` usage of
`tx.AsMessage` in `ComputeTxEnv`
2023-01-12 16:56:22 +00:00
Andrew Ashikhmin
8ae3bce233
Update ethereum/tests ( #6570 )
...
PR #6540 inadvertently changed the `tests/testdata` submodule.
2023-01-12 16:40:07 +01:00
Andrew Ashikhmin
58b3016c80
Switch validateAndStorePayload to Body.RawBody() ( #6568 )
...
Ensure that withdrawals are not lost in `validateAndStorePayload`.
2023-01-12 14:58:36 +01:00
ledgerwatch
b658bb8f00
Fix for trace_ regression when using vmTrace
for transactions with SELFDESTRUCT
( #6565 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-12 10:30:15 +00:00
Andrew Ashikhmin
f33993b43c
GetEffectiveGasTip in getTxValueForBlockValue ( #6559 )
...
Small simplification to PR #6554 .
2023-01-12 10:41:27 +01:00
Alex Sharov
7e9522d2d0
e3: abstract 1 tx exec, to avoid variables bloating ( #6563 )
2023-01-12 11:09:47 +07:00
Alex Sharov
41e9356f61
e3: stream.ToBitamp() ( #6562 )
2023-01-12 09:58:21 +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
Max Revitt
4d09a697d0
GetPayloadV2 change ( #6554 )
...
- calculates blockValue for updated engine_getPayloadV2 spec
- adds tests for pre/post Shanghai RawBody RLP
2023-01-11 18:33:55 +01:00
Giulio rebuffo
4bee05dd12
Added ETH1 Block SSZ Hashing to CL ( #6549 )
...
more of SSZ again.
2023-01-11 17:18:14 +01:00
Leonard Chinonso
a4751aacdf
was meant to fix the for select lint, but Alex already did ( #6557 )
2023-01-11 21:27:05 +07:00
Andrew Ashikhmin
bd0e636446
Fix basefee in ethereum tests ( #6555 )
...
Pick a fix to https://github.com/ethereum/tests/issues/1133
2023-01-11 13:03:56 +01:00
alex.sharov
e22e5f933a
linter
2023-01-11 15:45:18 +07:00
alex.sharov
2db82a8e4f
Revert "save"
...
This reverts commit b080f3fcdf
.
2023-01-11 15:33:25 +07:00
alex.sharov
b080f3fcdf
save
2023-01-11 15:33:09 +07:00
Alex Sharov
2f97c7bf8b
extract traceFilterBitmaps method (prepare for kv.temporal) ( #6553 )
2023-01-11 15:01:18 +07:00
Alex Sharov
de42ff09c0
Torrent: reduce network chunk, some routers are unhappy ( #6552 )
2023-01-11 13:31:14 +07:00
alex.sharov
abff625dcb
fix test
2023-01-11 12:04:22 +07:00
Alex Sharov
381d90a52a
eth_getLogs: add getAddrsBitmap
method ( #6551 )
2023-01-11 11:55:16 +07:00
alex.sharov
0f03c622aa
STOP_AFTER_RECONSTITUTE=true
2023-01-11 10:16:31 +07:00
alex.sharov
8be6e1b2cd
STOP_AFTER_RECONSTITUTE=true
2023-01-11 10:16:21 +07:00
Alex Sharov
b299133e0f
e3: locality index, correct metadata size accounting ( #6550 )
2023-01-11 09:56:46 +07:00
Leonard Chinonso
310b8d9e01
Reorganization the devnet subscription services ( #6331 )
2023-01-10 17:43:58 +00:00
ledgerwatch
1149b59641
Fix for regression in trace_
processing SELFDESTRUCT ( #6547 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-01-10 16:41:40 +00:00
Andrew Ashikhmin
19af2009dc
Remove unused Transaction.Size ( #6545 )
2023-01-10 11:03:34 +01:00
Alex Sharov
919fc390be
randomized mock db path ( #6541 )
2023-01-10 13:52:05 +07:00
alex.sharov
d8f6ca8485
Revert "mdbx: proper atomic close"
...
This reverts commit fa5cb45336
.
2023-01-10 13:19:50 +07:00
alex.sharov
fa5cb45336
mdbx: proper atomic close
2023-01-10 12:03:19 +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
Mike Neuder
799d6b9441
Implement ProcessProposerSlashing ( #6531 )
...
Spec:
https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#proposer-slashings
Part of https://github.com/ledgerwatch/erigon/issues/5965
2023-01-09 21:00:55 +01:00
Giulio rebuffo
cdf15e9368
added SSZ encodings for withdrawals ( #6538 )
...
This PR adds SSZ hash and encode/decode to Withdrawal object.
2023-01-09 18:02:55 +01: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
Alex Sharov
088757ed07
e3: domain to used blockNumber for e2 ( #6534 )
2023-01-09 16:25:35 +07:00
Alex Sharov
f3636c2ad2
kv_temporal: 2nd key for domain ( #6533 )
2023-01-09 15:16:07 +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
7aa056e179
save
2023-01-09 10:59:34 +07:00
Giulio rebuffo
599480c5e0
ExecutionPayloaHeader: ssz support for withdrawals root ( #6524 )
...
I do not recommend this.
2023-01-09 01:04:05 +01:00
ledgerwatch
e33b737859
Bump version ( #6527 )
2023-01-08 13:36:23 +00: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
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