mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
Frame System Benchmarking (#5834)
* Frame System Benchmarking * Add to substrate node, avoid divide by zero errors in analysis * reduce features * some fixes * copy pasta
This commit is contained in:
@@ -470,7 +470,6 @@ decl_error! {
|
||||
///
|
||||
/// Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
||||
FailedToExtractRuntimeVersion,
|
||||
|
||||
/// Suicide called when the account has non-default composite data.
|
||||
NonDefaultComposite,
|
||||
/// There is a non-zero reference count preventing the account from being purged.
|
||||
@@ -629,10 +628,8 @@ decl_module! {
|
||||
/// data is equal to its default value.
|
||||
///
|
||||
/// # <weight>
|
||||
/// - `O(K)` with `K` being complexity of `on_killed_account`
|
||||
/// - `O(1)`
|
||||
/// - 1 storage read and deletion.
|
||||
/// - 1 call to `on_killed_account` callback with unknown complexity `K`
|
||||
/// - 1 event.
|
||||
/// # </weight>
|
||||
#[weight = (25_000_000, DispatchClass::Operational)]
|
||||
fn suicide(origin) {
|
||||
|
||||
Reference in New Issue
Block a user