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
Péter Szilágyi
d051ea5e89
params: update hash for Holesky relaunch ( #28192 )
2023-09-25 16:13:56 +03:00
Péter Szilágyi
323542af50
core, params: update Holesky testnet to relaunched spec ( #28191 )
2023-09-25 16:10:23 +03:00
GalaIO
2f7d305013
logs: add some logs to trace block miner, justified reorg; ( #1894 )
2023-09-25 20:11:52 +08:00
lx
b3ef585957
Merge pull request #1892 from bnb-chain/develop
...
draft release v1.3.0
2023-09-25 16:45:45 +08:00
lx
c5647b128c
release: prepare for release v1.3.0 ( #1891 )
2023-09-25 14:20:48 +08:00
Péter Szilágyi
82ec555d70
cmd: add state.scheme to the database flag group for local flag handling ( #28107 )
2023-09-22 14:56:48 +03:00
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>
2023-09-22 12:10:50 +02:00
Péter Szilágyi
d135bafdcb
cmd/geth: print progress logs when iterating large contracts too ( #28179 )
2023-09-22 11:07:20 +03:00
Péter Szilágyi
83f3fc2e80
core/state/snapshot: be very noisy if the generator hits a trie error ( #28178 )
2023-09-22 10:27:58 +03:00
rjl493456442
03c2176a1d
trie/triedb/pathdb: improve error log ( #28177 )
2023-09-22 09:33:17 +03:00
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
2023-09-22 09:31:10 +03:00
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
2023-09-21 04:05:55 -04:00
Nathan
52e2cb86a5
parlia: reject header with non-nil WithdrawalsHash
( #1884 )
...
* parlia: reject header with `WithdrawalsHash` before shanghai fork
* log: output chainconfig when start up
* eth: fix TestOptionMaxPeersPerIP failure of goroutine order
2023-09-21 12:02:59 +08:00
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.
2023-09-20 06:39:46 -04:00
Nathan
41f0667ce1
Revert "core/rawdb: open meta file in read only mode ( #26009 )" ( #1879 )
...
This reverts commit b9ba6f6e4d86d0ee86c63e8f4552e233fe0450aa.
2023-09-20 07:05:18 +08:00
phenix3443
5c6f4b9f0d
cmd/utils: fix typo in comment ( #28159 )
2023-09-19 21:20:18 +02:00
Guillaume Ballet
7ed5bc021a
trie: add getter for preimage store in trie.Database ( #28155 )
2023-09-19 08:47:24 -04:00
Martin Holst Swende
30d5d7c1b3
go.mod: use existing version of karalabe/usb ( #28127 )
...
There is no 0.0.3 release of karalabe/usb.
2023-09-19 14:20:06 +02:00
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.
2023-09-19 14:18:29 +02:00
bnovil
4b748b7a27
eth: fix typo in comment ( #28146 )
2023-09-19 14:14:36 +02:00
Delweng
ef76afad35
core/rawdb: fix typo in comment ( #28140 )
2023-09-19 13:43:37 +02:00
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
2023-09-19 13:41:16 +02:00
Matus Kysel
2c7a07bc57
discov: add status log for bootnode ( #1878 )
2023-09-19 14:40:35 +08:00
NathanBSC
1bc27f6d98
core/state: handle account destruction after updating account state
2023-09-19 10:58:35 +08:00
Nathan
9edad94115
cmd/utils: make uncategorized flags of geth categorized ( #1877 )
2023-09-18 20:07:03 +08:00
NathanBSC
e379117b79
tests/truffle: adapt for changes in bsc-genesis-contract
2023-09-18 18:22:24 +08:00
Péter Szilágyi
90d5bd85bc
params: begin Geth v1.13.2 release cycle
2023-09-17 17:55:46 +03:00
Péter Szilágyi
3f40e65c48
params: release Geth v1.13.1
2023-09-17 17:54:33 +03:00
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
2023-09-17 17:35:09 +03:00
phenix3443
d8a351b58f
params: fix typo in comment ( #28129 )
...
fix: typo
2023-09-17 17:02:48 +03:00
phenix3443
52234eb172
internal/flags: fix typo ( #28133 )
...
fix(flag): one typo
2023-09-17 17:02:11 +03:00
cam-schultz
217719347d
internal/ethapi: correctly calculate effective gas price ( #28130 )
...
correctly calculate effective gas price
2023-09-17 17:00:04 +03:00
rjl493456442
9a9db3d265
eth/catalyst: fix engine API ( #28135 )
2023-09-17 16:50:18 +03:00