Skip to content

Commit

Permalink
fix: use wrong min stake
Browse files Browse the repository at this point in the history
  • Loading branch information
saiintbrisson committed Apr 16, 2024
1 parent 95e6be5 commit e0fc2e3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pallets/subspace/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,8 @@ pub mod pallet {
pub type TargetRegistrationsInterval<T> =
StorageValue<_, u16, ValueQuery, DefaultTargetRegistrationsInterval<T>>;

#[pallet::type_value]
pub fn DefaultMinStakeGlobal<T: Config>() -> u64 {
100
}
#[pallet::storage] // --- MAP ( netuid ) --> min_allowed_weights
pub type MinStakeGlobal<T> = StorageValue<_, u64, ValueQuery, DefaultMinStakeGlobal<T>>;
pub type MinStakeGlobal<T> = StorageValue<_, u64, ValueQuery>;

#[pallet::type_value]
pub fn DefaultMinDelegationFeeGlobal<T: Config>() -> Percent {
Expand Down

0 comments on commit e0fc2e3

Please sign in to comment.