Commit Graph

17856 Commits

Author SHA1 Message Date
racytech
04b57904b0
eip-4844: excessDataGas param added to block execution functions (#7217)
Small addition to block execution functions. Now they expect
excessDataGas param so the BlockContext can be created with it.
2023-03-30 20:42:43 +00:00
Andrew Ashikhmin
f590ba3ccb
Remove Sokol (#7224)
Sokol chain is dead: https://blockscout.com/poa/sokol
2023-03-30 14:34:46 +00:00
alex.sharov
d9f8cc25d3 close memdb in ./cmd/evm 2023-03-30 12:21:22 +07:00
Alex Sharov
2161c5ed8c
stop using olddb in simulated backend (#7219) 2023-03-30 03:31:15 +00:00
Alex Sharov
3008c25c9e
e3: enable simulated backed (#7218) 2023-03-30 02:53:06 +00:00
alex.sharov
f3ff8dd438 sqlite version up 2023-03-30 09:15:06 +07:00
alex.sharov
331f3ed871 e3: deadlock fix 2023-03-30 09:06:40 +07:00
ledgerwatch
8bb83fe770
Skip test in fork_graph_test.go (#7216) 2023-03-29 20:35:21 +00:00
Giulio rebuffo
2f482b8789
Fork-choice graph oriented implementation (#7212) 2023-03-29 16:16:45 +00:00
Alex Sharov
592ec1ee0d
e4: step 1 to run tests (#7209) 2023-03-29 14:01:27 +00:00
Alex Sharov
f541f616e6
e3: one more reconst deadlock fix (#7207) 2023-03-29 07:32:31 +00:00
Alex Sharov
417a437584
Break dependency of ethcfg package to core/consensus/etc... move genesis struct to 'types' package (#7206) 2023-03-29 07:27:06 +00:00
racytech
975e38a800
eip-4844: NewEVMBlockContext now expects excessDataGas (#7203)
Small change in core.NewEVMBlockContext and now it expects
excessDataGas. This will be used in state transition to compute data fee
for eip-4844 data blobs. The logic that computes it will be added in the
next PRs.
2023-03-29 06:39:36 +00:00
alex.sharov
3ce1b9b5ce e4: add tests flag 2023-03-29 11:55:45 +07:00
alex.sharov
afe0e385d2 e4: add flag in tests 2023-03-29 11:51:05 +07:00
Andrew Ashikhmin
db726a0a3d
Release transaction in EngineGetPayloadBodiesByRangeV1 (and by hash) (#7199)
Should hopefully help with Issue #7172
2023-03-28 15:27:14 +00:00
Andrew Ashikhmin
e5e97ce1f0
Add maxNumberOfFailedWithdrawalsToProcess to executeSystemWithdrawals (#7197)
See https://github.com/gnosischain/specs/pull/3
2023-03-28 14:05:32 +00:00
Andrew Ashikhmin
b85d22b46d
log BLS verification failure (#7196) 2023-03-28 11:34:25 +00:00
alex.sharov
340cf1b3e3 e3: one more reconst deadlock fix 2023-03-28 10:57:12 +07:00
alex.sharov
bc1b142dec add netgo tag 2023-03-28 09:48:14 +07:00
gfx
7f28889e7b
hopefully fix #7130 (#7193)
i think issue is
https://github.com/golang/go/issues/30310#issuecomment-471669125

i was able to reproduce on my machine using go releaser dry run, and
adding this build flag fixed it.

apparently its some glibc issue, what a surprise! :)

Co-authored-by: a <a@tuxpa.in>
2023-03-28 02:43:18 +00:00
Giulio rebuffo
ab3a1d2ce5
Remove propagation of lightclient updates (#7192) 2023-03-27 22:42:40 +00:00
racytech
70bc7f7a25
eip-4844: small additions and modified gaspool (#7190)
This PR contains very small EIP-4844 additions. GasPool is modified and
now it is a struct with 2 fields "gas" and "dataGas" (blobs are priced
in dataGas). ExcessDataGas block header field added. ExcessDataGas
needed to compute the data gas price. EIP-4844 helper functions are
added as well.
2023-03-27 21:39:15 +00:00
Giulio rebuffo
540af96ef7
removed --el.enabled (#7187) 2023-03-27 10:12:31 +00:00
Alex Sharov
be860e38d3
e3: recon deadlock fix (#7186) 2023-03-27 03:15:54 +00:00
Giulio rebuffo
628f52dd6c
Added reverse beacon changeset for beacon state rewind (#7185)
Added changesets for beacon chain to implement memory efficient fork
choice
2023-03-26 22:25:08 +00:00
ledgerwatch
e38605b8b2
bump version (#7184) 2023-03-26 17:53:20 +00:00
alex.sharov
0f14970689 kv_temporal lost commit 2023-03-26 12:15:08 +07:00
alex.sharov
5ddb86d5fd clean 2023-03-26 11:13:30 +07:00
alex.sharov
19cf48affb prevent infinity unwind when no --unwind.every flag set 2023-03-26 10:52:31 +07:00
alex.sharov
3913a99341 integration temporal db 2023-03-26 10:36:23 +07:00
Alex Sharov
cff73b8aec
add constant kv.Unlim=-1 (#7183) 2023-03-26 03:18:04 +00:00
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