Skip to content

Commit dfdf22d

Browse files
committed
update errors
1 parent d16bba5 commit dfdf22d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pallets/subtensor/src/macros/errors.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ mod errors {
150150
TooManyChildren,
151151
/// Default transaction rate limit exceeded.
152152
TxRateLimitExceeded,
153-
/// Swap already scheduled.
154-
SwapAlreadyScheduled,
155-
/// failed to swap coldkey
156-
FailedToSchedule,
153+
/// Coldkey swap announcement not found
154+
ColdkeySwapAnnouncementNotFound,
155+
/// Coldkey swap too early.
156+
ColdkeySwapTooEarly,
157157
/// New coldkey is hotkey
158158
NewColdKeyIsHotkey,
159159
/// Childkey take is invalid.
@@ -266,5 +266,7 @@ mod errors {
266266
InvalidRootClaimThreshold,
267267
/// Exceeded subnet limit number or zero.
268268
InvalidSubnetNumber,
269+
/// Deprecated call.
270+
Deprecated,
269271
}
270272
}

0 commit comments

Comments
 (0)