We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove_vesting_schedule extrinsic uses hardcoded weighs
remove_vesting_schedule
#[pallet::weight(10_000_000)]
#[pallet::call] impl<T: Config> Pallet<T> { #[pallet::call_index(0)] #[pallet::weight(10_000_000)] pub fn remove_vesting_schedule( origin: OriginFor<T>, who: AccountIdLookupOf<T>, schedule_index: u32, ) -> DispatchResultWithPostInfo { ensure_root(origin)?; let who = T::Lookup::lookup(who)?; T::VestingSchedule::remove_vesting_schedule(&who, schedule_index)?; Self::deposit_event(Event::VestingScheduleRemoved { who, schedule_index }); // waive the fee Ok(Pays::No.into()) } }
To automatically regenerate weight for extrinsic need :
./target/release/spacewalk-standalone benchmark pallet
The text was updated successfully, but these errors were encountered:
Moved to icebox.
Sorry, something went wrong.
No branches or pull requests
remove_vesting_schedule
extrinsic uses hardcoded weighs#[pallet::weight(10_000_000)]
To automatically regenerate weight for extrinsic need :
./target/release/spacewalk-standalone benchmark pallet
to regenerate weights.The text was updated successfully, but these errors were encountered: