Delweng
1af9e4f34c
cm/puppeth: fix crash when of ethstats specifier doesn't contain `:` ( #25405 )
...
Signed-off-by: Delweng <delweng@gmail.com>
2 years ago
Seungbae Yu
029059947a
all: use AbsTime.Add instead of conversion ( #25417 )
2 years ago
lightclient
9ad508018e
ethereum, ethclient: add FeeHistory support ( #25403 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2 years ago
Marius van der Wijden
377c7d799f
eth/catalyst: return 0x0 if latestvalid is pow block ( #25423 )
...
* eth/catalyst: return 0x0 if latestvalid is pow block
* eth/catalyst: return 0x0 if latestvalid is pow block
* eth/catalyst: fix header retrieval, fix sign check
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2 years ago
Marius van der Wijden
f3549814a9
eth/catalyst: return syncing not accepted ( #25414 )
...
* eth/catalyst: return syncing not accepted
* eth/catalyst: fix test
2 years ago
Marius van der Wijden
f26b63089a
node: set JWT expiry to 60 seconds ( #25416 )
...
* node: set JWT expiry to 60 seconds
* node: rename var
2 years ago
Péter Szilágyi
c02b0488fb
Merge pull request #25428 from karalabe/engineapi-snap-import-deny
...
eth/catalyst: fix NewPayload warn log when dropping due to snap sync
2 years ago
Péter Szilágyi
ad7106dfc4
eth/catalyst: fix NewPayload warn log when dropping due to snap sync
2 years ago
rjl493456442
9d76a9b94f
core, trie, eth, cmd: rework preimage store ( #25287 )
...
* core, trie, eth, cmd: rework preimage store
* trie: address comment
2 years ago
Felix Lange
54007f5e0a
params: begin v1.10.22 release cycle
2 years ago
Felix Lange
671094279e
params: go-ethereum v1.10.21 stable
2 years ago
rjl493456442
14b0eedacf
go.mod: downgrade leveldb ( #25413 )
2 years ago
Marius van der Wijden
c6dcd018d2
core: eth: rpc: implement safe rpc block ( #25165 )
...
* core: eth: rpc: implement safe rpc block
* core: fix setHead, panics
2 years ago
Péter Szilágyi
f543e6b065
Merge pull request #25371 from Zachinquarantine/mergeconfig-message
...
params: change Merge config to print simpler message
2 years ago
Péter Szilágyi
f3af3fd8df
eth: support bubbling up bad blocks from sync to the engine API ( #25190 )
...
* eth: support bubbling up bad blocks from sync to the engine API
* eth/catalyst: fix typo
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
* eth/catalyst: fix typo
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
* Update eth/catalyst/api.go
* eth/catalyst: when forgetting bad hashes, also forget descendants
* eth/catalyst: minor bad block tweaks for resilience
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2 years ago
Péter Szilágyi
2b6a761238
Merge pull request #25397 from karalabe/fix-tracer-capitalization
...
eth/tracers/js: fix capitalization in tests
2 years ago
Péter Szilágyi
eb2b8cb4fd
eth/tracers/js: fix capitalization in tests
2 years ago
Delweng
b196ad1c16
all: add whitespace linter ( #25312 )
...
* golangci: typo
Signed-off-by: Delweng <delweng@gmail.com>
* golangci: add whietspace
Signed-off-by: Delweng <delweng@gmail.com>
* *: rm whitesapce using golangci-lint
Signed-off-by: Delweng <delweng@gmail.com>
* cmd/puppeth: revert accidental resurrection
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2 years ago
Eval EXEC
6c4e5d06e7
light: fix differTries err message in tests ( #25358 )
2 years ago
Seungbae.yu
d2247d9f5d
eth, internal, light: fix error string capitalization ( #25364 )
2 years ago
Abirdcfly
39900be087
p2p/netutil: minor code cosmetic
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2 years ago
Guillaume Ballet
ff2259457a
consensus/beacon: fix typo in comment ( #25391 )
2 years ago
rjl493456442
1ed8b7d24f
cmd: use flags.Merge for grouping flags ( #25392 )
2 years ago
Marius van der Wijden
b2be5f956f
eth/catalyst: better warning for ttd not configured ( #25394 )
2 years ago
Péter Szilágyi
6da1fce265
Merge pull request #25379 from holiman/leveldb_update
...
deps: update goleveldb
2 years ago
Marius van der Wijden
3b2a6b34d9
cmd/geth: eth/catalyst: enable authrpc by default ( #25152 )
...
* cmd/geth: eth/catalyst: enable authrpc by default
* eth/catalyst: rename catalyst -> Engine API in logs
* eth/catalyst: don't panic
2 years ago
Marius van der Wijden
22d71afc95
params: set sepolia mergeNetsplitBlock to 1735371 ( #25372 )
2 years ago
Martin Holst Swende
62306a5ebe
deps: update goleveldb
2 years ago
Nikhil Suri
ba3919cac6
signer/core: add canonical TypedData hashing methods ( #25283 )
2 years ago
Marius van der Wijden
1764f8f559
params: set goerli TTD to 10_790_000 ( #25324 )
2 years ago
jwasinger
b214c49952
cmd/puppeth: remove support for exporting non-Geth genesis configurations ( #25329 )
...
* cmd/puppeth: remove support for exporting non-Geth genesis configurations
* remove unused function
2 years ago
Zachinquarantine
a22fb936bb
params: change Merge config to print simpler message
...
This fixes #25366
2 years ago
Guillaume Ballet
89b138cf2f
params: Add Shanghai and Cancun blocks ( #25305 )
...
* params: Add Shangai and Cancun blocks
* fix copy/paste error
Co-authored-by: Martin Holst Swende <martin@swende.se>
* fix typo in Shanghai name
Co-authored-by: Martin Holst Swende <martin@swende.se>
2 years ago
Guillaume Ballet
e73e8bc706
accounts/abi: substitude arg%d to the range keyword ( #25307 )
...
* accounts/abi: substitude arg%d to the range keyword
* support more keywords
* review feedback
2 years ago
Guillaume Ballet
a7d47ee77b
cmd/geth: remove redundant 0x in dbGet/dbDelete ( #25315 )
2 years ago
Ha ĐANG
a9ef135e2d
p2p/discover: apply netrestrict in discv5 response handler ( #25304 )
2 years ago
Felix Lange
e3df3d34cf
trie: fix 'gosimple' lint issue ( #25309 )
2 years ago
Marius van der Wijden
a54a230a08
tests: only activate merge on london rules ( #25239 )
2 years ago
rjl493456442
1657e43931
core, les, eth: port snap sync changes ( #24898 )
...
core, eth, les, trie: rework snap sync
2 years ago
Lee Bousfield
1c9afc56ae
core: prevent negative fee during RPC calls ( #25214 )
...
During RPC calls such as eth_call and eth_estimateGas, st.evm.Config.NoBaseFee is set
which allows the gas price to be below the base fee. This results the tip being negative,
and balance being subtracted from the coinbase instead of added to it, which results in a
potentially negative coinbase balance interestingly. This can't happen during normal chain
processing as outside of RPC calls the gas price is required to be at least the base fee,
as NoBaseFee is false.
This change prevents this behavior by disabling fee payment when the fee is not set.
Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2 years ago
henridf
4766b1107f
core: remove lock in BlockChain.ExportN ( #25254 )
...
* Remove locking in (*BlockChain).ExportN
Since ExportN is read-only, it shouldn't need the lock. (?)
* Add hash check to detect reorgs during export.
* fix check order
* Update blockchain.go
* Update blockchain.go
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2 years ago
lightclient
434ca026c9
internal/ethapi: error if tx args includes chain id that doesn't match local ( #25157 )
...
* internal/ethapi: error if tx args includes chain id that doesn't match local
* internal/ethapi: simplify code a bit
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2 years ago
Péter Szilágyi
b53d38246e
Merge pull request #25096 from lightclient/remove-version-field
...
all: remove version field
2 years ago
Jens W
5b5dfba70a
accounts/abi/bind/backends: return hash of new blocks ( #25163 )
...
Co-authored-by: Jens <jmw.1906@gmx.de>
2 years ago
Ikko Ashimine
93f981bb61
accounts/abi: fix typo in comment ( #25271 )
2 years ago
Péter Szilágyi
e108d36575
Merge pull request #25293 from sandakersmann/master
...
build: upgrade -dlgo version to Go 1.18.4
2 years ago
Marius Kjærstad
9f9657850f
build: upgrade -dlgo version to Go 1.18.4
2 years ago
Péter Szilágyi
d740d6e741
Merge pull request #25290 from karalabe/tar-archive-folder-time
...
internal/build: add a timestamp to the tar archive folder
2 years ago
Péter Szilágyi
68cd0cda4a
internal/build: add a timestamp to the tar archive folder
2 years ago
Péter Szilágyi
48da9d5513
Merge pull request #25288 from karalabe/enable-sepolia-dnsdisc
...
params: enable DNS discovery on Sepolia too
2 years ago