Support version Electra for ForkchoiceUpdated (#13994)

* Support version Electra for ForkchoiceUpdated

* Update PbV3 version check
This commit is contained in:
terence
2024-05-13 15:21:18 -07:00
committed by GitHub
parent e3db52ca1f
commit 0de1282e1c
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ func (a *data) PbV3() (*enginev1.PayloadAttributesV3, error) {
if a == nil {
return nil, errNilPayloadAttribute
}
if a.version != version.Deneb {
if a.version < version.Deneb {
return nil, consensus_types.ErrNotSupported("PbV3", a.version)
}
if a.timeStamp == 0 && len(a.prevRandao) == 0 && len(a.parentBeaconBlockRoot) == 0 {