debug
This commit is contained in:
parent
e8e8d2f81c
commit
0ef96b68a7
@ -223,7 +223,9 @@ func (api *ConsensusAPI) ForkchoiceUpdatedV3(update engine.ForkchoiceStateV1, pa
|
||||
if params.BeaconRoot == nil {
|
||||
return engine.STATUS_INVALID, engine.InvalidParams.With(errors.New("missing beacon root"))
|
||||
}
|
||||
log.Debug("forkchoiceupdatedv3 args", "update", update, "params", params)
|
||||
log.Debug("forkchoiceupdatedv3 args", "update", update, "params", params,
|
||||
"config", api.eth.BlockChain().Config(),
|
||||
"latest_fork", api.eth.BlockChain().Config().LatestFork(params.Timestamp))
|
||||
if api.eth.BlockChain().Config().LatestFork(params.Timestamp) != forks.Cancun {
|
||||
return engine.STATUS_INVALID, engine.UnsupportedFork.With(errors.New("forkchoiceUpdatedV3 must only be called for cancun payloads"))
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user