core: show db error-info in case of mismatched hash root (#26870)

When a database failure occurs, bubble it up a into statedb, and report it in suitable places, such as during a 'bad block' report.
This commit is contained in:
rjl493456442
2023-03-16 03:12:34 -04:00
committed by GitHub
parent f86913bc3e
commit bba2a1bac5
4 changed files with 17 additions and 44 deletions
-2
View File
@@ -76,8 +76,6 @@ type StateDB interface {
AddLog(*types.Log)
AddPreimage(common.Hash, []byte)
ForEachStorage(common.Address, func(common.Hash, common.Hash) bool) error
}
// CallContext provides a basic interface for the EVM calling conventions. The EVM