This commit is contained in:
cifer76 2023-03-07 17:23:46 +03:00
parent 0cbc3b9f7b
commit 24e774b167
2 changed files with 0 additions and 7 deletions

View file

@ -1777,7 +1777,6 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals, setHead bool)
substart := time.Now()
receipts, logs, usedGas, err := bc.processor.Process(block, statedb, bc.vmConfig, bc.tracingTx())
if err != nil {
fmt.Printf("process error: %v\n", err)
bc.reportBlock(block, receipts, err)
atomic.StoreUint32(&followupInterrupt, 1)
return it.index, err
@ -1799,7 +1798,6 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals, setHead bool)
// Validate the state using the default validator
substart = time.Now()
if err := bc.validator.ValidateState(block, statedb, receipts, usedGas); err != nil {
fmt.Printf("validate state error: %v\n", err)
bc.reportBlock(block, receipts, err)
atomic.StoreUint32(&followupInterrupt, 1)
return it.index, err

View file

@ -1121,11 +1121,6 @@ func (s *StateDB) Prepare(rules params.Rules, sender, coinbase common.Address, d
s.transientStorage = newTransientStorage()
}
func (s *StateDB) SetTxHashAndIndex(txhash common.Hash, ti int) {
s.thash = txhash
s.txIndex = ti
}
// AddAddressToAccessList adds the given address to the access list
func (s *StateDB) AddAddressToAccessList(addr common.Address) {
if s.accessList.AddAddress(addr) {