Péter Szilágyi
eaf8598864
ethdb/pebble: luv you linter
2023-11-10 11:09:46 -06:00
rjl493456442
7e60827033
ethdb/pebble: upgrade pebble to master (aa077af62593) ( #28070 )
...
* ethdb/pebble: upgrade pebble
* ethdb/pebble, go.mod: update pebble to master (aa077af62593)
---------
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2023-11-10 11:09:46 -06:00
Péter Szilágyi
4502642810
common: remove address.Hash footgun ( #28228 )
2023-11-10 11:09:46 -06:00
aaronbuchwald
ab25e35fac
core/state: small trie prefetcher nits ( #28183 )
...
Small trie prefetcher nits
2023-11-10 11:09:46 -06:00
Sina Mahmoodi
84977b0ed7
core: infer blobGasUsed in chain maker ( #28212 )
...
Same way that the gasUsed in header is updated when a tx
is added we should update blob gas used instead of requiring caller
to set it manually.
2023-11-10 11:09:46 -06:00
0xbstn
7fcd6b1fce
core: fix typos ( #28218 )
...
* fix(core/txpool): fix typos
* core/asm: fix typos
* core/bloombits: fix typos
* core/rawdb: fix typos
2023-11-10 11:09:46 -06:00
Péter Szilágyi
caf030e643
ethdb, internal/ethapi: support exposing Pebble stats too, beside LevelDB ( #28224 )
...
ethdb, internal/ethapi: support exposing Pebble stats too, besinde LevelDB
2023-11-10 11:09:46 -06:00
phenix3443
afa7d2ef82
core, eth: typos and some code formatting ( #28201 )
...
* fix: typo
* feat: revert symbol name
2023-11-10 11:09:46 -06:00
Delweng
7de2afbbaf
internal/ethapi: compact db missing key starts with 0xff ( #28207 )
...
Signed-off-by: jsvisa <delweng@gmail.com>
2023-11-10 11:09:46 -06:00
lightclient
97e54bda96
params: update 4788 beacon roots contract addr ( #28205 )
...
This change contains the final (?) address for 4788 beacon root contract. The update to the EIP is being tracked here: https://github.com/ethereum/EIPs/pull/7672
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-11-10 11:09:46 -06:00
Péter Szilágyi
0a3c4ab3e7
params: begin v1.13.3 release cycle
2023-11-10 11:09:46 -06:00
Péter Szilágyi
0a0cba4e1f
params: release Geth v1.13.2
2023-11-10 11:09:46 -06:00
rjl493456442
bcc2e34f7e
core, accounts, eth, trie: handle genesis state missing ( #28171 )
...
* core, accounts, eth, trie: handle genesis state missing
* core, eth, trie: polish
* core: manage txpool subscription in mainpool
* eth/backend: fix test
* cmd, eth: fix test
* core/rawdb, trie/triedb/pathdb: address comments
* eth, trie: address comments
* eth: inline the function
* eth: use synced flag
* core/txpool: revert changes in txpool
* core, eth, trie: rename functions
2023-11-10 11:09:46 -06:00
0xbstn
cf252e4eaa
core/txpool: fix typos ( #28213 )
...
fix(core/txpool): fix typos
2023-11-10 11:09:46 -06:00
bnovil
1a545fc59e
core/txpool: fix typos ( #28208 )
...
core/txpool:fix typos
2023-11-10 11:09:46 -06:00
rjl493456442
832f048414
eth/downloader: remove header rollback mechanism ( #28147 )
...
* eth/downloader: remove rollback mechanism in downloader
* eth/downloader: remove the tests
2023-11-10 11:09:46 -06:00
Sina Mahmoodi
f4ffe78c65
internal/ethapi: eth_call block parameter is optional ( #28165 )
...
So apparently in the spec the base block parameter of eth_call is optional.
I agree that "latest" is a sane default for this that most people would use.
2023-11-10 11:09:46 -06:00
Marius van der Wijden
5b22449bca
eth/fetcher: allow underpriced transactions in after timeout ( #28097 )
...
This PR will allow a previously underpriced transaction back in after a timeout
of 5 minutes. This will block most transaction spam but allow for transactions to
be re-broadcasted on networks with less transaction flow.
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-10 11:09:46 -06:00
phenix3443
e49367e6ba
eth/downloader: typo in comment ( #28196 )
2023-11-10 11:09:46 -06:00
hzysvilla
d0a868184e
core/vm: minor code formatting ( #28199 )
...
Adding a space beween function opOrigin() and opcCaller() in instruciton.go.
Adding a space beween function opkeccak256() and opAddress() in instruciton.go.
2023-11-10 11:09:46 -06:00
Andryanau Kanstantsin
2e3ba718e3
ethclient: fix BlockReceipts parameter encoding ( #28087 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-10 11:09:46 -06:00
buddho
877c5be6fe
cmd/utils: fix bootnodes config priority ( #28095 )
...
This fixes an issue where the --bootnodes flag was overridden by the config file.
---------
Co-authored-by: NathanBSC <Nathan.l@nodereal.io>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-11-10 11:09:46 -06:00
Delweng
a7871054a9
cmd/geth: ensure db is closed before exit ( #28150 )
2023-11-10 11:09:46 -06:00
Felix Lange
fd58c85828
internal/debug: add --log.rotate to the logging category ( #28190 )
2023-11-10 11:09:46 -06:00
Marius van der Wijden
5205143538
core/forkid: add forkid test for holesky ( #28193 )
2023-11-10 11:09:46 -06:00
tokikuch
0e3ba93dba
core/bloombits: fix deadlock when matcher session hits an error ( #28184 )
...
When MatcherSession encounters an error, it attempts to close the session.
Closing waits for all goroutines to finish, including the 'distributor'. However, the
distributor will not exit until all requests have returned.
This patch fixes the issue by delivering the (empty) result to the distributor
before calling Close().
2023-11-10 11:09:46 -06:00
Péter Szilágyi
a4a0bd0e73
params: update hash for Holesky relaunch ( #28192 )
2023-11-10 11:09:46 -06:00
Péter Szilágyi
e0c6bc588c
core, params: update Holesky testnet to relaunched spec ( #28191 )
2023-11-10 11:09:46 -06:00
Péter Szilágyi
fa255843f6
cmd: add state.scheme to the database flag group for local flag handling ( #28107 )
2023-11-10 11:09:46 -06:00
Delweng
c4ef468644
core/rawdb: use readonly file lock in readonly mode ( #28180 )
...
This allows using the freezer from multiple processes at once
in read-only mode.
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-11-10 11:09:46 -06:00
Péter Szilágyi
d19fe8e4fe
cmd/geth: print progress logs when iterating large contracts too ( #28179 )
2023-11-10 11:09:46 -06:00
Péter Szilágyi
7cd6ef9ae7
core/state/snapshot: be very noisy if the generator hits a trie error ( #28178 )
2023-11-10 11:09:46 -06:00
rjl493456442
cdfae85ae2
trie/triedb/pathdb: improve error log ( #28177 )
2023-11-10 11:09:46 -06:00
rjl493456442
f881c71814
trie: remove internal nodes between shortNode and child in path mode ( #28163 )
...
* trie: remove internal nodes between shortNode and child in path mode
* trie: address comments
* core/rawdb, trie: address comments
* core/rawdb: delete unused func
* trie: change comments
* trie: add missing tests
* trie: fix lint
2023-11-10 11:09:46 -06:00
Delweng
8fc3449da2
core/rawdb: no need to run truncateFile for readonly mode ( #28145 )
...
Avoid truncating files, if ancients are opened in readonly mode. With this change, we return error instead of trying (and failing) to repair
2023-11-10 11:09:46 -06:00
Delweng
6e0c4dea27
cmd/clef: suppress fsnotify error if keydir not exists ( #28160 )
...
As the keydir will be automatically created after an account is created, no error message if the watcher is failed.
2023-11-10 11:09:46 -06:00
phenix3443
552517f260
cmd/utils: fix typo in comment ( #28159 )
2023-11-10 11:09:46 -06:00
Guillaume Ballet
9a178056b8
trie: add getter for preimage store in trie.Database ( #28155 )
2023-11-10 11:09:46 -06:00
Martin Holst Swende
1b3f8f1c56
go.mod: use existing version of karalabe/usb ( #28127 )
...
There is no 0.0.3 release of karalabe/usb.
2023-11-10 11:09:46 -06:00
Delweng
a7205347fb
cmd/devp2p: use bootnodes as crawl input ( #28139 )
...
This PR makes the tool use the --bootnodes list as the input to devp2p crawl.
The flag will take effect if the input/output.json file is missing or empty.
2023-11-10 11:09:46 -06:00
bnovil
9f39b08c14
eth: fix typo in comment ( #28146 )
2023-11-10 11:09:46 -06:00
Delweng
b87a0ced95
core/rawdb: fix typo in comment ( #28140 )
2023-11-10 11:09:46 -06:00
Felix Lange
0264a9ad74
cmd/evm: fix some issues with the evm run command ( #28109 )
...
* cmd/evm: improve flags handling
This fixes some issues with flags in cmd/evm. The supported flags did not
actually show up in help output because they weren't categorized. I'm also
adding the VM-related flags to the run command here so they can be given
after the subcommand name. So it can be run like this now:
./evm run --code 6001 --debug
* cmd/evm: enable all forks by default in run command
The default genesis was just empty with no forks at all, which is annoying because
contracts will be relying on opcodes introduced in a fork. So this changes the default to
have all forks enabled.
* core/asm: fix some issues in the assembler
This fixes minor bugs in the old assembler:
- It is now possible to have comments on the same line as an instruction.
- Errors for invalid numbers in the jump instruction are reported better
- Line numbers in errors were off by one
2023-11-10 11:09:46 -06:00
Péter Szilágyi
0fc9fb6954
params: begin Geth v1.13.2 release cycle
2023-11-10 11:09:46 -06:00
Péter Szilágyi
1e16a11667
params: release Geth v1.13.1
2023-11-10 11:09:46 -06:00
rjl493456442
5a51327bc5
core, eth/downloader: fix genesis state missing due to state sync ( #28124 )
...
* core: fix chain repair corner case in path-based scheme
* eth/downloader: disable trie database whenever state sync is launched
2023-11-10 11:09:46 -06:00
phenix3443
6ddfb7609f
params: fix typo in comment ( #28129 )
...
fix: typo
2023-11-10 11:09:46 -06:00
phenix3443
5d5f12f179
internal/flags: fix typo ( #28133 )
...
fix(flag): one typo
2023-11-10 11:09:46 -06:00
cam-schultz
664137285f
internal/ethapi: correctly calculate effective gas price ( #28130 )
...
correctly calculate effective gas price
2023-11-10 11:09:46 -06:00
rjl493456442
15b7c0b384
eth/catalyst: fix engine API ( #28135 )
2023-11-10 11:09:46 -06:00