File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -1391,7 +1391,7 @@ pub mod pallet {
13911391 // * 'NonAssociatedColdKey':
13921392 // - The hotkey we are delegating is not owned by the calling coldkey.
13931393 //
1394- // * 'InvalidTransaction ':
1394+ // * 'InvalidTake ':
13951395 // - The delegate is setting a take which is not lower than the previous.
13961396 //
13971397 #[ pallet:: call_index( 65 ) ]
@@ -1431,7 +1431,7 @@ pub mod pallet {
14311431 // * 'NonAssociatedColdKey':
14321432 // - The hotkey we are delegating is not owned by the calling coldkey.
14331433 //
1434- // * 'InvalidTransaction ':
1434+ // * 'InvalidTake ':
14351435 // - The delegate is setting a take which is not greater than the previous.
14361436 //
14371437 #[ pallet:: call_index( 66 ) ]
Original file line number Diff line number Diff line change @@ -117,6 +117,9 @@ impl<T: Config> Pallet<T> {
117117 // * 'NonAssociatedColdKey':
118118 // - The hotkey we are delegating is not owned by the calling coldket.
119119 //
120+ // * 'InvalidTake':
121+ // - The delegate is setting a take which is not lower than the previous.
122+ //
120123 pub fn do_decrease_take (
121124 origin : T :: RuntimeOrigin ,
122125 hotkey : T :: AccountId ,
@@ -173,8 +176,8 @@ impl<T: Config> Pallet<T> {
173176 // - The stake proportion that this hotkey takes from delegations for subnet ID.
174177 //
175178 // # Event:
176- // * TakeDecreased ;
177- // - On successfully setting a decreased take for this hotkey.
179+ // * TakeIncreased ;
180+ // - On successfully setting a increased take for this hotkey.
178181 //
179182 // # Raises:
180183 // * 'NotRegistered':
@@ -186,6 +189,9 @@ impl<T: Config> Pallet<T> {
186189 // * 'TxRateLimitExceeded':
187190 // - Thrown if key has hit transaction rate limit
188191 //
192+ // * 'InvalidTake':
193+ // - The delegate is setting a take which is not greater than the previous.
194+ //
189195 pub fn do_increase_take (
190196 origin : T :: RuntimeOrigin ,
191197 hotkey : T :: AccountId ,
You can’t perform that action at this time.
0 commit comments