dknopik
b0f66e34ca
p2p/nat: return correct port for ExtIP NAT ( #30234 )
...
Return the actually requested external port instead of 0 in the
AddMapping implementation for `--nat extip:<IP>`.
4 months ago
lightclient
f94baab238
internal/ethapi: fix state override test ( #30228 )
...
Looks like #30094 became a bit stale after #30185 was merged and now we
have a stale ref to a state override object causing CI to fail on
master.
4 months ago
caseylove
ac0f220040
eth/tracers, internal/ethapi: remove unnecessary map pointer in state override ( #30094 )
4 months ago
yukionfire
4dfc75deef
beacon/types, cmd/devp2p, p2p/enr: clean up uses of fmt.Errorf ( #30182 )
4 months ago
rjl493456442
4ad88e9463
triedb/pathdb: print out all trie owner and hash information ( #30200 )
...
This pull request explicitly prints out the full hash for debugging
purpose.
4 months ago
rjl493456442
766ce23032
core/state: fix SetStorage override behavior ( #30185 )
...
This pull request fixes the broken feature where the entire storage set is overridden.
Originally, the storage set override was achieved by marking the associated account
as deleted, preventing access to the storage slot on disk. However, since #29520 , this
flag is also checked when accessing the account, rendering the account unreachable.
A fix has been applied in this pull request, which re-creates a new state object with all
account metadata inherited.
4 months ago
minh-bq
35b4183caa
cmd/utils: allow configurating blob pool from flags ( #30203 )
...
Currently, we have 3 flags to configure blob pool. However, we don't
read these flags and set the blob pool configuration in eth config
accordingly. This commit adds a function to check if these flags are
provided and set blob pool configuration based on them.
4 months ago
rjl493456442
1939813ece
core/state: check db error after intermediate call ( #30171 )
...
This pull request adds an additional error check after statedb.IntermediateRoot,
ensuring that no errors occur during this call. This step is essential, as the call might
encounter database errors.
4 months ago
minh-bq
6693fe1be2
core/txpool: use the cached address in ValidateTransactionWithState ( #30208 )
...
The address recover is executed and cached in ValidateTransaction already. It's
expected that the cached one is returned in ValidateTransaction. However,
currently, we use the wrong function signer.Sender instead of types.Sender which
will do all the address recover again.
4 months ago
Sina M
7026bae17c
core/tracing: update latest release version ( #30211 )
4 months ago
zhiqiangxu
57e6627932
rpc: show more error detail for `invalidMessageError` ( #30191 )
...
Here we add distinct error messages for network timeouts and JSON parsing errors.
Note this specifically applies to HTTP connections serving a single RPC request.
Co-authored-by: Felix Lange <fjl@twurst.com>
4 months ago
rjl493456442
ef583e9d18
core/state: remove useless metrics ( #30184 )
...
Originally, these metrics were added to track the largest storage wiping.
Since account self-destruction was deprecated with the Cancun fork,
these metrics have become meaningless.
4 months ago
lightclient
7abe84c8d7
rpc: use stable object in notifier test ( #30193 )
...
This makes the test resilient to changes of types.Header -- otherwise the test needs to be
updated each time the header structure is modified.
4 months ago
Marius van der Wijden
380688c636
eth/gasprice: remove default from config ( #30080 )
...
* eth/gasprice: remove default from config
* eth/gasprice: sanitize startPrice
4 months ago
Sina M
944718bf16
ethdb: remove snapshot ( #30189 )
4 months ago
Alexander Mint
df3f0a81a7
go.mod: upgrade to btcsuite/btcd/btcec v2.3.4 ( #30181 )
4 months ago
Felix Lange
ad49c708f5
p2p/discover: remove type encPubkey ( #30172 )
...
The pubkey type was moved to package v4wire a long time ago. Remaining uses of
encPubkey were probably left in due to laziness.
4 months ago
rjl493456442
f59d013e40
core/rawdb, triedb, cmd: create an isolated disk namespace for verkle ( #30105 )
...
* core, triedb/pathdb, cmd: define verkle state ancient store
* core/rawdb, triedb: add verkle namespace in pathdb
4 months ago
Guillaume Ballet
c54294bd41
core/state: don't compute verkle storage tree roots ( #30130 )
4 months ago
maskpp
15936c64a2
core/txpool/legacypool: use maps.Keys and maps.Copy ( #30091 )
4 months ago
rjl493456442
b530d8e455
trie, triedb: remove unnecessary child resolver interface ( #30167 )
4 months ago
Jordan Krage
0d38b0cd34
eth/catalyst: fix (*SimulatedBeacon).AdjustTime() conversion ( #30138 )
4 months ago
zhiqiangxu
71210b0630
all: simplify tests using t.TempDir() ( #30150 )
4 months ago
JeukHwang
8adce57b41
SECURITY.md: correct PGP key block formatting ( #30123 )
4 months ago
Danyal Prout
a0d2613ef0
core/types: don't modify signature V when reading large chainID ( #30157 )
4 months ago
Jeremy Schlatter
169aa91449
cmd/utils: fix typo in flag description ( #30127 )
4 months ago
Nathan Jo
4bbe993252
p2p: fix ip change log parameter ( #30158 )
4 months ago
Guillaume Ballet
79d2327771
trie: add RollBackAccount function to verkle trees ( #30135 )
4 months ago
minh-bq
a0631f3ebd
core/txpool/blobpool: use nonce from argument instead of tx.Nonce() ( #30148 )
...
This does not change the behavior here as the nonce in the argument is
tx.Nonce(). This commit helps to make the function easier to read and avoid
capturing the tx in the function.
4 months ago
rjl493456442
cf0378499f
core/state: fix prefetcher for verkle ( #29760 )
4 months ago
Felix Lange
bcaf3747f8
params: begin v1.14.8 release cycle
4 months ago
Felix Lange
0aafbb31ab
params: go-ethereum v1.14.7 stable
4 months ago
Marius van der Wijden
803dc6b664
core/txpool/blobpool: revert #29989 , WLock on Nonce ( #30142 )
4 months ago
Aayush Rajasekaran
37590b2c55
eth/catalyst: fix params in failure log ( #30131 )
4 months ago
Martin HS
10467acc71
go.mod: update uint256 to 1.3.0 ( #30134 )
4 months ago
zhiqiangxu
c4b4d05e69
crypto: remove hardcoded value for secp256k1.N ( #30126 )
4 months ago
Marius Kjærstad
2d9d423764
build: upgrade -dlgo version to Go 1.22.5 ( #30112 )
4 months ago
Felix Lange
c6cae0f300
Merge remote-tracking branch 'gballet/release-1.14.6'
4 months ago
Guillaume Ballet
640e0f15fd
params: begin v1.14.7 release cycle
4 months ago
Guillaume Ballet
6f2e1cff47
params: release Geth v1.14.6
4 months ago
winniehere
de366fd2e2
accounts/abi: embed Go template instead of string literal ( #30098 )
...
refactor(accounts/abi): use embed pkg to split default template to file
4 months ago
Hteev Oli
09056601d8
core/state: fix inconsistent verkle test error messages ( #29753 )
4 months ago
jwasinger
41abab9e39
build: add check for stale generated files ( #30037 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
4 months ago
jwasinger
a4e338f05e
accounts/usbwallet/trezor: upgrade to generate with protoc 27.1 ( #30058 )
4 months ago
Ceyhun Onur
7cfff30ba3
rpc: truncate call error data logs ( #30028 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
4 months ago
gitglorythegreat
06f1d077d3
all: replace division with right shift if possible ( #29911 )
4 months ago
maskpp
4939c25341
cmd/evm/internal/t8ntool: log writeTraceResult error message ( #30038 )
4 months ago
maskpp
36d67be41b
core/txpool/blobpool: improve newPriceHeap function ( #30050 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
4 months ago
lilasxie
19c3c1e205
triedb/pathdb: fix flaky test in pathdb ( #29901 )
4 months ago
rjl493456442
045b9718d5
trie: relocate state execution logic into pathdb package ( #29861 )
5 months ago