Fynn
4259f4c1f8
fix: state history hasn't write
2023-10-07 14:42:25 +08:00
hyunchel
4e1e37323d
core/txpool/legacypool: fix typo ( #28258 )
2023-10-07 10:57:12 +08:00
Fynn
c26a30392a
Merge pull request #1882 from Fynnss/add_hash_trie_node_prune_tool
...
cmd/geth: add hbss to pbss convert tool
2023-10-05 09:13:51 +08:00
tactical_retreat
052355f5e2
cmd/evm/internal/t8ntoo: tiny bugfix for difficulty field ( #28245 )
2023-10-04 12:38:25 +03:00
Péter Szilágyi
95b0555c84
eth: when snap is complaining for missing eth, be verbose about the details ( #28249 )
...
* eth: when snap is complaining for missing eth, be verbost about the details
* eth: lower snapshot registration error verbosity
2023-10-04 12:37:04 +03:00
Péter Szilágyi
a8a9c8e4b0
core, eth, miner: start propagating and consuming blob txs ( #28243 )
...
* core, eth, miner: start propagating and consuming blob txs
* eth/protocols/eth: disable eth/67 if Cancun is enabled
* core/txpool, eth, miner: pass gas limit infos in lazy tx for mienr filtering
* core/txpool, miner: add lazy resolver for pending txs too
* core, eth: fix review noticed bugs
* eth, miner: minor polishes in the mining and announcing logs
* core/expool: unsubscribe the event scope
2023-10-04 12:36:36 +03:00
Péter Szilágyi
bc6d184872
cmd/devp2p, eth: drop eth/66 ( #28239 )
...
* cmd/devp2p, eth: drop eth/66
* eth/protocols/eth: yes sir, linter
2023-10-03 15:03:19 +03:00
hyunchel
7963c4e808
rpc: fix erroneous error-message in test ( #28227 )
2023-10-03 07:48:36 -04:00
Chirag Garg
2091ebdf5e
trie: fix benchmark by ensuring key immutability ( #28221 )
...
This change fixes the bug in a benchmark, where the input to the trie is reused in a way which is not correct.
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-10-03 07:46:22 -04:00
0xbstn
339a4cf056
core: fix typos ( #28238 )
2023-10-03 07:44:01 -04:00
lightclient
07dec7a11c
cmd/evm: cancun-updates for b11r and t8n -tools ( #28195 )
...
This change updates `evm b11r` (blockbuilder) and `evm t8n` (transition) tools to contain cancun updates (e.g. new header fields)
---------
Co-authored-by: Mario Vega <marioevz@gmail.com>
2023-10-03 03:26:33 -04:00
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>
2023-10-03 03:23:19 -04:00
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
2023-10-02 05:49:29 -04:00
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
2023-09-29 22:11:15 +03:00
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
2023-09-29 21:27:30 +03:00
Péter Szilágyi
966e50bddb
ethdb/pebble: luv you linter
2023-09-29 20:52:55 +03:00
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>
2023-09-29 20:45:38 +03:00
Péter Szilágyi
1f9d672df1
common: remove address.Hash footgun ( #28228 )
2023-09-29 18:14:26 +03:00
aaronbuchwald
c5ff839fb2
core/state: small trie prefetcher nits ( #28183 )
...
Small trie prefetcher nits
2023-09-29 17:46:23 +03:00
Mister-EA
6932673003
cmd: add tests for init-network ( #1899 )
...
* cmd: add tests for init-network command
* cmd: add setup function
2023-09-29 20:54:20 +08:00
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.
2023-09-29 10:44:28 +02:00
0xbstn
1f6e63900d
core: fix typos ( #28218 )
...
* fix(core/txpool): fix typos
* core/asm: fix typos
* core/bloombits: fix typos
* core/rawdb: fix typos
2023-09-29 10:52:22 +03:00
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
2023-09-28 22:27:21 +03:00
phenix3443
b9450bfcca
core, eth: typos and some code formatting ( #28201 )
...
* fix: typo
* feat: revert symbol name
2023-09-28 13:15:50 +03:00
Delweng
46c850a941
internal/ethapi: compact db missing key starts with 0xff ( #28207 )
...
Signed-off-by: jsvisa <delweng@gmail.com>
2023-09-28 12:04:45 +03:00
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>
2023-09-28 03:52:27 -04:00
Péter Szilágyi
3dc45a3e1d
params: begin v1.13.3 release cycle
2023-09-28 10:23:25 +03:00
Péter Szilágyi
dc34fe8291
params: release Geth v1.13.2
2023-09-28 10:22:09 +03:00
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
2023-09-28 10:00:53 +03:00
lx
4b45c5993c
fix: skip HasState check for fast node ( #1901 )
2023-09-28 10:07:21 +08:00
0xbstn
a081130081
core/txpool: fix typos ( #28213 )
...
fix(core/txpool): fix typos
2023-09-28 09:48:14 +08:00
tokikuch
35b21cac14
core/bloombits: fix deadlock when matcher session hits an error ( #1895 )
...
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-09-27 15:00:27 +08:00
bnovil
614804b33c
core/txpool: fix typos ( #28208 )
...
core/txpool:fix typos
2023-09-27 11:08:53 +08:00
Nathan
f8bc2b76ac
core/state: ensure triedb Commit after Update ( #1900 )
2023-09-27 11:07:45 +08:00
Nathan
c955dd2189
cmd/geth: fix listern port when initNetwork ( #1897 )
2023-09-27 10:43:13 +08:00
rjl493456442
b85c183ea7
eth/downloader: remove header rollback mechanism ( #28147 )
...
* eth/downloader: remove rollback mechanism in downloader
* eth/downloader: remove the tests
2023-09-26 16:29:13 +03:00
Fynn
b8bad314ed
cmd/geth: add hash2path & trie get tools
2023-09-26 20:45:05 +08:00
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.
2023-09-26 14:22:11 +02:00
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>
2023-09-26 13:12:44 +02:00
phenix3443
40219109b0
eth/downloader: typo in comment ( #28196 )
2023-09-26 11:59:41 +03:00
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.
2023-09-26 11:58:01 +03:00
joeycli
528d97b541
feat: active pbss on bsc
...
fix: lint error
fix: ut error
fix: code review comments
2023-09-26 16:14:32 +08:00
rjl493456442
720ff1fe57
all: activate pbss as experimental feature from eth ( #26274 )
...
* all: activate pbss
* core/rawdb: fix compilation error
* cma, core, eth, les, trie: address comments
* cmd, core, eth, trie: polish code
* core, cmd, eth: address comments
* cmd, core, eth, les, light, tests: address comment
* cmd/utils: shorten log message
* trie/triedb/pathdb: limit node buffer size to 1gb
* cmd/utils: fix opening non-existing db
* cmd/utils: rename flag name
* cmd, core: group chain history flags and fix tests
* core, eth, trie: fix memory leak in snapshot generation
* cmd, eth, internal: deprecate flags
* all: enable state tests for pathdb, fixes
* cmd, core: polish code
* trie/triedb/pathdb: limit the node buffer size to 256mb
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2023-09-26 16:14:32 +08:00
GalaIO
d179056512
logs: add some logs to trace block miner, justified reorg; ( #1894 )
2023-09-26 14:21:22 +08:00
Andryanau Kanstantsin
4985d83b8f
ethclient: fix BlockReceipts parameter encoding ( #28087 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-09-25 23:24:20 +02:00
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>
2023-09-25 19:17:39 +02:00
Delweng
3d297fc2d7
cmd/geth: ensure db is closed before exit ( #28150 )
2023-09-25 18:28:20 +02:00
Felix Lange
c3742a9ae0
internal/debug: add --log.rotate to the logging category ( #28190 )
2023-09-25 17:02:44 +03:00
Marius van der Wijden
1fa3362ea7
core/forkid: add forkid test for holesky ( #28193 )
2023-09-25 17:02:19 +03:00
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().
2023-09-25 15:35:24 +02:00