Darioush Jalali
f46fe62c5d
triedb/hashdb: Avoid setting db.cleans on Close ( #29309 )
8 months ago
Martin HS
14eb8967be
all: use min/max/clear from go1.21 ( #29307 )
8 months ago
Felix Lange
bca6c40709
beacon/blsync: support for deneb fork ( #29180 )
...
This adds support for the Deneb beacon chain fork, and fork handling
in general, to the beacon chain light client implementation.
Co-authored-by: Zsolt Felfoldi <zsfelfoldi@gmail.com>
8 months ago
Martin HS
04bf1c802f
eth/protocols/snap, internal/testlog: fix dataraces ( #29301 )
8 months ago
Marius van der Wijden
8f7fbdfedc
core: refactor consensus interface ( #29283 )
...
This PR modifies the consensus interface to wrap the body fields.
8 months ago
Aaron Chen
0444388c74
core/txpool/blobpool: calculate log1.125 faster ( #29300 )
8 months ago
rjl493456442
78c102dec5
core: skip the check the statefulness of head block in repair ( #29245 )
8 months ago
imalasong
22ac46cbdb
Makefile: update PHONY directive ( #29296 )
8 months ago
Martin HS
9a7e6ce6f5
cmd/evm: fix flag-mismatch from #29290 ( #29298 )
8 months ago
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.
8 months ago
georgehao
0ceac8d00e
metrics: fix docstrings ( #29279 )
8 months ago
miles
45b88abbde
all: fix typos ( #29288 )
8 months ago
zgfzgf
6f929a0762
core/asm: minor code-clarification ( #29293 )
8 months ago
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
8 months ago
Tien Nguyen
eda9c7e36f
accounts/abi/bind: check invalid chainID first ( #29275 )
8 months ago
bitcoin-lightning
6b3d4d068a
beacon/light/sync: fix typo in comment ( #29256 )
8 months ago
Aaron Chen
ac6060a4c6
log: replace tmp with bytes.Buffer.AvailableBuffer ( #29287 )
8 months ago
rjl493456442
15eb9773f9
triedb/pathdb: improve tests ( #29278 )
8 months ago
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>
8 months ago
Martin HS
c611924727
go.mod: update protobuf ( #29270 )
8 months ago
SanYe
ba2dd9385c
accounts/abi/bind: remove unused err set and check ( #29269 )
...
accounts/abi: remove unused err set and check
8 months ago
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.
8 months ago
shivhg
95715fdb03
eth/downloader, graphql: fix typos ( #29243 )
8 months ago
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.
8 months ago
John Xu
d28adb61bf
cmd/emv/internal/t8ntool: fix shadowing of `excessBlobGas` ( #29263 )
...
fix(t8n): unexpected `excessBlobGas` shadowed
8 months ago
Ng Wei Han
20d3e0ac06
cmd/devp2p: fix decoding of raw RLP ENR attributes ( #29257 )
8 months ago
Haotian
3c26ffeb29
eth/catalyst: remove error return in delayPayloadImport ( #29043 )
...
Co-authored-by: tmelhao <tmelhao@gmail.com>
8 months ago
Bin
57308beecf
go.mod: update golang.org/x/crypto from v0.17.0 to v0.21.0 ( #29228 )
8 months ago
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)
8 months ago
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
8 months ago
Justin Dhillon
b80643b737
accounts/usbwallet, common/bitutil: fix broken links in docs ( #29078 )
...
fixes some links in documentation
8 months ago
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
8 months ago
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.
8 months ago
Felix Lange
758fce71fa
p2p: fix race in dialScheduler ( #29235 )
...
Co-authored-by: Stefan <stefan@starflinger.eu>
8 months ago
Marius van der Wijden
6c76b813df
miner: add additional log ( #29193 )
...
Adds a debug level log if the payload building failed for whatever reason
8 months ago
Aaron Chen
4bd55a064c
common/math: copy result in Exp ( #29233 )
...
common/math: does not change base parameter
8 months ago
Shiming Zhang
99bbbc0277
internal/build, rpc: add missing HTTP response body Close() calls ( #29223 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
8 months ago
Bin
89cefe240f
cmd: use package filepath over path for file system operations ( #29227 )
...
Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
Package path implements utility routines for manipulating slash-separated paths.
The path package should only be used for paths separated by forward slashes, such as the paths in URLs
8 months ago
San Ye
4e1116f9c5
crypto/bn256/cloudflare: fix noescape-directive ( #29222 )
8 months ago
guangwu
ebf9e11af2
beacon/light/request: fix typos ( #29216 )
8 months ago
Sina Mahmoodi
fa4ade8ecb
core: fix deprecation comment for GenesisAccount ( #29218 )
...
core: fix deprecation comment
8 months ago
Lee Bousfield
00c21128ef
core/txpool/blobpool: return ErrAlreadyKnown for duplicate txs ( #29210 )
...
Signed-off-by: Lee Bousfield <ljbousfield@gmail.com>
8 months ago
Péter Szilágyi
b393ad8d29
cmd, core, metrics: always report expensive metrics ( #29191 )
...
* cmd, core, metrics: always report expensive metrics
* core, metrics: report block processing metrics as resetting timer
* metrics: update reporter tests
8 months ago
Kero
3dc549b3d7
p2p/simulations/adapters: fix error messages in TestTCPPipeBidirections ( #29207 )
8 months ago
Haotian
e31709db65
console: fix the wrong error msg of datadir testcase ( #29183 )
8 months ago
colin
d35c8f0c25
ethclient/gethclient: add blob transaction fields in toCallArg ( #29198 )
8 months ago
Sebastian Stammler
c41105ce80
log: add Handler getter to Logger interface ( #28793 )
...
log: Add Handler getter to Logger interface
8 months ago
hyhnet
cd490608e3
all: fix typos in comments ( #29186 )
8 months ago
cuinix
3bebabbd03
accounts: remove redundant string conversion ( #29184 )
8 months ago
Felföldi Zsolt
aadcb88675
cmd/blsync, beacon/light: beacon chain light client ( #28822 )
...
Here we add a beacon chain light client for use by geth.
Geth can now be configured to run against a beacon chain API endpoint,
without pointing a CL to it. To set this up, use the `--beacon.api` flag. Information
provided by the beacon chain is verified, i.e. geth does not blindly trust the beacon
API endpoint in this mode. The root of trust are the beacon chain 'sync committees'.
The configured beacon API endpoint must provide light client data. At this time, only
Lodestar and Nimbus provide the necessary APIs.
There is also a standalone tool, cmd/blsync, which uses the beacon chain light client
to drive any EL implementation via its engine API.
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
8 months ago