mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 07:23:46 +00:00
fix: fix block validator createTraceEnv (#429)
This commit is contained in:
parent
b51736fd3c
commit
60e260b2f1
2 changed files with 2 additions and 2 deletions
|
|
@ -254,7 +254,7 @@ func (v *BlockValidator) createTraceEnv(block *types.Block) (*TraceEnv, error) {
|
||||||
return nil, errors.New("validateCircuitRowConsumption: no parent block found")
|
return nil, errors.New("validateCircuitRowConsumption: no parent block found")
|
||||||
}
|
}
|
||||||
|
|
||||||
statedb, err := v.bc.StateAt(parent.Hash())
|
statedb, err := v.bc.StateAt(parent.Root())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import (
|
||||||
const (
|
const (
|
||||||
VersionMajor = 4 // Major version component of the current release
|
VersionMajor = 4 // 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 = 9 // Patch version component of the current release
|
VersionPatch = 10 // Patch version component of the current release
|
||||||
VersionMeta = "sepolia" // Version metadata to append to the version string
|
VersionMeta = "sepolia" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue