mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
90ecd23d41
* implement process_withdrawals * change errors to error.go * gazelle * James' review * use bytes.Equal instead * Radek's review * Radek's review #2 * fix test Co-authored-by: Radosław Kapka <rkapka@wp.pl>
14 lines
754 B
Go
14 lines
754 B
Go
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")
|
|
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")
|