Files
prysm/consensus-types/payload-attribute/interface.go
Bastin 92bd211e4d upgrade v6 to v7 (#15989)
* upgrade v6 to v7

* changelog

* update-go-ssz
2025-11-06 16:16:23 +00:00

19 lines
460 B
Go

package payloadattribute
import (
enginev1 "github.com/OffchainLabs/prysm/v7/proto/engine/v1"
)
type Attributer interface {
Version() int
PrevRandao() []byte
Timestamp() uint64
SuggestedFeeRecipient() []byte
Withdrawals() ([]*enginev1.Withdrawal, error)
ParentBeaconBlockRoot() ([]byte, error)
PbV1() (*enginev1.PayloadAttributes, error)
PbV2() (*enginev1.PayloadAttributesV2, error)
PbV3() (*enginev1.PayloadAttributesV3, error)
IsEmpty() bool
}