Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions pallets/admin-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,7 @@ pub mod pallet {
#[pallet::call_index(33)]
#[pallet::weight((
Weight::from_parts(2_875_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
Expand Down Expand Up @@ -1144,7 +1145,9 @@ pub mod pallet {
/// The extrinsic will call the Subtensor pallet to set the weights min stake.
#[pallet::call_index(42)]
#[pallet::weight((
Weight::from_parts(5_000_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)),
Weight::from_parts(5_000_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
))]
Expand Down Expand Up @@ -1187,7 +1190,9 @@ pub mod pallet {
/// The extrinsic will call the Subtensor pallet to set the rate limit for delegate take transactions.
#[pallet::call_index(45)]
#[pallet::weight((
Weight::from_parts(5_019_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)),
Weight::from_parts(5_019_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
))]
Expand All @@ -1208,7 +1213,9 @@ pub mod pallet {
/// The extrinsic will call the Subtensor pallet to set the minimum delegate take.
#[pallet::call_index(46)]
#[pallet::weight((
Weight::from_parts(7_214_000, 0).saturating_add(T::DbWeight::get().writes(1_u64)),
Weight::from_parts(7_214_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
))]
Expand Down Expand Up @@ -1264,6 +1271,7 @@ pub mod pallet {
#[pallet::call_index(50)]
#[pallet::weight((
Weight::from_parts(18_300_000, 0)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Normal,
Pays::Yes
Expand Down Expand Up @@ -1338,6 +1346,7 @@ pub mod pallet {
#[pallet::call_index(54)]
#[pallet::weight((
Weight::from_parts(5_000_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
Expand Down Expand Up @@ -1375,6 +1384,7 @@ pub mod pallet {
#[pallet::call_index(55)]
#[pallet::weight((
Weight::from_parts(5_000_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
Expand Down Expand Up @@ -1508,6 +1518,7 @@ pub mod pallet {
#[pallet::call_index(61)]
#[pallet::weight((
Weight::from_parts(20_460_000, 0)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Normal,
Pays::Yes
Expand Down Expand Up @@ -1580,7 +1591,8 @@ pub mod pallet {
#[pallet::call_index(62)]
#[pallet::weight((
Weight::from_parts(10_020_000, 3507)
.saturating_add(T::DbWeight::get().reads(1_u64)),
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(0_u64)),
DispatchClass::Operational,
Pays::Yes
))]
Expand Down Expand Up @@ -1614,6 +1626,7 @@ pub mod pallet {
#[pallet::call_index(63)]
#[pallet::weight((
Weight::from_parts(3_000_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
Expand Down Expand Up @@ -1667,6 +1680,7 @@ pub mod pallet {
#[pallet::call_index(65)]
#[pallet::weight((
Weight::from_parts(6_201_000, 0)
.saturating_add(T::DbWeight::get().reads(0_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
Expand Down Expand Up @@ -1753,6 +1767,7 @@ pub mod pallet {
#[pallet::call_index(69)]
#[pallet::weight((
Weight::from_parts(20_460_000, 0)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Normal,
Pays::Yes
Expand Down Expand Up @@ -1790,7 +1805,8 @@ pub mod pallet {
/// This function has a fixed weight of 0 and is classified as an operational transaction that does not incur any fees.
#[pallet::call_index(70)]
#[pallet::weight((
Weight::from_parts(22_340_000, 0)
Weight::from_parts(32_930_000, 0)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Normal,
Pays::Yes
Expand Down Expand Up @@ -1878,6 +1894,7 @@ pub mod pallet {
#[pallet::call_index(66)]
#[pallet::weight((
Weight::from_parts(17_980_000, 0)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64)),
DispatchClass::Operational,
Pays::Yes
Expand Down