Compare commits
1 Commits
develop_lo
...
v1.2.14
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6ebc0e31d |
@@ -1,4 +1,8 @@
|
||||
# Changelog
|
||||
## v1.2.14
|
||||
BUGFIX
|
||||
fix: remove sharedPool
|
||||
|
||||
## v1.2.13
|
||||
IMPROVEMENT
|
||||
* [\#1954](https://github.com/bnb-chain/bsc/pull/1954) performance: keep trie prefetch during validation phase
|
||||
|
||||
@@ -59,7 +59,9 @@ func (p *statePrefetcher) Prefetch(block *types.Block, statedb *state.StateDB, c
|
||||
for i := 0; i < prefetchThread; i++ {
|
||||
go func() {
|
||||
newStatedb := statedb.CopyDoPrefetch()
|
||||
newStatedb.EnableWriteOnSharedStorage()
|
||||
if header.Number.Uint64() < 33968300 {
|
||||
newStatedb.EnableWriteOnSharedStorage()
|
||||
}
|
||||
gaspool := new(GasPool).AddGas(block.GasLimit())
|
||||
blockContext := NewEVMBlockContext(header, p.bc, nil)
|
||||
evm := vm.NewEVM(blockContext, vm.TxContext{}, statedb, p.config, *cfg)
|
||||
@@ -105,7 +107,9 @@ func (p *statePrefetcher) PrefetchMining(txs *types.TransactionsByPriceAndNonce,
|
||||
go func(startCh <-chan *types.Transaction, stopCh <-chan struct{}) {
|
||||
idx := 0
|
||||
newStatedb := statedb.CopyDoPrefetch()
|
||||
newStatedb.EnableWriteOnSharedStorage()
|
||||
if header.Number.Uint64() < 33968300 {
|
||||
newStatedb.EnableWriteOnSharedStorage()
|
||||
}
|
||||
gaspool := new(GasPool).AddGas(gasLimit)
|
||||
blockContext := NewEVMBlockContext(header, p.bc, nil)
|
||||
evm := vm.NewEVM(blockContext, vm.TxContext{}, statedb, p.config, cfg)
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
const (
|
||||
VersionMajor = 1 // Major version component of the current release
|
||||
VersionMinor = 2 // Minor version component of the current release
|
||||
VersionPatch = 13 // Patch version component of the current release
|
||||
VersionPatch = 14 // Patch version component of the current release
|
||||
VersionMeta = "" // Version metadata to append to the version string
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user