mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-12 13:47:07 +00:00
more verbose assignment cert errors (#5433)
* more verbose assignment cert errors * rename a variant to InvalidAssignmentKey
This commit is contained in:
1 parent
9cdfbb4c8d
commit
69af87a199
4 files changed
+43
-18
No files matched your search
@@ -810,8 +810,8 @@ pub enum AssignmentCheckError {
|
||||
InvalidCandidateIndex(CandidateIndex),
|
||||
#[error("Invalid candidate {0}: {1:?}")]
|
||||
InvalidCandidate(CandidateIndex, CandidateHash),
|
||||
#[error("Invalid cert: {0:?}")]
|
||||
InvalidCert(ValidatorIndex),
|
||||
#[error("Invalid cert: {0:?}, reason: {1}")]
|
||||
InvalidCert(ValidatorIndex, String),
|
||||
#[error("Internal state mismatch: {0:?}, {1:?}")]
|
||||
Internal(Hash, CandidateHash),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user