Alex Sharov
201572c6f5
enable more linters #954 ( #7179 )
2023-03-25 05:13:27 +00:00
alex.sharov
e0dd48cc67
DomainRange
2023-03-25 11:46:29 +07:00
alex.sharov
5445058190
DomainRange
2023-03-25 11:46:05 +07:00
Alex Sharov
7a51a29991
e3: DomainGetAsOf, DomainRange ( #7177 )
2023-03-25 03:51:43 +00:00
Max Revitt
bedc3548bb
fix(release): http-https redirect working ( #7176 )
2023-03-25 03:37:58 +00:00
Giulio rebuffo
25999def30
Fixed storage for download ( #7175 )
2023-03-24 14:11:24 +00:00
Alex Sharov
f4fb329c55
e3: remove some iterator ( #7174 )
2023-03-24 08:36:52 +00:00
alex.sharov
f80efcc6b2
readme dates
2023-03-24 14:25:15 +07:00
a
d3c790c166
add eth_getFilterLogs to docs ( #7171 )
...
add eth_getFilterLogs to docs
2023-03-24 04:03:01 +00:00
alex.sharov
89571074c1
panic in trace_adhoc
2023-03-24 10:10:41 +07:00
alex.sharov
6c87d19544
clean
2023-03-23 16:25:26 +07:00
alex.sharov
ab87125d58
save
2023-03-23 16:25:08 +07:00
Alex Sharov
e2c5984a12
attempt to finx bindtest ( #7167 )
2023-03-23 09:24:25 +00:00
alex.sharov
299ab8d4b7
manual integration tests run allow
2023-03-23 15:51:03 +07:00
alex.sharov
256bb1fcdb
CI v4
2023-03-23 13:21:46 +07:00
Alex Sharov
36cce22d81
to fix txpool startup race ( #7165 )
...
```
==================
WARNING: DATA RACE
Write at 0x00c0005dc570 by goroutine 273633:
github.com/ledgerwatch/erigon/turbo/shards.(*Accumulator).Reset()
github.com/ledgerwatch/erigon/turbo/shards/state_change_accumulator.go:32 +0x5ec
github.com/ledgerwatch/erigon/turbo/stages.StageLoopStep()
github.com/ledgerwatch/erigon/turbo/stages/stageloop.go:163 +0x3bd
github.com/ledgerwatch/erigon/turbo/stages.StageLoop()
github.com/ledgerwatch/erigon/turbo/stages/stageloop.go:94 +0x197
github.com/ledgerwatch/erigon/eth.(*Ethereum).Start.func1()
github.com/ledgerwatch/erigon/eth/backend.go:1058 +0x10b
Previous write at 0x00c0005dc570 by goroutine 273468:
github.com/ledgerwatch/erigon/turbo/shards.(*Accumulator).Reset()
github.com/ledgerwatch/erigon/turbo/shards/state_change_accumulator.go:32 +0x2ef
github.com/ledgerwatch/erigon/turbo/shards.(*Accumulator).SendAndReset()
github.com/ledgerwatch/erigon/turbo/shards/state_change_accumulator.go:41 +0x228
github.com/ledgerwatch/erigon/eth.New.func8()
github.com/ledgerwatch/erigon/eth/backend.go:620 +0x80e
```
2023-03-23 05:42:05 +00:00
alex.sharov
dfc5f55f53
fix e3 test
2023-03-23 12:20:46 +07:00
Alex Sharov
9001f668a7
go 1.19 atomics ( #7164 )
2023-03-23 05:11:28 +00:00
alex.sharov
eb93217ccb
linter up
2023-03-23 10:34:44 +07:00
alex.sharov
b9b0950c70
test simplify
2023-03-23 10:31:43 +07:00
Jason Yellick
a09541c82c
Add eth_getProof support for historical blocks ( #7115 )
...
This PR starts with a few small commits of code cleanup. Reviewed
separately they should hopefully obviously be functionally no-ops. I'm
happy to strip these out and submit them separately if desired.
The final commit is to add support for older blocks as a parameter to
eth_getProof. In order to compute proofs, the function leverages the
staged sync unwinding code to bring the hashed state table back to its
historic state, as well as to build a list of trie nodes which need to
be invalidated/re-computed in the trie computation. Because these
operations could be expensive for very old blocks, it limits the
distance proofs are allowed from the head. It also adds some additional
checks for correctness, as well as tests which verify the
implementation.
This was discussed a bit on Discord in the db-format topic.
---------
Co-authored-by: Jason Yellick <jason@enya.ai>
2023-03-23 03:22:33 +00:00
Alex Sharov
09154c5be0
Go 1.18 drop ( #7159 )
2023-03-23 03:19:07 +00:00
Alex Sharov
af4d2c22a9
--txpool.commit.every panic handling ( #7163 )
2023-03-23 03:18:36 +00:00
Andrew Ashikhmin
2eff6d34c8
[Gnosis] Don't call ExecuteSystemWithdrawals before Shanghai ( #7160 )
...
This is a patch to PR #6940 . Withdrawal contract should not be called
for pre-Shanghai block. The issue was found on
gnosis_withdrawals_devnet_2 (PR #7150 ), causing
```
[WARN] [03-22|10:44:51.574] [7/15 Execution] Execution failed block=51035 hash=0xa8fb9e58eb734b7ce4e2e6260ad20e07a16039325f9924cc18ea61fa2eb5ee90 err="execution reverted"
```
2023-03-22 12:03:11 +00:00
alex.sharov
ebfc2344ca
e3: close context
2023-03-22 15:11:08 +07:00
Alex Sharov
223fcd178c
e3: domain range api simplify ( #7158 )
2023-03-22 07:36:03 +00:00
Alex Sharov
0ffaca865e
e3: unionKV limit ( #7157 )
2023-03-22 06:58:01 +00:00
Alex Sharov
753a680cbd
e3: union limit ( #7156 )
2023-03-22 06:38:04 +00:00
Alex Sharov
52cb720cdc
e3: remove settings table ( #7155 )
2023-03-22 05:21:17 +00:00
alex.sharov
94a3257ec7
e4: reset state
2023-03-22 12:06:48 +07:00
alex.sharov
8395c39670
domain: to use history api
2023-03-22 11:55:26 +07:00
Alex Sharov
28c1b1d50d
e4: to use serializev3 ( #7154 )
2023-03-22 04:53:49 +00:00
Temirlan
4e5dce1365
add flag txpool.commit_every ( #7062 )
...
Adds flag _--txpool.commit_every_ to control how often transactions
should be committed to the storage
[Related Issue](https://github.com/ledgerwatch/erigon/issues/7002 )
2023-03-22 03:53:47 +00:00
alex.sharov
f69f7095bb
e3: exec to use half of CPU's by default
2023-03-22 10:17:03 +07:00
Andrew Ashikhmin
4087510c2e
Total difficulty can be huge on Gnosis ( #7149 )
...
This fixes the following issue observed on gnosis_withdrawals_devnet_2:
```
[DBUG] [03-21|09:24:15.060] Handling incoming message stream=RecvMessage err="newBlock66: too large block TD: bitlen 144"
```
2023-03-21 09:38:06 +00:00
Andrew Ashikhmin
00b1df6f3a
Update ethereum/tests to v12 ( #7148 )
...
[Tests update 12: Shanghai
tests](https://github.com/ethereum/tests/releases/tag/v12 )
2023-03-21 08:03:22 +00:00
Andrew Ashikhmin
56a3844656
Drop Default from GenesisBlock* functions ( #7147 )
...
Small cosmetic changes and clean-ups
2023-03-20 15:44:22 +00:00
Giulio rebuffo
97e17678ca
fixed fork consensus spec test ( #7143 )
2023-03-20 15:25:52 +00:00
Andrew Ashikhmin
4a1c61a031
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-20 12:01:35 +00:00
Giulio rebuffo
6005bdd8b2
removed stream handler ( #7142 )
2023-03-19 23:15:34 +00:00
Giulio rebuffo
fb00d714b5
added tests for ssz_static in consensus tests and fixed beacon blocks encoding ( #7141 )
2023-03-19 22:47:27 +00:00
Giulio rebuffo
b129a9415e
Update go deps ( #7138 )
2023-03-19 20:13:53 +00:00
Giulio rebuffo
6038ce7c9d
Updated CI to 1.19.0 ( #7139 )
2023-03-19 19:06:33 +00:00
Giulio rebuffo
fc10aef874
removed database functionality from lightclient ( #7135 )
2023-03-18 20:27:37 +00:00
Giulio rebuffo
35a0ba571d
Banning peers sending bad gossip ( #7134 )
2023-03-18 19:45:53 +00:00
Giulio rebuffo
432e5d7ad2
Error handling to beacon chain gossip ( #7132 )
2023-03-18 17:15:59 +00:00
Max Revitt
007e492666
feat(docker): add debug.Dockerfile with delve ( #7125 )
...
- removes dbtools from debug container
- adds delve to debug container
2023-03-18 05:11:03 +00:00
Giulio rebuffo
77a8cf9d5b
refactored sentinel gossip and only connect to nimbus now ( #7127 )
2023-03-17 21:51:19 +00:00
Giulio rebuffo
36828fbb08
Added tool for processing for all mainnet beacon blocks ( #7095 )
2023-03-17 12:37:51 +00:00
alex.sharov
e4b2072a16
--rpc.returndata.limit
2023-03-17 11:21:14 +07:00