2022-07-25 14:10:18 +00:00
|
|
|
package blocks
|
|
|
|
|
|
|
|
import "github.com/pkg/errors"
|
|
|
|
|
|
|
|
var errNilSignedWithdrawalMessage = errors.New("nil SignedBLSToExecutionChange message")
|
|
|
|
var errNilWithdrawalMessage = errors.New("nil BLSToExecutionChange message")
|
|
|
|
var errInvalidBLSPrefix = errors.New("withdrawal credential prefix is not a BLS prefix")
|
|
|
|
var errInvalidWithdrawalCredentials = errors.New("withdrawal credentials do not match")
|
2022-11-08 13:15:26 +00:00
|
|
|
var errInvalidWithdrawalIndex = errors.New("invalid withdrawal index")
|
|
|
|
var errInvalidValidatorIndex = errors.New("invalid validator index")
|
|
|
|
var errInvalidWithdrawalAmount = errors.New("invalid withdrawal amount")
|
|
|
|
var errInvalidExecutionAddress = errors.New("invalid execution address")
|
|
|
|
var errInvalidWithdrawalNumber = errors.New("invalid number of withdrawals")
|