Roshan
3b55be5eb2
upgrade: update system contracts bytes code and hardfork time of Feynman upgrade ( #2335 )
2024-03-28 10:05:18 +08:00
Roshan
9fb0241eab
fix: add FeynmanFix upgrade for a testnet issue ( #2288 )
2024-03-18 11:28:13 +08:00
zjubfd
73f27a590f
feat: add new fork block and precompile contract for BEP294 and BEP299 ( #2047 )
2024-02-26 16:17:03 +08:00
VM
5378df3702
cmd: optimize parse state scheme in cli and config ( #2220 )
2024-02-20 17:22:27 +08:00
rjl493456442
36a283ef98
core/rawdb: fsync the index file after each freezer write ( #28483 )
...
* core/rawdb: fsync the index and data file after each freezer write
* core/rawdb: fsync the data file in freezer after write
2024-02-14 08:22:43 +01:00
Ng Wei Han
3761bf0426
fix(legacypool): deprecate already known error ( #2190 )
2024-01-29 19:13:15 +08:00
VM
fecd2bfafe
cmd: fix dump cli cannot work in path mode ( #2160 )
2024-01-25 22:07:44 +08:00
Delweng
a6a956263e
core/state: no need to prune block if the same ( #1332 )
2024-01-22 16:41:48 +08:00
zzzckck
ef462c2b47
Merge pull request #2155 from sysvm/fix-prunestate
2024-01-22 14:36:50 +08:00
zzzckck
bea8f8ecfc
improve: remove sharedpool from miner ( #2172 )
2024-01-22 11:04:55 +08:00
kevaundray
0d5ecb5b90
crypto/kzg4844: use the new trusted setup file and format ( #28383 )
...
Changes the trusted_setup to the one created during the kzg-ceremony. The trusted setup file can be found in the consensus specs: https://github.com/ethereum/consensus-specs/blob/dev/presets/mainnet/trusted_setups/trusted_setup_4096.json
---------
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2024-01-15 17:09:47 +08:00
VM
a17fef4f15
test: add UT for resolveChainFreezerDir function
2024-01-15 11:09:41 +08:00
VM
fee8a25957
fix: optimize resolveChainFreezerDir func
2024-01-12 15:36:26 +08:00
rjl493456442
ccb4d55a7c
cmd, core: resolve scheme from a read-write database ( #28313 )
...
* cmd, core: resolve scheme from a read-write database
* cmd, core, eth: move the scheme check in the ethereum constructor
* cmd/geth: dump should in ro mode
* cmd: reverts
2024-01-12 14:47:01 +08:00
buddho
8ed5d24e1d
tests: revive evm test cases ( #2116 )
2024-01-10 16:58:27 +08:00
buddho
73d19c00cd
core: fix systemcontracts.GenesisHash when run bsc firstly without init ( #2132 )
2024-01-04 18:26:36 +08:00
buddho
de1a126ec5
parlia: fix verifyVoteAttestation when verify a batch of headers ( #2121 )
2024-01-03 15:58:06 +08:00
VM
124939aaa4
cmd/geth: fix parse state scheme ( #2107 )
...
* cmd/geth: fix parse state scheme
* cmd/geth: enrich logs about state scheme
* cmd/geth: rename functions
---------
Co-authored-by: VM <arimas@foxmail.com>
2024-01-03 15:38:39 +08:00
buddho
a6befb5078
params: use rialto to test builtin network logic ( #2106 )
2023-12-28 10:42:37 +08:00
buddho
eb4ea42196
core: add metrics for bad block ( #2101 )
2023-12-25 11:07:31 +08:00
buddho
0ba5816cc7
core/genesis: support chapel to run without geth init
( #2100 )
2023-12-25 10:58:52 +08:00
buddho
354c0d7180
params/config: remove useless toml tag for hardforks ( #2099 )
2023-12-22 11:58:36 +08:00
zzzckck
474860ef77
Merge pull request #2035 from weiihann/v1.3.4-snapsync
...
all: pull snap sync PRs from upstream v1.13.5
2023-12-19 11:25:56 +08:00
buddho
e44de3ab27
core: LoadChainConfig return the predefined config for built-in networks firstly ( #2078 )
...
* core: LoadChainConfig return predefined config for built-in net firstly
* cmd/geth: add a warn message for chain config in the configuration file
* consensus/parlia: change chain config log level when New parlia
* core: fix code style
2023-12-18 17:07:50 +08:00
Péter Szilágyi
0b632d97f3
cmd, core, ethdb: enable Pebble on 32 bits and OpenBSD
2023-12-14 11:10:45 +08:00
weiihann
84b268f6fb
cmd, core, eth: change default network from ETH to BSC
...
fix tests
fix tests
2023-12-14 11:06:07 +08:00
Péter Szilágyi
f628e32ba5
cmd, core, params: add support for the Holesky testnet ( #28007 )
...
* cmd, core, params: add support for the Holesky testnet
* cmd/devp2p: add support for holesky for the dns crawler
# Conflicts:
# cmd/devp2p/nodesetcmd.go
# cmd/geth/main.go
# cmd/utils/flags.go
# core/genesis.go
# params/bootnodes.go
# params/config.go
2023-12-14 11:06:07 +08:00
buddh0
1ebf2a4376
params: fix comment
2023-12-13 18:28:12 +08:00
buddh0
8ce9cdaae3
params: set default hardfork times
2023-12-13 18:28:12 +08:00
buddh0
b3df096358
core/vote: wait some blocks beforing voting since mining begin
2023-12-13 18:27:52 +08:00
buddh0
fa5d0cf287
core/systemcontracts: update CommitUrl for keplerUpgrade
2023-12-07 15:53:25 +08:00
buddho
a30beeba59
core/txpool/legacypool: respect nolocals-setting ( #2037 )
2023-12-06 17:05:13 +08:00
rjl493456442
7891b210e0
trie/triedb/pathdb, core/rawdb: enhance error message in freezer ( #28198 )
...
This PR adds more error message for debugging purpose.
2023-12-05 15:46:43 +08:00
rjl493456442
3076ad2ab9
eth/protocols/snap: fix snap sync failure on empty storage range ( #28306 )
2023-12-05 15:46:43 +08:00
rjl493456442
1ddd337d1c
core, trie, eth: refactor stacktrie constructor ( #28350 )
2023-12-05 15:32:11 +08:00
Martin Holst Swende
a182557ac3
trie: remove owner and binary marshaling from stacktrie ( #28291 )
2023-12-05 15:32:11 +08:00
zzzckck
5b78f5761a
Merge branch 'develop' into develop_lock_v1.3.4_merge
2023-12-05 11:29:13 +08:00
larry.lx
885de2c1ca
fix: failed ut
2023-12-04 19:06:48 +08:00
larry.lx
761563155c
fork: add hardfork Hertzfix
2023-12-04 19:06:48 +08:00
larry.lx
f7e9adc2c8
fix: remove sharedPool
2023-12-04 19:06:48 +08:00
lx
20dcaabfdc
Merge branch 'develop' into develop_lock_v1.3.3
2023-11-30 10:14:39 +08:00
larry.lx
8e19728ea7
fix: remove sharedPool
2023-11-29 15:02:58 +08:00
buddh0
cd0356b106
core/systemcontracts: include BEP-319 on kepler hardfork
2023-11-22 19:09:34 +08:00
buddho
0224d48df4
core: enable Shanghai EIPs ( #1970 )
2023-11-20 19:19:26 +08:00
buddho
4be9481558
internal/ethapi: fix null effectiveGasPrice in GetTransactionReceipt ( #1980 )
2023-11-14 16:40:25 +08:00
joey
53559fc4d7
eth, trie/triedb/pathdb: pbss patches ( #1955 )
...
* fix: use the top root hash for rewinding under path schema
* feat: add async flush nodebuffer in path schema
* chore: add prun-block param suffix check
* fix: code review comments
2023-11-06 14:11:17 +08:00
lx
56424d390f
trie: keep trie prefetch during validation phase ( #1954 )
2023-10-31 11:32:31 +08:00
GalaIO
0d9151eb8f
txpool: fix a potential crash issue in shutdown; ( #1951 )
2023-10-30 15:56:37 +08:00
lx
3bf998f55c
code: remove accountTrieCache and storageTrieCache ( #1949 )
...
accountTrieCache and storageTrieCache were introduced in this PR:
https://github.com/bnb-chain/bsc/pull/257 , which is to improve performance.
Actually the performance gain is quite limited, as there is already dirty
and clean cache for trie node.
And after big merge, these 2 cache can not be used when PBSS is enabled.
So remove these code to simplify the logic.
2023-10-30 10:29:54 +08:00
lx
fd6e7bb3b2
performance: commitTire concurrently ( #1948 )
2023-10-27 08:55:51 +08:00