mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
E3: chain rules fix (#6448)
This commit is contained in:
parent
ba585f494b
commit
05f715ca51
@ -197,7 +197,7 @@ func (rw *Worker) RunTxTask(txTask *exec22.TxTask) {
|
|||||||
getHashFn := core.GetHashFn(header, rw.getHeader)
|
getHashFn := core.GetHashFn(header, rw.getHeader)
|
||||||
blockContext = core.NewEVMBlockContext(header, getHashFn, rw.engine, nil /* author */)
|
blockContext = core.NewEVMBlockContext(header, getHashFn, rw.engine, nil /* author */)
|
||||||
}
|
}
|
||||||
rw.evm.ResetBetweenBlocks(blockContext, core.NewEVMTxContext(msg), ibs, vmConfig, txTask.Rules)
|
rw.evm.ResetBetweenBlocks(blockContext, core.NewEVMTxContext(msg), ibs, vmConfig, rules)
|
||||||
vmenv = rw.evm
|
vmenv = rw.evm
|
||||||
}
|
}
|
||||||
applyRes, err := core.ApplyMessage(vmenv, msg, gp, true /* refunds */, false /* gasBailout */)
|
applyRes, err := core.ApplyMessage(vmenv, msg, gp, true /* refunds */, false /* gasBailout */)
|
||||||
|
@ -776,7 +776,7 @@ func (p *Parlia) finalize(header *types.Header, state *state.IntraBlockState, tx
|
|||||||
//log.Error("distributeIncoming", "block hash", header.Hash(), "error", err, "systemTxs", len(systemTxs))
|
//log.Error("distributeIncoming", "block hash", header.Hash(), "error", err, "systemTxs", len(systemTxs))
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
log.Debug("distribute successful", "txns", txs.Len(), "receipts", len(receipts), "gasUsed", header.GasUsed)
|
//log.Debug("distribute successful", "txns", txs.Len(), "receipts", len(receipts), "gasUsed", header.GasUsed)
|
||||||
if len(systemTxs) > 0 {
|
if len(systemTxs) > 0 {
|
||||||
return nil, nil, fmt.Errorf("the length of systemTxs is still %d", len(systemTxs))
|
return nil, nil, fmt.Errorf("the length of systemTxs is still %d", len(systemTxs))
|
||||||
}
|
}
|
||||||
|
@ -157,8 +157,6 @@ func doDecompressSpeed(cliCtx *cli.Context) error {
|
|||||||
}
|
}
|
||||||
f := args.First()
|
f := args.First()
|
||||||
|
|
||||||
compress.SetDecompressionTableCondensity(9)
|
|
||||||
|
|
||||||
preloadFileAsync(f)
|
preloadFileAsync(f)
|
||||||
|
|
||||||
decompressor, err := compress.NewDecompressor(f)
|
decompressor, err := compress.NewDecompressor(f)
|
||||||
|
Loading…
Reference in New Issue
Block a user