Skip to content

Commit c5728c7

Browse files
committed
add comments for remove stake weight
1 parent fdc31d9 commit c5728c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chain-extensions/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ where
9999
Env: SubtensorExtensionEnv<T>,
100100
<<T as SysConfig>::Lookup as StaticLookup>::Source: From<<T as SysConfig>::AccountId>,
101101
{
102+
// weight for remove_stake is not defined in the Subtensor pallet's WeightInfo
102103
let weight = Weight::from_parts(196_800_000, 0)
103104
.saturating_add(T::DbWeight::get().reads(19))
104105
.saturating_add(T::DbWeight::get().writes(10));

0 commit comments

Comments
 (0)