Sina M
c3465cb5ba
core: fix dev mode genesis difficulty ( #29469 )
...
The dev mode is nowadays in Merge-mode from genesis, hence the difficulty of the first block should be zero.
8 months ago
Aaron Chen
ed4bc7f27b
all: replace fmt.Errorf() with errors.New() if no param required ( #29472 )
8 months ago
Aaron Chen
cfc7d06cc9
signer/core/apitypes: use slices.Contains ( #29474 )
8 months ago
imalasong
0dc09da7db
all: replace path.Join with filepath.Join ( #29479 )
...
* core/rawdb: replace file.Join with filepath.Join
Signed-off-by: xiaochangbai <704566072@qq.com>
* internal/build: replace file.Join with filepath.Join
Signed-off-by: xiaochangbai <704566072@qq.com>
---------
Signed-off-by: xiaochangbai <704566072@qq.com>
8 months ago
Martin HS
7aafad2233
core/vm: better error-info for vm errors ( #29354 )
8 months ago
Roberto Bayardo
8876868bb8
log: default JSON log handler should log all verbosity levels ( #29471 )
...
Co-authored-by: lightclient <lightclient@protonmail.com>
8 months ago
Aaron Chen
ccb76c01d7
eth/tracers: use slices.Contains ( #29461 )
8 months ago
Aaron Chen
74995bf8a1
all: use slices.Contains ( #29459 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
8 months ago
georgehao
cc348a601e
common/prque: fix godoc comments ( #29460 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
8 months ago
Martin HS
4458905f26
signer/core/apitypes: fix apitypes breakage due to bitrotted PR ( #29470 )
8 months ago
Martin HS
7ee9a6e89f
signer: implement blob txs sendtxargs, enable blobtx-signing ( #28976 )
...
This change makes it possible to sign blob transactions
8 months ago
Felföldi Zsolt
35fcf9c52b
beacon/types: enforce fork order based on known forks list ( #29380 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
8 months ago
Aaron Chen
15ff066a24
trie/utils: change Div+Mod to DivMod ( #29413 )
...
* trie/utils: change Div+Mod to DivMod
* trie/utils: gofmt
8 months ago
Péter Szilágyi
e3bdd84e98
core/txpool: repair the limbo Billy too on unclean shutdowns ( #29451 )
8 months ago
lmittmann
a851e39cbe
core/types: use new atomic types in caches ( #29411 )
...
* use generic atomic types in tx caches
* use generic atomic types in block caches
* eth/catalyst: avoid copying tx in test
---------
Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
8 months ago
lightclient
9cb8de8703
internal/debug: convert legacy log level value in debug_verbosity ( #29356 )
8 months ago
cui
9dfe728909
p2p/discover: using slices.Contains ( #29395 )
8 months ago
guangwu
8bd0334168
crypto/signify: close tmp key file in test ( #29444 )
8 months ago
cui
2e0c5e05ba
p2p/dnsdisc: using clear builtin func ( #29418 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
8 months ago
cui
eea0acc549
log: using maps.Clone ( #29392 )
8 months ago
cui
6b39e9236c
beacon/engine: using slices.Contains ( #29396 )
8 months ago
Marius Kjærstad
1f8f1377e6
build: upgrade -dlgo version to Go 1.22.2 ( #29448 )
8 months ago
cui
7bb3fb1481
eth: simplify peer counting logic ( #29420 )
8 months ago
Ng Wei Han
dfb3d46098
p2p: add inbound and outbound peers metric ( #29424 )
8 months ago
cui
a83e57666d
eth/fetcher: using slices.Contains ( #29383 )
8 months ago
cui
12dcc162d0
common/lru: use clear builtin ( #29399 )
8 months ago
cui
ab6419ccd8
core/state: use maps.Clone ( #29365 )
...
core: using maps.Clone
8 months ago
rjl493456442
fe0bf325a6
cmd/evm: reopen the statedb for dumping ( #29437 )
8 months ago
cui
0bd03dbc55
eth/filter: using atomic.Pointer instead of atomic.Value ( #29435 )
8 months ago
Miles Chen
e63f992fed
rpc: fix ipc max path size ( #29385 )
8 months ago
cui
31e63fcf66
rlp: using maps.Clone ( #29434 )
8 months ago
carehabit
fde90443a4
log: replace the outdated link ( #29412 )
8 months ago
Delweng
8c5576b1ac
eth/tracers: fix base fee and set blob fee in tests ( #29376 )
...
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
8 months ago
cui
6c9f702982
core/types: using maps.Clone ( #29398 )
8 months ago
cui
c39d00e316
trie: using maps.Clone ( #29419 )
8 months ago
Brandon Liu
a3829178af
eth/tracers/js: consistent name for method receivers ( #29375 )
8 months ago
cui
0183c7ad82
eth/tracers/logger: using maps.Equal ( #29384 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
8 months ago
cui
7481398a24
core/state: using slices.Clone ( #29366 )
8 months ago
cui
3754a6cc92
p2p/dnsdisc: using maps.Copy ( #29377 )
8 months ago
rjl493456442
3b77e0ff4b
core: remove unused code ( #29381 )
8 months ago
cui
7aba6511b0
ethdb/dbtest: replace reflect.DeepEqual with slices.Equal ( #29382 )
8 months ago
Sina M
767b00b0b5
t8ntool: add optional call frames to json logger ( #29353 )
...
Adds a flag `--trace.callframes` to t8n which will log info when entering or exiting a call frame in addition to the execution steps.
---------
Co-authored-by: Mario Vega <marioevz@gmail.com>
8 months ago
crazeteam
fa5019de19
accounts/keystore: fix typos in comments ( #29336 )
8 months ago
Pawan Dhananjay
8bb8f23bb2
beacon/engine: Fix json param name in GetClientVersionV1 ( #29351 )
...
Fix json param name
8 months ago
rjl493456442
304879da20
eth/protocols/snap: check storage root existence for hash scheme ( #29341 )
8 months ago
Guillaume Ballet
da7469e5c4
core: add an end-to-end verkle test ( #29262 )
...
core: add a simple verkle test
triedb, core: skip hash comparison in verkle
core: remove legacy daoFork logic in verkle chain maker
fix: nil pointer in tests
triedb/pathdb: add blob hex
core: less defensive
Co-authored-by: Ignacio Hagopian <jsign.uy@gmail.com>
Co-authored-by: Martin HS <martin@swende.se>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
8 months ago
Aaron Chen
723b1e36ad
all: fix mismatched names in comments ( #29348 )
...
* all: fix mismatched names in comments
* metrics: fix mismatched name in UpdateIfGt
8 months ago
jwasinger
58a3e2f180
core/state: perform updates before deletions when mutating tries ( #29201 )
...
This addresses an edge-case (detailed in the code comment) where the computation of the intermediate trie root would force the unnecessary resolution of a hash node. The change makes it so that when we process changes from a block, we first process trie-updates and afterwards process trie-deletions.
8 months ago
Martin HS
1dd898c24e
tests: fix panic via state test runner using json logger ( #29349 )
...
* tests: fix panic via state test runner using json logger
* tests: also invoke OnTxEnd
8 months ago
Aaron Chen
f2a6ac17b2
eth/catalyst: fix flaw in withdrawal-gathering in simulated beacon ( #29344 )
...
return after reaching maxCount
8 months ago