Fix Gnosis sync from scratch (#7890)

Fix an issue with historical block execution introduced by PR #7727
This commit is contained in:
Andrew Ashikhmin 2023-07-14 09:15:15 +02:00 committed by GitHub
parent 23f5377614
commit 1842330d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -642,7 +642,7 @@ func (c *AuRa) Initialize(config *chain.Config, chain consensus.ChainHeaderReade
}
syscall := func(addr libcommon.Address, data []byte) ([]byte, error) {
return syscallCustom(addr, data, state, header, true)
return syscallCustom(addr, data, state, header, false /* constCall */)
}
c.certifierLock.Lock()
if c.cfg.Registrar != nil && c.certifier == nil && config.IsLondon(blockNum) {