tylerni7
705a51e566
eth, rpc: add configurable option for wsMessageSizeLimit ( #27801 )
...
This change adds a configurable limit to websocket message.
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
1 year ago
Marius van der Wijden
c39cbc1a78
core: implement BLOBBASEFEE opcode (0x4a) ( #28098 )
...
Implements "EIP-7516: BLOBBASEFEE opcode" for cancun, as per spec: https://eips.ethereum.org/EIPS/eip-7516
1 year ago
Péter Szilágyi
7b6ff527d5
cmd, eth: switch the dev synctarget to hash from block ( #28209 )
...
* cmd, eth: switch the dev synctarget to hash from block
* cmd/utils, eth/catalyst: terminate node wyen synctarget reached
1 year ago
lightclient
a408e37fa1
eth/catalyst: add validation error in new paylaod hash mismatch ( #28226 )
...
* eth/catalyst: add validation error in new paylaod hash mismatch
* eth/catalyst/api: refactor api.invalid(..) to return nil latest valid hash if none provided
1 year ago
Péter Szilágyi
966e50bddb
ethdb/pebble: luv you linter
1 year ago
rjl493456442
22dcb7a77b
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>
1 year ago
Péter Szilágyi
1f9d672df1
common: remove address.Hash footgun ( #28228 )
1 year ago
aaronbuchwald
c5ff839fb2
core/state: small trie prefetcher nits ( #28183 )
...
Small trie prefetcher nits
1 year ago
Sina Mahmoodi
0ded110b80
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.
1 year ago
0xbstn
1f6e63900d
core: fix typos ( #28218 )
...
* fix(core/txpool): fix typos
* core/asm: fix typos
* core/bloombits: fix typos
* core/rawdb: fix typos
1 year ago
Péter Szilágyi
f988b2332e
ethdb, internal/ethapi: support exposing Pebble stats too, beside LevelDB ( #28224 )
...
ethdb, internal/ethapi: support exposing Pebble stats too, besinde LevelDB
1 year ago
phenix3443
b9450bfcca
core, eth: typos and some code formatting ( #28201 )
...
* fix: typo
* feat: revert symbol name
1 year ago
Delweng
46c850a941
internal/ethapi: compact db missing key starts with 0xff ( #28207 )
...
Signed-off-by: jsvisa <delweng@gmail.com>
1 year ago
lightclient
37a2d919b0
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>
1 year ago
Péter Szilágyi
3dc45a3e1d
params: begin v1.13.3 release cycle
1 year ago
Péter Szilágyi
dc34fe8291
params: release Geth v1.13.2
1 year ago
rjl493456442
73f5bcb75b
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
1 year ago
0xbstn
a081130081
core/txpool: fix typos ( #28213 )
...
fix(core/txpool): fix typos
1 year ago
bnovil
614804b33c
core/txpool: fix typos ( #28208 )
...
core/txpool:fix typos
1 year ago
rjl493456442
b85c183ea7
eth/downloader: remove header rollback mechanism ( #28147 )
...
* eth/downloader: remove rollback mechanism in downloader
* eth/downloader: remove the tests
1 year ago
Sina Mahmoodi
adb9b319c9
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.
1 year ago
Marius van der Wijden
2b7bc2c36b
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>
1 year ago
phenix3443
40219109b0
eth/downloader: typo in comment ( #28196 )
1 year ago
hzysvilla
4de89e92e4
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.
1 year ago
Andryanau Kanstantsin
4985d83b8f
ethclient: fix BlockReceipts parameter encoding ( #28087 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
1 year ago
buddho
f6f64cc43d
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>
1 year ago
Delweng
3d297fc2d7
cmd/geth: ensure db is closed before exit ( #28150 )
1 year ago
Felix Lange
c3742a9ae0
internal/debug: add --log.rotate to the logging category ( #28190 )
1 year ago
Marius van der Wijden
1fa3362ea7
core/forkid: add forkid test for holesky ( #28193 )
1 year ago
tokikuch
c2cfe35f12
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().
1 year ago
Péter Szilágyi
d051ea5e89
params: update hash for Holesky relaunch ( #28192 )
1 year ago
Péter Szilágyi
323542af50
core, params: update Holesky testnet to relaunched spec ( #28191 )
1 year ago
Péter Szilágyi
82ec555d70
cmd: add state.scheme to the database flag group for local flag handling ( #28107 )
1 year ago
Delweng
f1b2ec0833
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>
1 year ago
Péter Szilágyi
d135bafdcb
cmd/geth: print progress logs when iterating large contracts too ( #28179 )
1 year ago
Péter Szilágyi
83f3fc2e80
core/state/snapshot: be very noisy if the generator hits a trie error ( #28178 )
1 year ago
rjl493456442
03c2176a1d
trie/triedb/pathdb: improve error log ( #28177 )
1 year ago
rjl493456442
4773dcbc81
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
1 year ago
Delweng
545f4c5547
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
1 year ago
Delweng
5b9cbe30f8
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.
1 year ago
phenix3443
5c6f4b9f0d
cmd/utils: fix typo in comment ( #28159 )
1 year ago
Guillaume Ballet
7ed5bc021a
trie: add getter for preimage store in trie.Database ( #28155 )
1 year ago
Martin Holst Swende
30d5d7c1b3
go.mod: use existing version of karalabe/usb ( #28127 )
...
There is no 0.0.3 release of karalabe/usb.
1 year ago
Delweng
41a0ad9f03
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.
1 year ago
bnovil
4b748b7a27
eth: fix typo in comment ( #28146 )
1 year ago
Delweng
ef76afad35
core/rawdb: fix typo in comment ( #28140 )
1 year ago
Felix Lange
e9f78db79d
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
1 year ago
Péter Szilágyi
90d5bd85bc
params: begin Geth v1.13.2 release cycle
1 year ago
Péter Szilágyi
3f40e65c48
params: release Geth v1.13.1
1 year ago
rjl493456442
c53b0fef2a
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
1 year ago