Documentation ¶
Index ¶
- func CodeToDefaultMsg(code CodeType) string
- func ErrAddCheckpoint(codespace sdk.CodespaceType) sdk.Error
- func ErrBadAccountRootHash(codespace sdk.CodespaceType) sdk.Error
- func ErrBadAck(codespace sdk.CodespaceType) sdk.Error
- func ErrBadBlockDetails(codespace sdk.CodespaceType) sdk.Error
- func ErrBadProposerDetails(codespace sdk.CodespaceType, proposer types.HeimdallAddress) sdk.Error
- func ErrBadTimeStamp(codespace sdk.CodespaceType) sdk.Error
- func ErrDisCountinuousCheckpoint(codespace sdk.CodespaceType) sdk.Error
- func ErrInvalidBorChainID(codespace sdk.CodespaceType) sdk.Error
- func ErrInvalidMsg(codespace sdk.CodespaceType, format string, args ...interface{}) sdk.Error
- func ErrInvalidNoACK(codespace sdk.CodespaceType) sdk.Error
- func ErrInvalidSpanDuration(codespace sdk.CodespaceType) sdk.Error
- func ErrNoACK(codespace sdk.CodespaceType, expiresAt uint64) sdk.Error
- func ErrNoCheckpointBufferFound(codespace sdk.CodespaceType) sdk.Error
- func ErrNoCheckpointFound(codespace sdk.CodespaceType) sdk.Error
- func ErrNoConn(codespace sdk.CodespaceType) sdk.Error
- func ErrNoSignerChange(codespace sdk.CodespaceType) sdk.Error
- func ErrNoValidator(codespace sdk.CodespaceType) sdk.Error
- func ErrNonce(codespace sdk.CodespaceType) sdk.Error
- func ErrOldCheckpoint(codespace sdk.CodespaceType) sdk.Error
- func ErrOldTx(codespace sdk.CodespaceType) sdk.Error
- func ErrOldValidator(codespace sdk.CodespaceType) sdk.Error
- func ErrProducerMisMatch(codespace sdk.CodespaceType) sdk.Error
- func ErrSetCheckpointBuffer(codespace sdk.CodespaceType) sdk.Error
- func ErrSideTxValidation(codespace sdk.CodespaceType) sdk.Error
- func ErrSignerUpdateError(codespace sdk.CodespaceType) sdk.Error
- func ErrSlashInfoDetails(codespace sdk.CodespaceType) sdk.Error
- func ErrSpanNotFound(codespace sdk.CodespaceType) sdk.Error
- func ErrSpanNotInCountinuity(codespace sdk.CodespaceType) sdk.Error
- func ErrTickAckNotInContinuity(codespace sdk.CodespaceType) sdk.Error
- func ErrTickNotInContinuity(codespace sdk.CodespaceType) sdk.Error
- func ErrTooManyNoACK(codespace sdk.CodespaceType) sdk.Error
- func ErrUnableToFreezeValSet(codespace sdk.CodespaceType) sdk.Error
- func ErrUnjailValidator(codespace sdk.CodespaceType) sdk.Error
- func ErrValIsNotCurrentVal(codespace sdk.CodespaceType) sdk.Error
- func ErrValSetMisMatch(codespace sdk.CodespaceType) sdk.Error
- func ErrValSignerMismatch(codespace sdk.CodespaceType) sdk.Error
- func ErrValSignerPubKeyMismatch(codespace sdk.CodespaceType) sdk.Error
- func ErrValUnbonded(codespace sdk.CodespaceType) sdk.Error
- func ErrValidatorAlreadyJoined(codespace sdk.CodespaceType) sdk.Error
- func ErrValidatorAlreadySynced(codespace sdk.CodespaceType) sdk.Error
- func ErrValidatorNotDeactivated(codespace sdk.CodespaceType) sdk.Error
- func ErrValidatorSave(codespace sdk.CodespaceType) sdk.Error
- func ErrValidatorSigningInfoSave(codespace sdk.CodespaceType) sdk.Error
- func ErrorSideTx(codespace sdk.CodespaceType, code CodeType) (res abci.ResponseDeliverSideTx)
- type CodeType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeToDefaultMsg ¶
func ErrAddCheckpoint ¶
func ErrAddCheckpoint(codespace sdk.CodespaceType) sdk.Error
func ErrBadAccountRootHash ¶
func ErrBadAccountRootHash(codespace sdk.CodespaceType) sdk.Error
func ErrBadBlockDetails ¶
func ErrBadBlockDetails(codespace sdk.CodespaceType) sdk.Error
func ErrBadProposerDetails ¶
func ErrBadProposerDetails(codespace sdk.CodespaceType, proposer types.HeimdallAddress) sdk.Error
func ErrBadTimeStamp ¶
func ErrBadTimeStamp(codespace sdk.CodespaceType) sdk.Error
func ErrDisCountinuousCheckpoint ¶
func ErrDisCountinuousCheckpoint(codespace sdk.CodespaceType) sdk.Error
func ErrInvalidBorChainID ¶
func ErrInvalidBorChainID(codespace sdk.CodespaceType) sdk.Error
func ErrInvalidMsg ¶
func ErrInvalidMsg(codespace sdk.CodespaceType, format string, args ...interface{}) sdk.Error
func ErrInvalidNoACK ¶
func ErrInvalidNoACK(codespace sdk.CodespaceType) sdk.Error
func ErrInvalidSpanDuration ¶
func ErrInvalidSpanDuration(codespace sdk.CodespaceType) sdk.Error
func ErrNoCheckpointBufferFound ¶
func ErrNoCheckpointBufferFound(codespace sdk.CodespaceType) sdk.Error
func ErrNoCheckpointFound ¶
func ErrNoCheckpointFound(codespace sdk.CodespaceType) sdk.Error
func ErrNoSignerChange ¶
func ErrNoSignerChange(codespace sdk.CodespaceType) sdk.Error
func ErrNoValidator ¶
func ErrNoValidator(codespace sdk.CodespaceType) sdk.Error
func ErrOldCheckpoint ¶
func ErrOldCheckpoint(codespace sdk.CodespaceType) sdk.Error
func ErrOldValidator ¶
func ErrOldValidator(codespace sdk.CodespaceType) sdk.Error
func ErrProducerMisMatch ¶
func ErrProducerMisMatch(codespace sdk.CodespaceType) sdk.Error
func ErrSetCheckpointBuffer ¶
func ErrSetCheckpointBuffer(codespace sdk.CodespaceType) sdk.Error
func ErrSideTxValidation ¶
func ErrSideTxValidation(codespace sdk.CodespaceType) sdk.Error
func ErrSignerUpdateError ¶
func ErrSignerUpdateError(codespace sdk.CodespaceType) sdk.Error
func ErrSlashInfoDetails ¶
func ErrSlashInfoDetails(codespace sdk.CodespaceType) sdk.Error
func ErrSpanNotFound ¶
func ErrSpanNotFound(codespace sdk.CodespaceType) sdk.Error
func ErrSpanNotInCountinuity ¶
func ErrSpanNotInCountinuity(codespace sdk.CodespaceType) sdk.Error
func ErrTickAckNotInContinuity ¶
func ErrTickAckNotInContinuity(codespace sdk.CodespaceType) sdk.Error
func ErrTickNotInContinuity ¶
func ErrTickNotInContinuity(codespace sdk.CodespaceType) sdk.Error
func ErrTooManyNoACK ¶
func ErrTooManyNoACK(codespace sdk.CodespaceType) sdk.Error
func ErrUnableToFreezeValSet ¶
func ErrUnableToFreezeValSet(codespace sdk.CodespaceType) sdk.Error
func ErrUnjailValidator ¶
func ErrUnjailValidator(codespace sdk.CodespaceType) sdk.Error
func ErrValIsNotCurrentVal ¶
func ErrValIsNotCurrentVal(codespace sdk.CodespaceType) sdk.Error
func ErrValSetMisMatch ¶
func ErrValSetMisMatch(codespace sdk.CodespaceType) sdk.Error
func ErrValSignerMismatch ¶
func ErrValSignerMismatch(codespace sdk.CodespaceType) sdk.Error
func ErrValSignerPubKeyMismatch ¶
func ErrValSignerPubKeyMismatch(codespace sdk.CodespaceType) sdk.Error
func ErrValUnbonded ¶
func ErrValUnbonded(codespace sdk.CodespaceType) sdk.Error
func ErrValidatorAlreadyJoined ¶
func ErrValidatorAlreadyJoined(codespace sdk.CodespaceType) sdk.Error
func ErrValidatorAlreadySynced ¶
func ErrValidatorAlreadySynced(codespace sdk.CodespaceType) sdk.Error
func ErrValidatorNotDeactivated ¶
func ErrValidatorNotDeactivated(codespace sdk.CodespaceType) sdk.Error
func ErrValidatorSave ¶
func ErrValidatorSave(codespace sdk.CodespaceType) sdk.Error
func ErrValidatorSigningInfoSave ¶
func ErrValidatorSigningInfoSave(codespace sdk.CodespaceType) sdk.Error
Slashing errors
func ErrorSideTx ¶
func ErrorSideTx(codespace sdk.CodespaceType, code CodeType) (res abci.ResponseDeliverSideTx)
ErrorSideTx represents side-tx error
Types ¶
type CodeType ¶
const ( DefaultCodespace sdk.CodespaceType = "1" CodeInvalidMsg CodeType = 1400 CodeOldTx CodeType = 1401 CodeInvalidProposerInput CodeType = 1500 CodeInvalidBlockInput CodeType = 1501 CodeInvalidACK CodeType = 1502 CodeNoACK CodeType = 1503 CodeBadTimeStamp CodeType = 1504 CodeInvalidNoACK CodeType = 1505 CodeTooManyNoAck CodeType = 1506 CodeLowBal CodeType = 1507 CodeNoCheckpoint CodeType = 1508 CodeOldCheckpoint CodeType = 1509 CodeDisCountinuousCheckpoint CodeType = 1510 CodeNoCheckpointBuffer CodeType = 1511 CodeOldValidator CodeType = 2500 CodeNoValidator CodeType = 2501 CodeValSignerMismatch CodeType = 2502 CodeValidatorExitDeny CodeType = 2503 CodeValAlreadyUnbonded CodeType = 2504 CodeSignerSynced CodeType = 2505 CodeValSave CodeType = 2506 CodeValAlreadyJoined CodeType = 2507 CodeSignerUpdateError CodeType = 2508 CodeNoConn CodeType = 2509 CodeWaitFrConfirmation CodeType = 2510 CodeValPubkeyMismatch CodeType = 2511 CodeErrDecodeEvent CodeType = 2512 CodeNoSignerChangeError CodeType = 2513 CodeNonce CodeType = 2514 CodeSpanNotCountinuous CodeType = 3501 CodeUnableToFreezeSet CodeType = 3502 CodeSpanNotFound CodeType = 3503 CodeValSetMisMatch CodeType = 3504 CodeProducerMisMatch CodeType = 3505 CodeInvalidBorChainID CodeType = 3506 CodeInvalidSpanDuration CodeType = 3507 CodeFetchCheckpointSigners CodeType = 4501 CodeErrComputeGenesisAccountRoot CodeType = 4503 CodeAccountRootMismatch CodeType = 4504 CodeErrAccountRootHash CodeType = 4505 CodeErrSetCheckpointBuffer CodeType = 4506 CodeErrAddCheckpoint CodeType = 4507 CodeInvalidReceipt CodeType = 5501 CodeSideTxValidationFailed CodeType = 5502 CodeValSigningInfoSave CodeType = 6501 CodeErrValUnjail CodeType = 6502 CodeSlashInfoDetails CodeType = 6503 CodeTickNotInContinuity CodeType = 6504 CodeTickAckNotInContinuity CodeType = 6505 )
Click to show internal directories.
Click to hide internal directories.