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