Domino Valdano
5d5b384efd
.mailmap: remove invalid email address ( #29163 )
8 months ago
Andrei Silviu Dragnea
19607d1a10
eth/tracers: Fix prestateTracer pre nonce on contract creation ( #29099 )
...
The prestateTracer was reporting an inaccurate nonce for the contract being created in
post EIP-158 transactions. Correct nonce is 0, due to the issue nonce was being reported as 1.
8 months ago
rjl493456442
ca473b81cb
core: use finalized block as the chain freeze indicator ( #28683 )
...
* core: use finalized block as the chain freeze indicator
* core/rawdb: use max(finality, head-90k) as chain freezing threshold
* core/rawdb: fix tests
* core/rawdb: fix lint
* core/rawdb: address comments from peter
* core/rawdb: fix typo
8 months ago
Felix Lange
a97d622588
cmd/devp2p: fix commandHasFlag ( #29091 )
...
It got broken in some update of the cli library, and thus bootnodes weren't
being configured automatically for some of the discovery commands.
8 months ago
psogv0308
35cebc1687
triedb/pathdb: changed the test code to check for verifying state ( #29150 )
...
Co-authored-by: this-is-iron <iron@superblock.co>
8 months ago
buddho
679a27a2b3
all: use EmptyUncleHash, EmptyCodeHash instead of raw value ( #29134 )
8 months ago
cui
5a1e8a6547
core: delete unused ErrMaxInitCodeSizeExceeded ( #29062 )
8 months ago
yzb
b408b3e5fe
accounts/abi: delete duplicate error check ( #29136 )
8 months ago
yzb
a732ad0364
p2p: remove unused argument 'flags' ( #29132 )
8 months ago
Undefinedor
00905f7dc4
all: remove redundant import aliases ( #29144 )
8 months ago
Péter Szilágyi
0b1438c3df
eth: make transaction propagation paths in the network deterministic ( #29034 )
...
* eth: make transaction propagation paths in the network deterministic
* eth: avoid potential division by 0
* eth: make tx propagation dependent on local node id too
* eth: fix review comments
8 months ago
Sina Mahmoodi
0a2f33946b
eth/catalyst: update simulated beacon for cancun ( #28829 )
...
* eth/catalyst: update simulated beacon for cancun
* validate blob hashes
* compute hashes from commitment
* fix beacon root and payload version
* check commitment conversion
* fix random attr
* flip dev to cancun
8 months ago
Péter Szilágyi
865e1e9f57
cmd/utils, core/rawdb, triedb/pathdb: flip hash to path scheme ( #29108 )
...
* cmd/utils, core/rawdb, triedb/pathdb: flip hash to path scheme
* graphql: run tests in hash mode as the chain maker needs it
8 months ago
yzb
db4cf69166
all: replace fmt.Errorf() with errors.New() if no param required ( #29126 )
...
replace-fmt-errorf
Co-authored-by: yzb@example.cn <yzb@example.cn>
9 months ago
Ng Wei Han
28d55218f7
cmd/geth: parseDumpConfig should not return closed db ( #29100 )
...
* cmd: parseDumpConfig should not return closed db
* fix lint
9 months ago
cui fliter
dbc27a199f
all: fix function names in docs ( #29128 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
9 months ago
lightclient
1883438964
eth/catalyst: return invalid payload attributes instead of invalid parms for bad fcu payload ( #29115 )
9 months ago
buddho
9986a69c25
internal/ethapi: pass in accesslist in test ( #29089 )
...
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
9 months ago
rjl493456442
5bae14f9df
triedb/pathdb: fix panic in recoverable ( #29107 )
...
* triedb/pathdb: fix panic in recoverable
* triedb/pathdb: add todo
* triedb/pathdb: rename
* triedb/pathdb: rename
9 months ago
rjl493456442
49623bd469
core, triedb/pathdb: calculate the size for batch pre-allocation ( #29106 )
...
* core, triedb/pathdb: calculate the size for batch pre-allocation
* triedb/pathdb: address comment
9 months ago
Péter Szilágyi
170fcd80c6
params: being major version bump cycle
9 months ago
cui
02d77c98f9
core: using math.MaxUint64 instead of 0xffffffffffffffff ( #29094 )
9 months ago
Péter Szilágyi
57d2b552c7
params: begin v1.13.15 cycle
9 months ago
Péter Szilágyi
9038ba6942
params: release Geth v1.13.14
9 months ago
Roberto Bayardo
51b479e564
core/txpool: elevate the 'already reserved' error into a constant ( #29095 )
...
declare the 'already reserved' error in errors.go
9 months ago
Andrei Silviu Dragnea
5a0f468f8c
eth/tracers: Fix callTracer logs on onlyTopCall == true ( #29068 )
9 months ago
Delweng
45a272c7b9
core/txpool: no need to log loud rotate if no local txs ( #29083 )
...
* core/txpool: no need to run rotate if no local txs
Signed-off-by: jsvisa <delweng@gmail.com>
* Revert "core/txpool: no need to run rotate if no local txs"
This reverts commit 17fab17388
.
Signed-off-by: jsvisa <delweng@gmail.com>
* use Debug if todo is empty
Signed-off-by: jsvisa <delweng@gmail.com>
---------
Signed-off-by: jsvisa <delweng@gmail.com>
9 months ago
Péter Szilágyi
63aaac8100
core/txpool/blobpool: reduce default database cap for rollout ( #29090 )
...
xcore/txpool/blobpool: reduce default database cap for rollout
9 months ago
cui
c1f59b98f6
eth/catalyst: remove variable in tx conversion loop ( #29076 )
9 months ago
Justin Dhillon
821d70240d
cmd/clef: add spaces in README.md table ( #29077 )
...
Add space after links in so they are clickable in vscode.
9 months ago
maskpp
8bca93e82c
internal/ethapi: pass blob hashes to gas estimation ( #29085 )
9 months ago
cui
edffacca8f
eth/catalyst: enable some commented-out testcases ( #29073 )
9 months ago
Qt
26724fc2aa
p2p, log, rpc: use errors.New to replace fmt.Errorf with no parameters ( #29074 )
9 months ago
Roberto Bayardo
32d4d6e616
core/txpool: reject blob txs with blob fee cap below the minimum ( #29081 )
...
* make blobpool reject blob transactions with fee below the minimum
* core/txpool: some minot nitpick polishes and unified error formats
* core/txpool: do less big.Int constructions with the min blob cap
---------
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
9 months ago
Haotian
93c541ad56
eth/catalyst: fix wrong error message of payloadV2 after cancun ( #29049 )
...
* eth/catalyst: the same error format
Signed-off-by: tmelhao <tmelhao@gmail.com>
* eth/catalyst: wrong error message for payloadV2 post-cancun
Signed-off-by: tmelhao <tmelhao@gmail.com>
* eth/catalyst: parentBeaconBlockRoot -> parentBlockBeaconRoot
Signed-off-by: tmelhao <tmelhao@gmail.com>
* apply commit review
Signed-off-by: tmelhao <tmelhao@gmail.com>
---------
Signed-off-by: tmelhao <tmelhao@gmail.com>
Co-authored-by: tmelhao <tmelhao@gmail.com>
9 months ago
colin
b87b9b4533
internal/ethapi:fix zero rpc gas cap in eth_createAccessList ( #28846 )
...
This PR enhances eth_createAccessList RPC call to support scenarios where the node is launched with an unlimited gas cap (--rpc.gascap 0). The eth_createAccessList RPC call returns failure if user doesn't explicitly set a gas limit.
9 months ago
ArtificialPB
e47a7c22c4
internal/ethapi: use overriden baseFee for gasPrice ( #29051 )
...
eth_call and debug_traceCall allow users to override various block fields, among them base fee. However the overriden base fee was not considered for computing the effective gas price of that message, and instead base fee of the base block was used. This has been fixed in this commit.
9 months ago
Felix Lange
b590cae892
params: begin v1.13.14 release cycle
9 months ago
Felix Lange
3b4ede7444
params: release go-ethereum v1.13.13 stable
9 months ago
Sina Mahmoodi
b47cf8fe1d
internal/ethapi: fix defaults for blob fields ( #29037 )
...
Co-authored-by: Martin HS <martin@swende.se>
9 months ago
colin
b9ca38b735
core/txpool: fix typo ( #29036 )
...
* fix typos
* address comments
9 months ago
Haotian
79e340fb12
params: add cancun upgrade banner ( #29042 )
...
params: add cancun banner
Signed-off-by: tmelhao <tmelhao@gmail.com>
Co-authored-by: tmelhao <tmelhao@gmail.com>
9 months ago
buddho
bba3fa9af9
core,eth,internal: fix typo ( #29024 )
9 months ago
buddho
7f5e96dc6c
core/txpool: fix typo ( #29031 )
9 months ago
Péter Szilágyi
f4852b8ddc
core/txpool, eth, miner: retrieve plain and blob txs separately ( #29026 )
...
* core/txpool, eth, miner: retrieve plain and blob txs separately
* core/txpool: fix typo, no farming
* miner: farm all the typos
Co-authored-by: Martin HS <martin@swende.se>
---------
Co-authored-by: Martin HS <martin@swende.se>
9 months ago
Martin HS
ac0ff04460
core/vm, params: ensure order of forks, prevent overflow ( #29023 )
...
This PR fixes an overflow which can could happen if inconsistent blockchain rules were configured. Additionally, it tries to prevent such inconsistencies from occurring by making sure that merge cannot be enabled unless previous fork(s) are also enabled.
9 months ago
Péter Szilágyi
6fb0d0992b
core/txpool, miner: speed up blob pool pending retrievals ( #29008 )
...
* core/txpool, miner: speed up blob pool pending retrievals
* miner: fix test merge issue
* eth: same same
* core/txpool/blobpool: speed up blobtx creation in benchmark a bit
* core/txpool/blobpool: fix linter
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
9 months ago
cui
5d984796af
core: using math.MaxUint64 instead of 0xffffffffffffffff ( #29022 )
9 months ago
rjl493456442
034bc4669f
ethstats: prevent panic if head block is not available ( #29020 )
...
This pull request fixes a flaw in ethstats which can lead to node crash
A panic could happens when the local blockchain is reorging which causes the original head block not to be reachable (since number->hash canonical mapping is deleted). In order to prevent the panic, the block nilness is now checked in ethstats.
9 months ago
Péter Szilágyi
593e303485
core/txpool, eth, miner: pre-filter dynamic fees during pending tx retrieval ( #29005 )
...
* core/txpool, eth, miner: pre-filter dynamic fees during pending tx retrieval
* miner: fix typo
* core/txpool: handle init-error in blobpool without panicing
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
9 months ago