buddho
679a27a2b3
all: use EmptyUncleHash, EmptyCodeHash instead of raw value ( #29134 )
2024-03-04 10:31:18 +01:00
cui
5a1e8a6547
core: delete unused ErrMaxInitCodeSizeExceeded ( #29062 )
2024-03-04 10:30:15 +01:00
yzb
b408b3e5fe
accounts/abi: delete duplicate error check ( #29136 )
2024-03-04 10:24:24 +01:00
yzb
a732ad0364
p2p: remove unused argument 'flags' ( #29132 )
2024-03-04 10:16:05 +01:00
Undefinedor
00905f7dc4
all: remove redundant import aliases ( #29144 )
2024-03-02 22:42:50 +02:00
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
2024-03-02 22:39:22 +02:00
Sina Mahmoodi
923c180058
rename Capture hooks to On
2024-02-29 17:18:43 +01:00
Sina Mahmoodi
d10d4b7626
rm old logger file
2024-02-29 16:38:54 +01:00
Sina Mahmoodi
ad7b9e8cd4
a type for each hook
2024-02-29 16:22:34 +01:00
Sina Mahmoodi
021d6a4870
assign const values for gas change reasons
2024-02-29 15:33:23 +01:00
Sina Mahmoodi
f358e57490
rename scopeContext to opContext
2024-02-29 15:13:03 +01:00
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
2024-02-29 14:17:32 +02:00
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
2024-02-29 12:40:59 +02:00
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>
2024-02-29 11:56:46 +02:00
Ng Wei Han
28d55218f7
cmd/geth: parseDumpConfig should not return closed db ( #29100 )
...
* cmd: parseDumpConfig should not return closed db
* fix lint
2024-02-29 11:56:17 +02:00
cui fliter
dbc27a199f
all: fix function names in docs ( #29128 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2024-02-29 11:29:06 +02:00
lightclient
1883438964
eth/catalyst: return invalid payload attributes instead of invalid parms for bad fcu payload ( #29115 )
2024-02-28 19:59:16 +01:00
Sina Mahmoodi
507c072b3b
rename GetLogger to Hooks
2024-02-28 19:41:58 +01:00
Sina Mahmoodi
a2829c6f49
rename LiveLogger to hooks
2024-02-28 19:38:04 +01:00
Sina Mahmoodi
7d8db9b503
move logger interface to core/tracing
2024-02-28 19:34:49 +01:00
Sina Mahmoodi
d65bad2f62
renaming GetLogger
2024-02-28 19:27:39 +01:00
Sina Mahmoodi
8cc747f439
moaar fixes
2024-02-28 19:20:17 +01:00
buddho
9986a69c25
internal/ethapi: pass in accesslist in test ( #29089 )
...
Co-authored-by: Sina Mahmoodi <itz.s1na@gmail.com>
2024-02-28 18:38:21 +01:00
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
2024-02-28 14:40:28 +02:00
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
2024-02-28 14:23:52 +02:00
Péter Szilágyi
170fcd80c6
params: being major version bump cycle
2024-02-28 10:01:52 +02:00
cui
02d77c98f9
core: using math.MaxUint64 instead of 0xffffffffffffffff ( #29094 )
2024-02-28 15:25:12 +08:00
Sina Mahmoodi
a1877ab520
fixes, rm t8ntool tracewriter
2024-02-27 20:31:01 +01:00
Sina Mahmoodi
60c29ac5a2
fix goja scope object wrappers
2024-02-27 16:51:47 +01:00
Sina Mahmoodi
22234e9cc1
fix memory copy util func
2024-02-27 16:32:21 +01:00
Péter Szilágyi
57d2b552c7
params: begin v1.13.15 cycle
2024-02-27 13:53:30 +02:00
Péter Szilágyi
9038ba6942
params: release Geth v1.13.14
2024-02-27 13:50:30 +02:00
Roberto Bayardo
51b479e564
core/txpool: elevate the 'already reserved' error into a constant ( #29095 )
...
declare the 'already reserved' error in errors.go
2024-02-27 13:27:50 +02:00
Andrei Silviu Dragnea
5a0f468f8c
eth/tracers: Fix callTracer logs on onlyTopCall == true ( #29068 )
2024-02-27 10:29:12 +01:00
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>
2024-02-26 18:34:45 +02:00
Péter Szilágyi
63aaac8100
core/txpool/blobpool: reduce default database cap for rollout ( #29090 )
...
xcore/txpool/blobpool: reduce default database cap for rollout
2024-02-26 14:27:56 +02:00
cui
c1f59b98f6
eth/catalyst: remove variable in tx conversion loop ( #29076 )
2024-02-26 13:22:13 +01:00
Justin Dhillon
821d70240d
cmd/clef: add spaces in README.md table ( #29077 )
...
Add space after links in so they are clickable in vscode.
2024-02-26 11:03:59 +01:00
maskpp
8bca93e82c
internal/ethapi: pass blob hashes to gas estimation ( #29085 )
2024-02-26 11:02:18 +01:00
cui
edffacca8f
eth/catalyst: enable some commented-out testcases ( #29073 )
2024-02-26 10:59:03 +01:00
Qt
26724fc2aa
p2p, log, rpc: use errors.New to replace fmt.Errorf with no parameters ( #29074 )
2024-02-26 11:25:35 +02:00
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>
2024-02-26 11:06:52 +02:00
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>
2024-02-23 10:57:47 +02:00
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.
2024-02-22 16:35:23 +01:00
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.
2024-02-22 14:39:22 +01:00
Sina Mahmoodi
f434c8df56
Add canceler interface
2024-02-21 18:54:15 +01:00
Sina Mahmoodi
fc35780124
full struct-based tracing infra
2024-02-21 18:47:59 +01:00
Felix Lange
b590cae892
params: begin v1.13.14 release cycle
2024-02-21 15:49:50 +01:00
Felix Lange
3b4ede7444
params: release go-ethereum v1.13.13 stable
2024-02-21 15:44:02 +01:00
Sina Mahmoodi
b47cf8fe1d
internal/ethapi: fix defaults for blob fields ( #29037 )
...
Co-authored-by: Martin HS <martin@swende.se>
2024-02-21 12:46:32 +01:00