Marius van der Wijden
8f7fbdfedc
core: refactor consensus interface ( #29283 )
...
This PR modifies the consensus interface to wrap the body fields.
2024-03-20 14:58:47 +01:00
Aaron Chen
0444388c74
core/txpool/blobpool: calculate log1.125 faster ( #29300 )
2024-03-20 14:51:05 +01:00
rjl493456442
78c102dec5
core: skip the check the statefulness of head block in repair ( #29245 )
2024-03-20 13:11:30 +01:00
imalasong
22ac46cbdb
Makefile: update PHONY directive ( #29296 )
2024-03-20 13:09:46 +01:00
Chen Kai
afc45510ae
Merge branch 'ethereum:master' into portal
2024-03-20 19:49:15 +08:00
Martin HS
9a7e6ce6f5
cmd/evm: fix flag-mismatch from #29290 ( #29298 )
2024-03-20 10:38:30 +01:00
Martin HS
de08f3d625
cmd/evm: make staterunner always output stateroot to stderr ( #29290 )
...
This changes makes it so that when `evm statetest` executes, regardless of whether `--json` is specified or not, the stateroot is printed on `stderr` as a `jsonl` line. This enables speedier execution of testcases in goevmlab, in cases where full execution op-by-op is not required.
2024-03-20 09:12:58 +01:00
Chen Kai
1cbda9c3a0
Merge branch 'ethereum:master' into portal
2024-03-20 16:04:07 +08:00
fearlseefe
bed6cd9fcf
fix: validate 4844 header failed
2024-03-20 16:03:56 +08:00
Chen Kai
7a225ea6cd
feat:update go version
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-03-20 16:02:26 +08:00
georgehao
0ceac8d00e
metrics: fix docstrings ( #29279 )
2024-03-20 08:51:45 +01:00
miles
45b88abbde
all: fix typos ( #29288 )
2024-03-20 08:49:38 +01:00
zgfzgf
6f929a0762
core/asm: minor code-clarification ( #29293 )
2024-03-20 08:46:50 +01:00
Chen Kai
6994aa9263
Merge branch 'master' into portal1
2024-03-20 15:43:41 +08:00
Chen Kai
b573ba01b0
update go.sum
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-03-20 15:38:50 +08:00
buddho
2604872828
miner: modify header before checking time-based fields ( #29242 )
...
The Prepare-method of consensus engine might modify the time-field in a header, so it should be called prior to checks that rely on it
2024-03-20 15:37:27 +08:00
Tien Nguyen
88b5429651
accounts/abi/bind: check invalid chainID first ( #29275 )
2024-03-20 15:37:27 +08:00
bitcoin-lightning
861dcd048c
beacon/light/sync: fix typo in comment ( #29256 )
2024-03-20 15:37:27 +08:00
Aaron Chen
005a16fa9f
log: replace tmp with bytes.Buffer.AvailableBuffer ( #29287 )
2024-03-20 15:37:27 +08:00
rjl493456442
10f9df48ac
triedb/pathdb: improve tests ( #29278 )
2024-03-20 15:37:27 +08:00
Martin HS
33a2d825f7
all: update to go version 1.22.1 ( #28946 )
...
Since Go 1.22 has deprecated certain elliptic curve operations, this PR removes
references to the affected functions and replaces them with a custom implementation
in package crypto. This causes backwards-incompatible changes in some places.
---------
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-03-20 15:37:23 +08:00
buddho
4c1b57856f
miner: modify header before checking time-based fields ( #29242 )
...
The Prepare-method of consensus engine might modify the time-field in a header, so it should be called prior to checks that rely on it
2024-03-19 15:23:55 +01:00
Tien Nguyen
eda9c7e36f
accounts/abi/bind: check invalid chainID first ( #29275 )
2024-03-19 14:05:31 +01:00
bitcoin-lightning
6b3d4d068a
beacon/light/sync: fix typo in comment ( #29256 )
2024-03-19 14:05:06 +01:00
fearlessfe
37b4382947
fix: rename PortalHistoryConfig to Config
2024-03-19 19:40:32 +08:00
fearlessfe
0b6714dea0
feat: remove flags for hive test
2024-03-19 19:40:32 +08:00
fearlessfe
afeaa102b4
feat: change flag name
2024-03-19 19:40:32 +08:00
fearlessfe
2b6c5eb292
feat: add cli and fix typ error
2024-03-19 19:40:32 +08:00
Aaron Chen
ac6060a4c6
log: replace tmp with bytes.Buffer.AvailableBuffer ( #29287 )
2024-03-19 11:25:30 +01:00
rjl493456442
15eb9773f9
triedb/pathdb: improve tests ( #29278 )
2024-03-19 10:50:08 +08:00
Martin HS
ab49f228ad
all: update to go version 1.22.1 ( #28946 )
...
Since Go 1.22 has deprecated certain elliptic curve operations, this PR removes
references to the affected functions and replaces them with a custom implementation
in package crypto. This causes backwards-incompatible changes in some places.
---------
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-03-18 17:36:50 +01:00
Chen Kai
f949812d61
Merge branch 'ethereum:master' into portal
2024-03-18 18:32:54 +08:00
Martin HS
c611924727
go.mod: update protobuf ( #29270 )
2024-03-18 08:13:55 +01:00
Chen Kai
957cfb1bbe
feat:update utp-go
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-03-15 22:30:01 +08:00
Chen Kai
06f269cbe8
Merge branch 'master' into portal1
2024-03-15 21:11:28 +08:00
Chen Kai
71bc26db8c
feat:update readme
...
Signed-off-by: Chen Kai <281165273grape@gmail.com>
2024-03-15 21:08:16 +08:00
SanYe
ba2dd9385c
accounts/abi/bind: remove unused err set and check ( #29269 )
...
accounts/abi: remove unused err set and check
2024-03-15 10:46:22 +01:00
Martin HS
40cac1d0e2
eth/catalyst: prettier output on bad new payloads ( #29259 )
...
When we receive a bad NewPayload, we currently emit a lot of data to the logging facilities. This PR makes it so we print less data.
2024-03-15 10:44:41 +01:00
shivhg
95715fdb03
eth/downloader, graphql: fix typos ( #29243 )
2024-03-15 10:07:47 +01:00
Haotian
cffb7c8604
params: use the same variable name as EIP-4788 ( #29195 )
...
In https://eips.ethereum.org/EIPS/eip-4788 the name `BEACON_ROOTS_ADDRESS` is used. This change makes geth use the same variable name to avoid confusion.
2024-03-15 09:14:31 +01:00
John Xu
d28adb61bf
cmd/emv/internal/t8ntool: fix shadowing of excessBlobGas ( #29263 )
...
fix(t8n): unexpected `excessBlobGas` shadowed
2024-03-14 14:38:11 +01:00
Ng Wei Han
20d3e0ac06
cmd/devp2p: fix decoding of raw RLP ENR attributes ( #29257 )
2024-03-14 10:32:49 +01:00
Haotian
3c26ffeb29
eth/catalyst: remove error return in delayPayloadImport ( #29043 )
...
Co-authored-by: tmelhao <tmelhao@gmail.com>
2024-03-14 00:26:46 +01:00
Bin
57308beecf
go.mod: update golang.org/x/crypto from v0.17.0 to v0.21.0 ( #29228 )
2024-03-14 00:25:42 +01:00
Martin HS
f3d18d64bf
tests, appveyor: only execute one in four permutations on CI ( #29220 )
...
tests, appveyor: only execute one in four permutations when flag -short is used
Also enable -short flag on all appveyor builds (also ubuntu)
2024-03-13 18:12:23 +01:00
rjl493456442
c170fa277c
core: improve chain rewinding mechanism ( #29196 )
...
* core: improve chain rewinding mechanism
* core: address comment
* core: periodically print progress log
* core: address comments
* core: fix comment
* core: fix rewinding in path
* core: fix beyondRoot condition
* core: polish code
* core: polish code
* core: extend code comment
* core: stop rewinding if chain is gapped or genesis is reached
* core: fix broken tests
2024-03-13 13:39:30 +02:00
Justin Dhillon
b80643b737
accounts/usbwallet, common/bitutil: fix broken links in docs ( #29078 )
...
fixes some links in documentation
2024-03-13 07:54:40 +01:00
Martin HS
d5bacfa4de
crypto/kz4844: pass blobs by ref ( #29050 )
...
This change makes use of the following underlying changes to the kzg-libraries in order to avoid passing large things on the stack:
- c-kzg: https://github.com/ethereum/c-kzg-4844/pull/393 and
- go-kzg: https://github.com/crate-crypto/go-kzg-4844/pull/63
2024-03-13 07:51:46 +01:00
Sina M
eff424cc30
eth/tracers: fix concurrency issue for JS-tracing a block ( #29238 )
...
This change fixes a concurrency-issue where JS-tracers were accessing the block-ctx GetHash function in a in parallel, which is not safe.
2024-03-13 07:40:02 +01:00
Chen Kai
e145ffabdd
Merge branch 'ethereum:master' into portal
2024-03-13 13:07:46 +08:00