mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-11 00:18:06 -05:00
* Mark block as invalid in gossip if it fails signature check * Add tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
10 lines
449 B
Go
10 lines
449 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 ErrInvalidSignature = errors.New("invalid signature")
|