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
Péter Szilágyi
e66a538a36
params: enable DNS discovery on Sepolia too
2 years ago
Philip Fan
3e759e28d7
eth/tracers: add initial revertReasonTracer tracer ( #25265 )
...
Adds a native tracer that returns that in case of failure returns the error message or the revert reason of a transaction.
Co-authored-by: Martin Holst Swende <martin@swende.se>
2 years ago
Seungbae.yu
44893be0d6
core, eth: pre-allocate map in storage copy ( #25279 )
2 years ago
Péter Szilágyi
714fb302a5
Merge pull request #25247 from sandakersmann/master
...
build: upgrade -dlgo version to Go 1.18.3
2 years ago
Seungbae.yu
b3fc9574ec
p2p/discover: fix typos in comments ( #25272 )
2 years ago
Brion
d839515434
rpc: add graceful shutdown timeout for HTTP server ( #25258 )
...
This change ensures the HTTP server will always terminate within
at most 5s, even when all connections are busy and do not become
idle.
Co-authored-by: Felix Lange <fjl@twurst.com>
2 years ago
lightclient
ae8ce72022
internal/ethapi: fix chain ID check to return all non-zero IDs ( #25244 )
2 years ago
Seungbae.yu
e394d01f2a
core/types: fix typo in comment ( #25249 )
2 years ago
aaronbuchwald
926b3e08ba
trie: fix typo in comment ( #25241 )
...
paralallel -> parallel
2 years ago
Marius Kjærstad
ed7a80f7fd
build: upgrade -dlgo version to Go 1.18.3
2 years ago
Sina Mahmoodi
cb7f35996d
internal/ethapi: add basefee to block overrides ( #25219 )
2 years ago
Marius van der Wijden
e3c1a7c671
go.mod: updated logfmt dependency ( #25231 )
...
This fixes an issue in abigen tests with go 1.17.
2 years ago
Marius van der Wijden
7217ef4c9c
consensus/beacon: verify timestamp is greater than parent timestamp ( #25236 )
2 years ago
Marius van der Wijden
87bb5db675
core: allow external processor ( #25233 )
2 years ago
Felix Lange
f6ac80c507
cmd/geth, cmd/devp2p: fix some cli parsing issues ( #25234 )
...
* cmd/geth: add some missing argument count checks
* internal/flags: skip cmds with no action func in MigrateGlobalFlags
* internal/flags: add Merge
* cmd/devp2p: re-add listener config flags in discv4 commands
2 years ago
スパイク
55f914a1d7
signer/core/apitypes: support primitive types int96/uint96 ( #25105 )
...
I have a EIP712 typehash using uint96, but it's currently not supported
by go-ethereum. This change fixes it.
2 years ago
Marius van der Wijden
5f6e870ee6
core: apply ttd override to uninitialized db ( #25136 )
...
* core: apply ttd override to genesis block
* core: apply overrides properly
2 years ago
Marius van der Wijden
e537193421
core: allow external code to set the block validator for malicious tests ( #25119 )
...
* core: don't validate state
* core: allow external validator
* core: revert
* core: comments
* Update blockchain_reader.go
* core: move SetValidator to blockchain.go
* core: rename method
2 years ago
Marius van der Wijden
62470eeaf8
consensus/beacon: copy td value so we can modify it ( #25230 )
...
* consensus/beacon: copy td value so we can modify it
* consensus/beacon: copy td value so we can modify it
2 years ago
Seungbae.yu
2697e44d81
all: change format `0x%x` to `%#x` ( #25221 )
2 years ago
aaronbuchwald
953a29f5fd
Replace fmt.Errorf with errors.New in abi argument ( #25181 )
...
Replace unnecessary fmt.Errorf with errors.New in accounts/abi/argument.go
2 years ago
Péter Szilágyi
de1cecb22e
eth/catalyst: disallow importing blocks via newPayload during snap sync ( #25210 )
...
* eth/catalyst: disallow importing blocks via newPayload during snap sync
* eth/catalyst: make tests pass by using full sync only
* eth/catalysts: make the import delay a bit cleaner
* eth/catalyst: fix typo
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2 years ago
Péter Szilágyi
692bfd1bf8
Merge pull request #25206 from dbadoy/master
...
common/prque: fix typo
2 years ago
Seungbae.yu
a1cb7282b0
common/prque: fix typo
2 years ago
Felix Lange
5e252282c0
params: begin v1.10.21 release cycle
2 years ago
Felix Lange
8f2416a89a
params: go-ethereum v1.10.20 stable
2 years ago
Felix Lange
75ebeb7fe0
build/deb: fix auto-completion install paths ( #25204 )
2 years ago
Felix Lange
63b2d49b5b
build: upgrade to golangci-lint v1.46.2 ( #25202 )
...
This upgrade is required to fix lint issues with urfave/cli/v2, which
uses generics when built with Go 1.18
2 years ago