From fd31407737999e8f1663799055e76b0efd3611cc Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Tue, 16 Aug 2022 08:16:30 +0200 Subject: [PATCH 01/23] Reduce dispute coordinator load (#5785) * Don't import backing statements directly into the dispute coordinator. This also gets rid of a redundant signature check. Both should have some impact on backing performance. In general this PR should make us scale better in the number of parachains. Reasoning (aka why this is fine): For the signature check: As mentioned, it is a redundant check. The signature has already been checked at this point. This is even made obvious by the used types. The smart constructor is not perfect as discussed [here](https://github.com/paritytech/polkadot/issues/3455), but is still a reasonable security. For not importing to the dispute-coordinator: This should be good as the dispute coordinator does scrape backing votes from chain. This suffices in practice as a super majority of validators must have seen a backing fork in order for a candidate to get included and only included candidates pose a threat to our system. The import from chain is preferable over direct import of backing votes for two reasons: 1. The import is batched, greatly improving import performance. All backing votes for a candidate are imported with a single import. And indeed we were able to see in metrics that importing votes from chain is fast. 2. We do less work in general as not every candidate for which statements are gossiped might actually make it on a chain. The dispute coordinator as with the current implementation would still import and keep those votes around for six sessions. While redundancy is good for reliability in the event of bugs, this also comes at a non negligible cost. The dispute-coordinator right now is the subsystem with the highest load, despite the fact that it should not be doing much during mormal operation and it is only getting worse with more parachains as the load is a direct function of the number of statements. We'll see on Versi how much of a performance improvement this PR * Get rid of dead code. * Dont send approval vote * Make it pass CI * Bring back tests for fixing them later. * Explicit signature check. * Resurrect approval-voting tests (not fixed yet) * Send out approval votes in dispute-distribution. Use BTreeMap for ordered dispute votes. * Bring back an important warning. * Fix approval voting tests. * Don't send out dispute message on import + test + Some cleanup. * Guide changes. Note that the introduced complexity is actually redundant. * WIP: guide changes. * Finish guide changes about dispute-coordinator conceputally. Requires more proof read still. Also removed obsolete implementation details, where the code is better suited as the source of truth. * Finish guide changes for now. * Remove own approval vote import logic. * Implement logic for retrieving approval-votes into approval-voting and approval-distribution subsystems. * Update roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md Co-authored-by: asynchronous rob * Review feedback. In particular: Add note about disputes of non included candidates. * Incorporate Review Remarks * Get rid of superfluous space. * Tidy up import logic a bit. Logical vote import is now separated, making the code more readable and maintainable. Also: Accept import if there is at least one invalid signer that has not exceeded its spam slots, instead of requiring all of them to not exceed their limits. This is more correct and a preparation for vote batching. * We don't need/have empty imports. * Fix tests and bugs. * Remove error prone redundancy. * Import approval votes on dispute initiated/concluded. * Add test for approval vote import. * Make guide checker happy (hopefully) * Another sanity check + better logs. * Reasoning about boundedness. * Use `CandidateIndex` as opposed to `CoreIndex`. * Remove redundant import. * Review remarks. * Add metric for calls to request signatures * More review remarks. * Add metric on imported approval votes. * Include candidate hash in logs. * More trace log * Break cycle. * Add some tracing. * Cleanup allowed messages. * fmt * Tracing + timeout for get inherent data. * Better error. * Break cycle in all places. * Clarified comment some more. * Typo. * Break cycle approval-distribution - approval-voting. Co-authored-by: asynchronous rob --- Cargo.lock | 1 + node/core/approval-voting/src/lib.rs | 261 ++++--- node/core/approval-voting/src/tests.rs | 28 - node/core/backing/src/lib.rs | 93 +-- node/core/backing/src/tests.rs | 178 ----- node/core/dispute-coordinator/Cargo.toml | 1 + node/core/dispute-coordinator/src/db/v1.rs | 12 +- node/core/dispute-coordinator/src/error.rs | 2 +- node/core/dispute-coordinator/src/import.rs | 564 ++++++++++++++ .../dispute-coordinator/src/initialized.rs | 622 ++++++++------- node/core/dispute-coordinator/src/lib.rs | 7 +- node/core/dispute-coordinator/src/metrics.rs | 23 +- .../dispute-coordinator/src/spam_slots.rs | 4 +- node/core/dispute-coordinator/src/tests.rs | 733 ++++++++++++++---- node/core/parachains-inherent/src/lib.rs | 2 +- node/core/provisioner/src/error.rs | 3 + node/core/provisioner/src/lib.rs | 151 +++- node/core/provisioner/src/tests.rs | 4 +- node/network/approval-distribution/src/lib.rs | 52 ++ .../dispute-distribution/src/receiver/mod.rs | 2 - .../dispute-distribution/src/sender/mod.rs | 17 +- .../dispute-distribution/src/tests/mod.rs | 18 +- node/overseer/src/lib.rs | 10 +- node/primitives/src/disputes/mod.rs | 29 +- node/subsystem-types/src/messages.rs | 19 +- .../src/node/approval/approval-voting.md | 13 +- .../src/node/backing/candidate-backing.md | 5 +- .../src/node/disputes/dispute-coordinator.md | 542 ++++++++++--- .../src/node/disputes/dispute-distribution.md | 4 + 29 files changed, 2399 insertions(+), 1001 deletions(-) create mode 100644 node/core/dispute-coordinator/src/import.rs diff --git a/Cargo.lock b/Cargo.lock index 6e351afebf5d..e281a65b102d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6496,6 +6496,7 @@ dependencies = [ "polkadot-primitives", "polkadot-primitives-test-helpers", "sc-keystore", + "sp-application-crypto", "sp-core", "sp-keyring", "sp-keystore", diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index 5f3a71cb9db9..342fc0341b99 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -26,7 +26,7 @@ use polkadot_node_primitives::{ approval::{ BlockApprovalMeta, DelayTranche, IndirectAssignmentCert, IndirectSignedApprovalVote, }, - SignedDisputeStatement, ValidationResult, APPROVAL_EXECUTION_TIMEOUT, + ValidationResult, APPROVAL_EXECUTION_TIMEOUT, }; use polkadot_node_subsystem::{ errors::RecoveryError, @@ -99,6 +99,11 @@ mod tests; pub const APPROVAL_SESSIONS: SessionWindowSize = new_session_window_size!(6); const APPROVAL_CHECKING_TIMEOUT: Duration = Duration::from_secs(120); +/// How long are we willing to wait for approval signatures? +/// +/// Value rather arbitrarily: Should not be hit in practice, it exists to more easily diagnose dead +/// lock issues for example. +const WAIT_FOR_SIGS_TIMEOUT: Duration = Duration::from_millis(500); const APPROVAL_CACHE_SIZE: usize = 1024; const TICK_TOO_FAR_IN_FUTURE: Tick = 20; // 10 seconds. const APPROVAL_DELAY: Tick = 2; @@ -152,6 +157,7 @@ struct MetricsInner { block_approval_time_ticks: prometheus::Histogram, time_db_transaction: prometheus::Histogram, time_recover_and_approve: prometheus::Histogram, + candidate_signatures_requests_total: prometheus::Counter, } /// Approval Voting metrics. @@ -225,6 +231,12 @@ impl Metrics { } } + fn on_candidate_signatures_request(&self) { + if let Some(metrics) = &self.0 { + metrics.candidate_signatures_requests_total.inc(); + } + } + fn time_db_transaction(&self) -> Option { self.0.as_ref().map(|metrics| metrics.time_db_transaction.start_timer()) } @@ -315,6 +327,13 @@ impl metrics::Metrics for Metrics { )?, registry, )?, + candidate_signatures_requests_total: prometheus::register( + prometheus::Counter::new( + "polkadot_parachain_approval_candidate_signatures_requests_total", + "Number of times signatures got requested by other subsystems", + )?, + registry, + )?, }; Ok(Metrics(Some(metrics))) @@ -691,13 +710,6 @@ enum Action { candidate: CandidateReceipt, backing_group: GroupIndex, }, - InformDisputeCoordinator { - candidate_hash: CandidateHash, - candidate_receipt: CandidateReceipt, - session: SessionIndex, - dispute_statement: SignedDisputeStatement, - validator_index: ValidatorIndex, - }, NoteApprovedInChainSelection(Hash), IssueApproval(CandidateHash, ApprovalVoteRequest), BecomeActive, @@ -957,22 +969,6 @@ async fn handle_actions( Some(_) => {}, } }, - Action::InformDisputeCoordinator { - candidate_hash, - candidate_receipt, - session, - dispute_statement, - validator_index, - } => { - ctx.send_message(DisputeCoordinatorMessage::ImportStatements { - candidate_hash, - candidate_receipt, - session, - statements: vec![(dispute_statement, validator_index)], - pending_confirmation: None, - }) - .await; - }, Action::NoteApprovedInChainSelection(block_hash) => { ctx.send_message(ChainSelectionMessage::Approved(block_hash)).await; }, @@ -1192,12 +1188,94 @@ async fn handle_from_overseer( Vec::new() }, + ApprovalVotingMessage::GetApprovalSignaturesForCandidate(candidate_hash, tx) => { + metrics.on_candidate_signatures_request(); + get_approval_signatures_for_candidate(ctx, db, candidate_hash, tx).await?; + Vec::new() + }, }, }; Ok(actions) } +/// Retrieve approval signatures. +/// +/// This involves an unbounded message send to approval-distribution, the caller has to ensure that +/// calls to this function are infrequent and bounded. +#[overseer::contextbounds(ApprovalVoting, prefix = self::overseer)] +async fn get_approval_signatures_for_candidate( + ctx: &mut Context, + db: &OverlayedBackend<'_, impl Backend>, + candidate_hash: CandidateHash, + tx: oneshot::Sender>, +) -> SubsystemResult<()> { + let entry = match db.load_candidate_entry(&candidate_hash)? { + None => return Ok(()), + Some(e) => e, + }; + + let relay_hashes = entry.block_assignments.iter().map(|(relay_hash, _)| relay_hash); + + let mut candidate_indices = HashSet::new(); + // Retrieve `CoreIndices`/`CandidateIndices` as required by approval-distribution: + for hash in relay_hashes { + let entry = match db.load_block_entry(hash)? { + None => { + gum::debug!( + target: LOG_TARGET, + ?candidate_hash, + ?hash, + "Block entry for assignment missing." + ); + continue + }, + Some(e) => e, + }; + for (candidate_index, (_core_index, c_hash)) in entry.candidates().iter().enumerate() { + if c_hash == &candidate_hash { + candidate_indices.insert((*hash, candidate_index as u32)); + break + } + } + } + + let mut sender = ctx.sender().clone(); + let get_approvals = async move { + let (tx_distribution, rx_distribution) = oneshot::channel(); + sender.send_unbounded_message(ApprovalDistributionMessage::GetApprovalSignatures( + candidate_indices, + tx_distribution, + )); + + // Because of the unbounded sending and the nature of the call (just fetching data from state), + // this should not block long: + match rx_distribution.timeout(WAIT_FOR_SIGS_TIMEOUT).await { + None => { + gum::warn!( + target: LOG_TARGET, + "Waiting for approval signatures timed out - dead lock?" + ); + }, + Some(Err(_)) => gum::debug!( + target: LOG_TARGET, + "Request for approval signatures got cancelled by `approval-distribution`." + ), + Some(Ok(votes)) => + if let Err(_) = tx.send(votes) { + gum::debug!( + target: LOG_TARGET, + "Sending approval signatures back failed, as receiver got closed" + ); + }, + } + }; + + // No need to block subsystem on this (also required to break cycle). + // We should not be sending this message frequently - caller must make sure this is bounded. + ctx.spawn("get-approval-signatures", Box::pin(get_approvals)) +} + #[overseer::contextbounds(ApprovalVoting, prefix = self::overseer)] async fn handle_approved_ancestor( ctx: &mut Context, @@ -1717,19 +1795,17 @@ fn check_and_import_approval( )), }; - // Transform the approval vote into the wrapper used to import statements into disputes. - // This also does signature checking. - let signed_dispute_statement = match SignedDisputeStatement::new_checked( - DisputeStatement::Valid(ValidDisputeStatementKind::ApprovalChecking), + // Signature check: + match DisputeStatement::Valid(ValidDisputeStatementKind::ApprovalChecking).check_signature( + &pubkey, approved_candidate_hash, block_entry.session(), - pubkey.clone(), - approval.signature.clone(), + &approval.signature, ) { Err(_) => respond_early!(ApprovalCheckResult::Bad(ApprovalCheckError::InvalidSignature( approval.validator ),)), - Ok(s) => s, + Ok(()) => {}, }; let candidate_entry = match db.load_candidate_entry(&approved_candidate_hash)? { @@ -1770,23 +1846,7 @@ fn check_and_import_approval( "Importing approval vote", ); - let inform_disputes_action = if !candidate_entry.has_approved(approval.validator) { - // The approval voting system requires a separate approval for each assignment - // to the candidate. It's possible that there are semi-duplicate approvals, - // but we only need to inform the dispute coordinator about the first expressed - // opinion by the validator about the candidate. - Some(Action::InformDisputeCoordinator { - candidate_hash: approved_candidate_hash, - candidate_receipt: candidate_entry.candidate_receipt().clone(), - session: block_entry.session(), - dispute_statement: signed_dispute_statement, - validator_index: approval.validator, - }) - } else { - None - }; - - let mut actions = advance_approval_state( + let actions = advance_approval_state( state, db, &metrics, @@ -1796,8 +1856,6 @@ fn check_and_import_approval( ApprovalStateTransition::RemoteApproval(approval.validator), ); - actions.extend(inform_disputes_action); - Ok((actions, t)) } @@ -2242,15 +2300,12 @@ async fn launch_approval( "Data recovery invalid for candidate {:?}", (candidate_hash, candidate.descriptor.para_id), ); - - sender - .send_message(DisputeCoordinatorMessage::IssueLocalStatement( - session_index, - candidate_hash, - candidate.clone(), - false, - )) - .await; + issue_local_invalid_statement( + &mut sender, + session_index, + candidate_hash, + candidate.clone(), + ); metrics_guard.take().on_approval_invalid(); }, } @@ -2304,14 +2359,12 @@ async fn launch_approval( return ApprovalState::approved(validator_index, candidate_hash) } else { // Commitments mismatch - issue a dispute. - sender - .send_message(DisputeCoordinatorMessage::IssueLocalStatement( - session_index, - candidate_hash, - candidate.clone(), - false, - )) - .await; + issue_local_invalid_statement( + &mut sender, + session_index, + candidate_hash, + candidate.clone(), + ); metrics_guard.take().on_approval_invalid(); return ApprovalState::failed(validator_index, candidate_hash) @@ -2326,14 +2379,12 @@ async fn launch_approval( "Detected invalid candidate as an approval checker.", ); - sender - .send_message(DisputeCoordinatorMessage::IssueLocalStatement( - session_index, - candidate_hash, - candidate.clone(), - false, - )) - .await; + issue_local_invalid_statement( + &mut sender, + session_index, + candidate_hash, + candidate.clone(), + ); metrics_guard.take().on_approval_invalid(); return ApprovalState::failed(validator_index, candidate_hash) @@ -2468,17 +2519,6 @@ async fn issue_approval( }, }; - // Record our statement in the dispute coordinator for later - // participation in disputes on the same candidate. - let signed_dispute_statement = SignedDisputeStatement::new_checked( - DisputeStatement::Valid(ValidDisputeStatementKind::ApprovalChecking), - candidate_hash, - session, - validator_pubkey.clone(), - sig.clone(), - ) - .expect("Statement just signed; should pass checks; qed"); - gum::trace!( target: LOG_TARGET, ?candidate_hash, @@ -2487,25 +2527,7 @@ async fn issue_approval( "Issuing approval vote", ); - let candidate_receipt = candidate_entry.candidate_receipt().clone(); - - let inform_disputes_action = if candidate_entry.has_approved(validator_index) { - // The approval voting system requires a separate approval for each assignment - // to the candidate. It's possible that there are semi-duplicate approvals, - // but we only need to inform the dispute coordinator about the first expressed - // opinion by the validator about the candidate. - Some(Action::InformDisputeCoordinator { - candidate_hash, - candidate_receipt, - session, - dispute_statement: signed_dispute_statement, - validator_index, - }) - } else { - None - }; - - let mut actions = advance_approval_state( + let actions = advance_approval_state( state, db, metrics, @@ -2527,9 +2549,6 @@ async fn issue_approval( }, )); - // dispatch to dispute coordinator. - actions.extend(inform_disputes_action); - Ok(actions) } @@ -2546,3 +2565,29 @@ fn sign_approval( Some(key.sign(&payload[..])) } + +/// Send `IssueLocalStatement` to dispute-coordinator. +fn issue_local_invalid_statement( + sender: &mut Sender, + session_index: SessionIndex, + candidate_hash: CandidateHash, + candidate: CandidateReceipt, +) where + Sender: overseer::ApprovalVotingSenderTrait, +{ + // We need to send an unbounded message here to break a cycle: + // DisputeCoordinatorMessage::IssueLocalStatement -> + // ApprovalVotingMessage::GetApprovalSignaturesForCandidate. + // + // Use of unbounded _should_ be fine here as raising a dispute should be an + // exceptional event. Even in case of bugs: There can be no more than + // number of slots per block requests every block. Also for sending this + // message a full recovery and validation procedure took place, which takes + // longer than issuing a local statement + import. + sender.send_unbounded_message(DisputeCoordinatorMessage::IssueLocalStatement( + session_index, + candidate_hash, + candidate.clone(), + false, + )); +} diff --git a/node/core/approval-voting/src/tests.rs b/node/core/approval-voting/src/tests.rs index 6182b4a99e5c..66d1402ed6dc 100644 --- a/node/core/approval-voting/src/tests.rs +++ b/node/core/approval-voting/src/tests.rs @@ -577,7 +577,6 @@ async fn check_and_import_approval( candidate_hash: CandidateHash, session_index: SessionIndex, expect_chain_approved: bool, - expect_coordinator: bool, signature_opt: Option, ) -> oneshot::Receiver { let signature = signature_opt.unwrap_or(sign_approval( @@ -604,18 +603,6 @@ async fn check_and_import_approval( } ); } - if expect_coordinator { - assert_matches!( - overseer_recv(overseer).await, - AllMessages::DisputeCoordinator(DisputeCoordinatorMessage::ImportStatements { - candidate_hash: c_hash, - pending_confirmation: None, - .. - }) => { - assert_eq!(c_hash, candidate_hash); - } - ); - } rx } @@ -1160,7 +1147,6 @@ fn subsystem_rejects_approval_if_no_candidate_entry() { candidate_hash, session_index, false, - false, None, ) .await; @@ -1202,7 +1188,6 @@ fn subsystem_rejects_approval_if_no_block_entry() { candidate_hash, session_index, false, - false, None, ) .await; @@ -1263,7 +1248,6 @@ fn subsystem_rejects_approval_before_assignment() { candidate_hash, session_index, false, - false, None, ) .await; @@ -1488,7 +1472,6 @@ fn subsystem_accepts_and_imports_approval_after_assignment() { candidate_hash, session_index, true, - true, None, ) .await; @@ -1582,7 +1565,6 @@ fn subsystem_second_approval_import_only_schedules_wakeups() { candidate_hash, session_index, false, - true, None, ) .await; @@ -1600,7 +1582,6 @@ fn subsystem_second_approval_import_only_schedules_wakeups() { candidate_hash, session_index, false, - false, None, ) .await; @@ -1936,7 +1917,6 @@ fn import_checked_approval_updates_entries_and_schedules() { candidate_hash, session_index, false, - true, Some(sig_a), ) .await; @@ -1964,7 +1944,6 @@ fn import_checked_approval_updates_entries_and_schedules() { candidate_hash, session_index, true, - true, Some(sig_b), ) .await; @@ -2104,7 +2083,6 @@ fn subsystem_import_checked_approval_sets_one_block_bit_at_a_time() { *candidate_hash, session_index, expect_block_approved, - true, Some(signature), ) .await; @@ -2208,7 +2186,6 @@ fn approved_ancestor_test( candidate_hash, i as u32 + 1, true, - true, None, ) .await; @@ -2586,7 +2563,6 @@ where candidate_hash, 1, expect_chain_approved, - true, Some(sign_approval( validators[validator_index as usize].clone(), candidate_hash, @@ -2930,7 +2906,6 @@ fn pre_covers_dont_stall_approval() { candidate_hash, session_index, false, - true, Some(sig_b), ) .await; @@ -2946,7 +2921,6 @@ fn pre_covers_dont_stall_approval() { candidate_hash, session_index, false, - true, Some(sig_c), ) .await; @@ -3101,7 +3075,6 @@ fn waits_until_approving_assignments_are_old_enough() { candidate_hash, session_index, false, - true, Some(sig_a), ) .await; @@ -3118,7 +3091,6 @@ fn waits_until_approving_assignments_are_old_enough() { candidate_hash, session_index, false, - true, Some(sig_b), ) .await; diff --git a/node/core/backing/src/lib.rs b/node/core/backing/src/lib.rs index a189b5955c89..01c2a614855f 100644 --- a/node/core/backing/src/lib.rs +++ b/node/core/backing/src/lib.rs @@ -31,15 +31,15 @@ use futures::{ use error::{Error, FatalResult}; use polkadot_node_primitives::{ - AvailableData, InvalidCandidate, PoV, SignedDisputeStatement, SignedFullStatement, Statement, - ValidationResult, BACKING_EXECUTION_TIMEOUT, + AvailableData, InvalidCandidate, PoV, SignedFullStatement, Statement, ValidationResult, + BACKING_EXECUTION_TIMEOUT, }; use polkadot_node_subsystem::{ jaeger, messages::{ AvailabilityDistributionMessage, AvailabilityStoreMessage, CandidateBackingMessage, - CandidateValidationMessage, CollatorProtocolMessage, DisputeCoordinatorMessage, - ProvisionableData, ProvisionerMessage, RuntimeApiRequest, StatementDistributionMessage, + CandidateValidationMessage, CollatorProtocolMessage, ProvisionableData, ProvisionerMessage, + RuntimeApiRequest, StatementDistributionMessage, }, overseer, ActiveLeavesUpdate, FromOrchestra, OverseerSignal, PerLeafSpan, SpawnedSubsystem, Stage, SubsystemError, @@ -50,8 +50,8 @@ use polkadot_node_subsystem_util::{ }; use polkadot_primitives::v2::{ BackedCandidate, CandidateCommitments, CandidateHash, CandidateReceipt, CollatorId, - CommittedCandidateReceipt, CoreIndex, CoreState, Hash, Id as ParaId, SessionIndex, - SigningContext, ValidatorId, ValidatorIndex, ValidatorSignature, ValidityAttestation, + CommittedCandidateReceipt, CoreIndex, CoreState, Hash, Id as ParaId, SigningContext, + ValidatorId, ValidatorIndex, ValidatorSignature, ValidityAttestation, }; use sp_keystore::SyncCryptoStorePtr; use statement_table::{ @@ -380,7 +380,6 @@ async fn handle_active_leaves_update( let job = CandidateBackingJob { parent, - session_index, assignment, required_collator, issued_statements: HashSet::new(), @@ -411,8 +410,6 @@ struct JobAndSpan { struct CandidateBackingJob { /// The hash of the relay parent on top of which this job is doing it's work. parent: Hash, - /// The session index this corresponds to. - session_index: SessionIndex, /// The `ParaId` assigned to this validator assignment: Option, /// The collator required to author the candidate, if any. @@ -783,8 +780,6 @@ async fn validate_and_make_available( tx_command.send((relay_parent, make_command(res))).await.map_err(Into::into) } -struct ValidatorIndexOutOfBounds; - #[overseer::contextbounds(CandidateBacking, prefix = self::overseer)] impl CandidateBackingJob { async fn handle_validated_candidate_command( @@ -1014,21 +1009,6 @@ impl CandidateBackingJob { ) }; - if let Err(ValidatorIndexOutOfBounds) = self - .dispatch_new_statement_to_dispute_coordinator(ctx.sender(), candidate_hash, &statement) - .await - { - gum::warn!( - target: LOG_TARGET, - session_index = ?self.session_index, - relay_parent = ?self.parent, - validator_index = statement.validator_index().0, - "Supposedly 'Signed' statement has validator index out of bounds." - ); - - return Ok(None) - } - let stmt = primitive_statement_to_table(statement); let summary = self.table.import_statement(&self.table_context, stmt); @@ -1083,67 +1063,6 @@ impl CandidateBackingJob { Ok(summary) } - /// The dispute coordinator keeps track of all statements by validators about every recent - /// candidate. - /// - /// When importing a statement, this should be called access the candidate receipt either - /// from the statement itself or from the underlying statement table in order to craft - /// and dispatch the notification to the dispute coordinator. - /// - /// This also does bounds-checking on the validator index and will return an error if the - /// validator index is out of bounds for the current validator set. It's expected that - /// this should never happen due to the interface of the candidate backing subsystem - - /// the networking component responsible for feeding statements to the backing subsystem - /// is meant to check the signature and provenance of all statements before submission. - async fn dispatch_new_statement_to_dispute_coordinator( - &self, - sender: &mut impl overseer::CandidateBackingSenderTrait, - candidate_hash: CandidateHash, - statement: &SignedFullStatement, - ) -> Result<(), ValidatorIndexOutOfBounds> { - // Dispatch the statement to the dispute coordinator. - let validator_index = statement.validator_index(); - let signing_context = - SigningContext { parent_hash: self.parent, session_index: self.session_index }; - - let validator_public = match self.table_context.validators.get(validator_index.0 as usize) { - None => return Err(ValidatorIndexOutOfBounds), - Some(v) => v, - }; - - let maybe_candidate_receipt = match statement.payload() { - Statement::Seconded(receipt) => Some(receipt.to_plain()), - Statement::Valid(candidate_hash) => { - // Valid statements are only supposed to be imported - // once we've seen at least one `Seconded` statement. - self.table.get_candidate(&candidate_hash).map(|c| c.to_plain()) - }, - }; - - let maybe_signed_dispute_statement = SignedDisputeStatement::from_backing_statement( - statement.as_unchecked(), - signing_context, - validator_public.clone(), - ) - .ok(); - - if let (Some(candidate_receipt), Some(dispute_statement)) = - (maybe_candidate_receipt, maybe_signed_dispute_statement) - { - sender - .send_message(DisputeCoordinatorMessage::ImportStatements { - candidate_hash, - candidate_receipt, - session: self.session_index, - statements: vec![(dispute_statement, validator_index)], - pending_confirmation: None, - }) - .await; - } - - Ok(()) - } - async fn handle_second_msg( &mut self, root_span: &jaeger::Span, diff --git a/node/core/backing/src/tests.rs b/node/core/backing/src/tests.rs index 0243c68c7c4c..24f671ec5371 100644 --- a/node/core/backing/src/tests.rs +++ b/node/core/backing/src/tests.rs @@ -66,12 +66,6 @@ struct TestState { relay_parent: Hash, } -impl TestState { - fn session(&self) -> SessionIndex { - self.signing_context.session_index - } -} - impl Default for TestState { fn default() -> Self { let chain_a = ParaId::from(1); @@ -273,34 +267,6 @@ async fn test_startup(virtual_overseer: &mut VirtualOverseer, test_state: &TestS ); } -async fn test_dispute_coordinator_notifications( - virtual_overseer: &mut VirtualOverseer, - candidate_hash: CandidateHash, - session: SessionIndex, - validator_indices: Vec, -) { - for validator_index in validator_indices { - assert_matches!( - virtual_overseer.recv().await, - AllMessages::DisputeCoordinator( - DisputeCoordinatorMessage::ImportStatements { - candidate_hash: c_hash, - candidate_receipt: c_receipt, - session: s, - statements, - pending_confirmation: None, - } - ) => { - assert_eq!(c_hash, candidate_hash); - assert_eq!(c_receipt.hash(), c_hash); - assert_eq!(s, session); - assert_eq!(statements.len(), 1); - assert_eq!(statements[0].1, validator_index); - } - ) - } -} - // Test that a `CandidateBackingMessage::Second` issues validation work // and in case validation is successful issues a `StatementDistributionMessage`. #[test] @@ -364,14 +330,6 @@ fn backing_second_works() { } ); - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate.hash(), - test_state.session(), - vec![ValidatorIndex(0)], - ) - .await; - assert_matches!( virtual_overseer.recv().await, AllMessages::StatementDistribution( @@ -469,14 +427,6 @@ fn backing_works() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a_hash, - test_state.session(), - vec![ValidatorIndex(2)], - ) - .await; - // Sending a `Statement::Seconded` for our assignment will start // validation process. The first thing requested is the PoV. assert_matches!( @@ -526,14 +476,6 @@ fn backing_works() { } ); - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a_hash, - test_state.session(), - vec![ValidatorIndex(0)], - ) - .await; - assert_matches!( virtual_overseer.recv().await, AllMessages::Provisioner( @@ -560,14 +502,6 @@ fn backing_works() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a_hash, - test_state.session(), - vec![ValidatorIndex(5)], - ) - .await; - virtual_overseer .send(FromOrchestra::Signal(OverseerSignal::ActiveLeaves( ActiveLeavesUpdate::stop_work(test_state.relay_parent), @@ -664,14 +598,6 @@ fn backing_works_while_validation_ongoing() { CandidateBackingMessage::Statement(test_state.relay_parent, signed_a.clone()); virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a.hash(), - test_state.session(), - vec![ValidatorIndex(2)], - ) - .await; - // Sending a `Statement::Seconded` for our assignment will start // validation process. The first thing requested is PoV from the // `PoVDistribution`. @@ -711,14 +637,6 @@ fn backing_works_while_validation_ongoing() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a.hash(), - test_state.session(), - vec![ValidatorIndex(5)], - ) - .await; - // Candidate gets backed entirely by other votes. assert_matches!( virtual_overseer.recv().await, @@ -738,14 +656,6 @@ fn backing_works_while_validation_ongoing() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a.hash(), - test_state.session(), - vec![ValidatorIndex(3)], - ) - .await; - let (tx, rx) = oneshot::channel(); let msg = CandidateBackingMessage::GetBackedCandidates( test_state.relay_parent, @@ -845,14 +755,6 @@ fn backing_misbehavior_works() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a_hash, - test_state.session(), - vec![ValidatorIndex(2)], - ) - .await; - assert_matches!( virtual_overseer.recv().await, AllMessages::AvailabilityDistribution( @@ -898,14 +800,6 @@ fn backing_misbehavior_works() { } ); - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a_hash, - test_state.session(), - vec![ValidatorIndex(0)], - ) - .await; - assert_matches!( virtual_overseer.recv().await, AllMessages::Provisioner( @@ -937,14 +831,6 @@ fn backing_misbehavior_works() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a_hash, - test_state.session(), - vec![ValidatorIndex(2)], - ) - .await; - assert_matches!( virtual_overseer.recv().await, AllMessages::Provisioner( @@ -1087,14 +973,6 @@ fn backing_dont_second_invalid() { } ); - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_b.hash(), - test_state.session(), - vec![ValidatorIndex(0)], - ) - .await; - assert_matches!( virtual_overseer.recv().await, AllMessages::StatementDistribution( @@ -1163,14 +1041,6 @@ fn backing_second_after_first_fails_works() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate.hash(), - test_state.session(), - vec![ValidatorIndex(2)], - ) - .await; - // Subsystem requests PoV and requests validation. assert_matches!( virtual_overseer.recv().await, @@ -1297,14 +1167,6 @@ fn backing_works_after_failed_validation() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate.hash(), - test_state.session(), - vec![ValidatorIndex(2)], - ) - .await; - // Subsystem requests PoV and requests validation. assert_matches!( virtual_overseer.recv().await, @@ -1615,14 +1477,6 @@ fn retry_works() { CandidateBackingMessage::Statement(test_state.relay_parent, signed_a.clone()); virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate.hash(), - test_state.session(), - vec![ValidatorIndex(2)], - ) - .await; - // Subsystem requests PoV and requests validation. // We cancel - should mean retry on next backing statement. assert_matches!( @@ -1642,14 +1496,6 @@ fn retry_works() { CandidateBackingMessage::Statement(test_state.relay_parent, signed_b.clone()); virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate.hash(), - test_state.session(), - vec![ValidatorIndex(3)], - ) - .await; - // Not deterministic which message comes first: for _ in 0u32..2 { match virtual_overseer.recv().await { @@ -1674,14 +1520,6 @@ fn retry_works() { CandidateBackingMessage::Statement(test_state.relay_parent, signed_c.clone()); virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate.hash(), - test_state.session(), - vec![ValidatorIndex(5)], - ) - .await; - assert_matches!( virtual_overseer.recv().await, AllMessages::AvailabilityDistribution( @@ -1806,14 +1644,6 @@ fn observes_backing_even_if_not_validator() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a_hash, - test_state.session(), - vec![ValidatorIndex(0), ValidatorIndex(5)], - ) - .await; - assert_matches!( virtual_overseer.recv().await, AllMessages::Provisioner( @@ -1831,14 +1661,6 @@ fn observes_backing_even_if_not_validator() { virtual_overseer.send(FromOrchestra::Communication { msg: statement }).await; - test_dispute_coordinator_notifications( - &mut virtual_overseer, - candidate_a_hash, - test_state.session(), - vec![ValidatorIndex(2)], - ) - .await; - virtual_overseer .send(FromOrchestra::Signal(OverseerSignal::ActiveLeaves( ActiveLeavesUpdate::stop_work(test_state.relay_parent), diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index 96174033ab7d..2f60ba065fe3 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -30,6 +30,7 @@ sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "maste assert_matches = "1.4.0" test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../../primitives/test-helpers" } futures-timer = "3.0.2" +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] # If not enabled, the dispute coordinator will do nothing. diff --git a/node/core/dispute-coordinator/src/db/v1.rs b/node/core/dispute-coordinator/src/db/v1.rs index 0f0883649b5b..4d33949db644 100644 --- a/node/core/dispute-coordinator/src/db/v1.rs +++ b/node/core/dispute-coordinator/src/db/v1.rs @@ -213,8 +213,8 @@ impl From for polkadot_node_primitives::CandidateVotes { fn from(db_votes: CandidateVotes) -> polkadot_node_primitives::CandidateVotes { polkadot_node_primitives::CandidateVotes { candidate_receipt: db_votes.candidate_receipt, - valid: db_votes.valid, - invalid: db_votes.invalid, + valid: db_votes.valid.into_iter().map(|(kind, i, sig)| (i, (kind, sig))).collect(), + invalid: db_votes.invalid.into_iter().map(|(kind, i, sig)| (i, (kind, sig))).collect(), } } } @@ -223,8 +223,12 @@ impl From for CandidateVotes { fn from(primitive_votes: polkadot_node_primitives::CandidateVotes) -> CandidateVotes { CandidateVotes { candidate_receipt: primitive_votes.candidate_receipt, - valid: primitive_votes.valid, - invalid: primitive_votes.invalid, + valid: primitive_votes + .valid + .into_iter() + .map(|(i, (kind, sig))| (kind, i, sig)) + .collect(), + invalid: primitive_votes.invalid.into_iter().map(|(i, (k, sig))| (k, i, sig)).collect(), } } } diff --git a/node/core/dispute-coordinator/src/error.rs b/node/core/dispute-coordinator/src/error.rs index 4306413a6ab9..7a059b8861d8 100644 --- a/node/core/dispute-coordinator/src/error.rs +++ b/node/core/dispute-coordinator/src/error.rs @@ -122,7 +122,7 @@ impl JfyiError { pub fn log(self) { match self { // don't spam the log with spurious errors - Self::Runtime(_) | Self::Oneshot(_) => { + Self::Runtime(runtime::Error::RuntimeRequestCanceled(_)) | Self::Oneshot(_) => { gum::debug!(target: LOG_TARGET, error = ?self) }, // it's worth reporting otherwise diff --git a/node/core/dispute-coordinator/src/import.rs b/node/core/dispute-coordinator/src/import.rs new file mode 100644 index 000000000000..020d04792191 --- /dev/null +++ b/node/core/dispute-coordinator/src/import.rs @@ -0,0 +1,564 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Vote import logic. +//! +//! This module encapsulates the actual logic for importing new votes and provides easy access of +//! the current state for votes for a particular candidate. +//! +//! In particular there is `CandidateVoteState` which tells what can be concluded for a particular set of +//! votes. E.g. whether a dispute is ongoing, whether it is confirmed, concluded, .. +//! +//! Then there is `ImportResult` which reveals information about what changed once additional votes +//! got imported on top of an existing `CandidateVoteState` and reveals "dynamic" information, like whether +//! due to the import a dispute was raised/got confirmed, ... + +use std::collections::{BTreeMap, HashMap, HashSet}; + +use polkadot_node_primitives::{CandidateVotes, SignedDisputeStatement}; +use polkadot_node_subsystem_util::rolling_session_window::RollingSessionWindow; +use polkadot_primitives::v2::{ + CandidateReceipt, DisputeStatement, SessionIndex, SessionInfo, ValidDisputeStatementKind, + ValidatorId, ValidatorIndex, ValidatorPair, ValidatorSignature, +}; +use sc_keystore::LocalKeystore; + +use crate::LOG_TARGET; + +/// (Session) environment of a candidate. +pub struct CandidateEnvironment<'a> { + /// The session the candidate appeared in. + session_index: SessionIndex, + /// Session for above index. + session: &'a SessionInfo, + /// Validator indices controlled by this node. + controlled_indices: HashSet, +} + +impl<'a> CandidateEnvironment<'a> { + /// Create `CandidateEnvironment`. + /// + /// Return: `None` in case session is outside of session window. + pub fn new( + keystore: &LocalKeystore, + session_window: &'a RollingSessionWindow, + session_index: SessionIndex, + ) -> Option { + let session = session_window.session_info(session_index)?; + let controlled_indices = find_controlled_validator_indices(keystore, &session.validators); + Some(Self { session_index, session, controlled_indices }) + } + + /// Validators in the candidate's session. + pub fn validators(&self) -> &Vec { + &self.session.validators + } + + /// `SessionInfo` for the candidate's session. + pub fn session_info(&self) -> &SessionInfo { + &self.session + } + + /// Retrieve `SessionIndex` for this environment. + pub fn session_index(&self) -> SessionIndex { + self.session_index + } + + /// Indices controlled by this node. + pub fn controlled_indices(&'a self) -> &'a HashSet { + &self.controlled_indices + } +} + +/// Whether or not we already issued some statement about a candidate. +pub enum OwnVoteState { + /// We already voted/issued a statement for the candidate. + Voted, + /// We already voted/issued a statement for the candidate and it was an approval vote. + /// + /// Needs special treatment as we have to make sure to propagate it to peers, to guarantee the + /// dispute can conclude. + VotedApproval(Vec<(ValidatorIndex, ValidatorSignature)>), + /// We not yet voted for the dispute. + NoVote, +} + +impl OwnVoteState { + fn new<'a>(votes: &CandidateVotes, env: &CandidateEnvironment<'a>) -> Self { + let mut our_valid_votes = env + .controlled_indices() + .iter() + .filter_map(|i| votes.valid.get_key_value(i)) + .peekable(); + let mut our_invalid_votes = + env.controlled_indices.iter().filter_map(|i| votes.invalid.get_key_value(i)); + let has_valid_votes = our_valid_votes.peek().is_some(); + let has_invalid_votes = our_invalid_votes.next().is_some(); + let our_approval_votes: Vec<_> = our_valid_votes + .filter_map(|(index, (k, sig))| { + if let ValidDisputeStatementKind::ApprovalChecking = k { + Some((*index, sig.clone())) + } else { + None + } + }) + .collect(); + + if !our_approval_votes.is_empty() { + return Self::VotedApproval(our_approval_votes) + } + if has_valid_votes || has_invalid_votes { + return Self::Voted + } + Self::NoVote + } + + /// Whether or not we issued a statement for the candidate already. + fn voted(&self) -> bool { + match self { + Self::Voted | Self::VotedApproval(_) => true, + Self::NoVote => false, + } + } + + /// Get own approval votes, if any. + fn approval_votes(&self) -> Option<&Vec<(ValidatorIndex, ValidatorSignature)>> { + match self { + Self::VotedApproval(votes) => Some(&votes), + _ => None, + } + } +} + +/// Complete state of votes for a candidate. +/// +/// All votes + information whether a dispute is ongoing, confirmed, concluded, whether we already +/// voted, ... +pub struct CandidateVoteState { + /// Votes already existing for the candidate + receipt. + votes: Votes, + + /// Information about own votes: + own_vote: OwnVoteState, + + /// Whether or not the dispute concluded invalid. + concluded_invalid: bool, + + /// Whether or not the dispute concluded valid. + /// + /// Note: Due to equivocations it is technically possible for a dispute to conclude both valid + /// and invalid. In that case the invalid result takes precedence. + concluded_valid: bool, + + /// There is an ongoing dispute and we reached f+1 votes -> the dispute is confirmed + /// + /// as at least one honest validator cast a vote for the candidate. + is_confirmed: bool, + + /// Whether or not we have an ongoing dispute. + is_disputed: bool, +} + +impl CandidateVoteState { + /// Create an empty `CandidateVoteState` + /// + /// in case there have not been any previous votes. + pub fn new_from_receipt(candidate_receipt: CandidateReceipt) -> Self { + let votes = + CandidateVotes { candidate_receipt, valid: BTreeMap::new(), invalid: BTreeMap::new() }; + Self { + votes, + own_vote: OwnVoteState::NoVote, + concluded_invalid: false, + concluded_valid: false, + is_confirmed: false, + is_disputed: false, + } + } + + /// Create a new `CandidateVoteState` from already existing votes. + pub fn new<'a>(votes: CandidateVotes, env: &CandidateEnvironment<'a>) -> Self { + let own_vote = OwnVoteState::new(&votes, env); + + let n_validators = env.validators().len(); + + let supermajority_threshold = + polkadot_primitives::v2::supermajority_threshold(n_validators); + + let concluded_invalid = votes.invalid.len() >= supermajority_threshold; + let concluded_valid = votes.valid.len() >= supermajority_threshold; + + // We have a dispute, if we have votes on both sides: + let is_disputed = !votes.invalid.is_empty() && !votes.valid.is_empty(); + + let byzantine_threshold = polkadot_primitives::v2::byzantine_threshold(n_validators); + let is_confirmed = votes.voted_indices().len() > byzantine_threshold && is_disputed; + + Self { votes, own_vote, concluded_invalid, concluded_valid, is_confirmed, is_disputed } + } + + /// Import fresh statements. + /// + /// Result will be a new state plus information about things that changed due to the import. + pub fn import_statements( + self, + env: &CandidateEnvironment, + statements: Vec<(SignedDisputeStatement, ValidatorIndex)>, + ) -> ImportResult { + let (mut votes, old_state) = self.into_old_state(); + + let mut new_invalid_voters = Vec::new(); + let mut imported_invalid_votes = 0; + let mut imported_valid_votes = 0; + + let expected_candidate_hash = votes.candidate_receipt.hash(); + + for (statement, val_index) in statements { + if env + .validators() + .get(val_index.0 as usize) + .map_or(true, |v| v != statement.validator_public()) + { + gum::error!( + target: LOG_TARGET, + ?val_index, + session= ?env.session_index, + claimed_key = ?statement.validator_public(), + "Validator index doesn't match claimed key", + ); + + continue + } + if statement.candidate_hash() != &expected_candidate_hash { + gum::error!( + target: LOG_TARGET, + ?val_index, + session= ?env.session_index, + given_candidate_hash = ?statement.candidate_hash(), + ?expected_candidate_hash, + "Vote is for unexpected candidate!", + ); + continue + } + if statement.session_index() != env.session_index() { + gum::error!( + target: LOG_TARGET, + ?val_index, + session= ?env.session_index, + given_candidate_hash = ?statement.candidate_hash(), + ?expected_candidate_hash, + "Vote is for unexpected session!", + ); + continue + } + + match statement.statement() { + DisputeStatement::Valid(valid_kind) => { + let fresh = insert_into_statements( + &mut votes.valid, + *valid_kind, + val_index, + statement.into_validator_signature(), + ); + + if fresh { + imported_valid_votes += 1; + } + }, + DisputeStatement::Invalid(invalid_kind) => { + let fresh = insert_into_statements( + &mut votes.invalid, + *invalid_kind, + val_index, + statement.into_validator_signature(), + ); + + if fresh { + new_invalid_voters.push(val_index); + imported_invalid_votes += 1; + } + }, + } + } + + let new_state = Self::new(votes, env); + + ImportResult { + old_state, + new_state, + imported_invalid_votes, + imported_valid_votes, + imported_approval_votes: 0, + new_invalid_voters, + } + } + + /// Retrieve `CandidateReceipt` in `CandidateVotes`. + pub fn candidate_receipt(&self) -> &CandidateReceipt { + &self.votes.candidate_receipt + } + + /// Extract `CandidateVotes` for handling import of new statements. + fn into_old_state(self) -> (CandidateVotes, CandidateVoteState<()>) { + let CandidateVoteState { + votes, + own_vote, + concluded_invalid, + concluded_valid, + is_confirmed, + is_disputed, + } = self; + ( + votes, + CandidateVoteState { + votes: (), + own_vote, + concluded_invalid, + concluded_valid, + is_confirmed, + is_disputed, + }, + ) + } +} + +impl CandidateVoteState { + /// Whether or not we have an ongoing dispute. + pub fn is_disputed(&self) -> bool { + self.is_disputed + } + + /// Whether there is an ongoing confirmed dispute. + /// + /// This checks whether there is a dispute ongoing and we have more than byzantine threshold + /// votes. + pub fn is_confirmed(&self) -> bool { + self.is_confirmed + } + + /// This machine already cast some vote in that dispute/for that candidate. + pub fn has_own_vote(&self) -> bool { + self.own_vote.voted() + } + + /// Own approval votes if any: + pub fn own_approval_votes(&self) -> Option<&Vec<(ValidatorIndex, ValidatorSignature)>> { + self.own_vote.approval_votes() + } + + /// Whether or not this dispute has already enough valid votes to conclude. + pub fn is_concluded_valid(&self) -> bool { + self.concluded_valid + } + + /// Whether or not this dispute has already enough invalid votes to conclude. + pub fn is_concluded_invalid(&self) -> bool { + self.concluded_invalid + } + + /// Access to underlying votes. + pub fn votes(&self) -> &V { + &self.votes + } +} + +/// An ongoing statement/vote import. +pub struct ImportResult { + /// The state we had before importing new statements. + old_state: CandidateVoteState<()>, + /// The new state after importing the new statements. + new_state: CandidateVoteState, + /// New invalid voters as of this import. + new_invalid_voters: Vec, + /// Number of successfully imported valid votes. + imported_invalid_votes: u32, + /// Number of successfully imported invalid votes. + imported_valid_votes: u32, + /// Number of approval votes imported via `import_approval_votes()`. + /// + /// And only those: If normal import included approval votes, those are not counted here. + /// + /// In other words, without a call `import_approval_votes()` this will always be 0. + imported_approval_votes: u32, +} + +impl ImportResult { + /// Whether or not anything has changed due to the import. + pub fn votes_changed(&self) -> bool { + self.imported_valid_votes != 0 || self.imported_invalid_votes != 0 + } + + /// The dispute state has changed in some way. + /// + /// - freshly disputed + /// - freshly confirmed + /// - freshly concluded (valid or invalid) + pub fn dispute_state_changed(&self) -> bool { + self.is_freshly_disputed() || self.is_freshly_confirmed() || self.is_freshly_concluded() + } + + /// State as it was before import. + pub fn old_state(&self) -> &CandidateVoteState<()> { + &self.old_state + } + + /// State after import + pub fn new_state(&self) -> &CandidateVoteState { + &self.new_state + } + + /// New "invalid" voters encountered during import. + pub fn new_invalid_voters(&self) -> &Vec { + &self.new_invalid_voters + } + + /// Number of imported valid votes. + pub fn imported_valid_votes(&self) -> u32 { + self.imported_valid_votes + } + + /// Number of imported invalid votes. + pub fn imported_invalid_votes(&self) -> u32 { + self.imported_invalid_votes + } + + /// Number of imported approval votes. + pub fn imported_approval_votes(&self) -> u32 { + self.imported_approval_votes + } + + /// Whether we now have a dispute and did not prior to the import. + pub fn is_freshly_disputed(&self) -> bool { + !self.old_state().is_disputed() && self.new_state().is_disputed() + } + + /// Whether we just surpassed the byzantine threshold. + pub fn is_freshly_confirmed(&self) -> bool { + !self.old_state().is_confirmed() && self.new_state().is_confirmed() + } + + /// Whether or not any dispute just concluded valid due to the import. + pub fn is_freshly_concluded_valid(&self) -> bool { + !self.old_state().is_concluded_valid() && self.new_state().is_concluded_valid() + } + + /// Whether or not any dispute just concluded invalid due to the import. + pub fn is_freshly_concluded_invalid(&self) -> bool { + !self.old_state().is_concluded_invalid() && self.new_state().is_concluded_invalid() + } + + /// Whether or not any dispute just concluded either invalid or valid due to the import. + pub fn is_freshly_concluded(&self) -> bool { + self.is_freshly_concluded_invalid() || self.is_freshly_concluded_valid() + } + + /// Modify this `ImportResult`s, by importing additional approval votes. + /// + /// Both results and `new_state` will be changed as if those approval votes had been in the + /// original import. + pub fn import_approval_votes( + self, + env: &CandidateEnvironment, + approval_votes: HashMap, + ) -> Self { + let Self { + old_state, + new_state, + new_invalid_voters, + mut imported_valid_votes, + imported_invalid_votes, + mut imported_approval_votes, + } = self; + + let (mut votes, _) = new_state.into_old_state(); + + for (index, sig) in approval_votes.into_iter() { + debug_assert!( + { + let pub_key = &env.session_info().validators[index.0 as usize]; + let candidate_hash = votes.candidate_receipt.hash(); + let session_index = env.session_index(); + DisputeStatement::Valid(ValidDisputeStatementKind::ApprovalChecking) + .check_signature(pub_key, candidate_hash, session_index, &sig) + .is_ok() + }, + "Signature check for imported approval votes failed! This is a serious bug. Session: {:?}, candidate hash: {:?}, validator index: {:?}", env.session_index(), votes.candidate_receipt.hash(), index + ); + if insert_into_statements( + &mut votes.valid, + ValidDisputeStatementKind::ApprovalChecking, + index, + sig, + ) { + imported_valid_votes += 1; + imported_approval_votes += 1; + } + } + + let new_state = CandidateVoteState::new(votes, env); + + Self { + old_state, + new_state, + new_invalid_voters, + imported_valid_votes, + imported_invalid_votes, + imported_approval_votes, + } + } + + /// All done, give me those votes. + /// + /// Returns: `None` in case nothing has changed (import was redundant). + pub fn into_updated_votes(self) -> Option { + if self.votes_changed() { + let CandidateVoteState { votes, .. } = self.new_state; + Some(votes) + } else { + None + } + } +} + +/// Find indices controlled by this validator. +/// +/// That is all `ValidatorIndex`es we have private keys for. Usually this will only be one. +fn find_controlled_validator_indices( + keystore: &LocalKeystore, + validators: &[ValidatorId], +) -> HashSet { + let mut controlled = HashSet::new(); + for (index, validator) in validators.iter().enumerate() { + if keystore.key_pair::(validator).ok().flatten().is_none() { + continue + } + + controlled.insert(ValidatorIndex(index as _)); + } + + controlled +} + +// Returns 'true' if no other vote by that validator was already +// present and 'false' otherwise. Same semantics as `HashSet`. +fn insert_into_statements( + m: &mut BTreeMap, + tag: T, + val_index: ValidatorIndex, + val_signature: ValidatorSignature, +) -> bool { + m.insert(val_index, (tag, val_signature)).is_none() +} diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 2dc67608337b..e37459dc5142 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -16,12 +16,12 @@ //! Dispute coordinator subsystem in initialized state (after first active leaf is received). -use std::{ - collections::{BTreeMap, HashSet}, - sync::Arc, -}; +use std::{collections::BTreeMap, sync::Arc}; -use futures::{channel::mpsc, FutureExt, StreamExt}; +use futures::{ + channel::{mpsc, oneshot}, + FutureExt, StreamExt, +}; use sc_keystore::LocalKeystore; @@ -31,8 +31,8 @@ use polkadot_node_primitives::{ }; use polkadot_node_subsystem::{ messages::{ - BlockDescription, DisputeCoordinatorMessage, DisputeDistributionMessage, - ImportStatementsResult, + ApprovalVotingMessage, BlockDescription, DisputeCoordinatorMessage, + DisputeDistributionMessage, ImportStatementsResult, }, overseer, ActivatedLeaf, ActiveLeavesUpdate, FromOrchestra, OverseerSignal, }; @@ -40,13 +40,14 @@ use polkadot_node_subsystem_util::rolling_session_window::{ RollingSessionWindow, SessionWindowUpdate, SessionsUnavailable, }; use polkadot_primitives::v2::{ - byzantine_threshold, BlockNumber, CandidateHash, CandidateReceipt, CompactStatement, - DisputeStatement, DisputeStatementSet, Hash, ScrapedOnChainVotes, SessionIndex, SessionInfo, - ValidDisputeStatementKind, ValidatorId, ValidatorIndex, ValidatorPair, ValidatorSignature, + BlockNumber, CandidateHash, CandidateReceipt, CompactStatement, DisputeStatement, + DisputeStatementSet, Hash, ScrapedOnChainVotes, SessionIndex, SessionInfo, + ValidDisputeStatementKind, ValidatorId, ValidatorIndex, }; use crate::{ error::{log_error, Error, FatalError, FatalResult, JfyiError, JfyiResult, Result}, + import::{CandidateEnvironment, CandidateVoteState}, metrics::Metrics, status::{get_active_with_status, Clock, DisputeStatus, Timestamp}, DisputeCoordinatorSubsystem, LOG_TARGET, @@ -194,11 +195,13 @@ impl Initialized { } loop { + gum::trace!(target: LOG_TARGET, "Waiting for message"); let mut overlay_db = OverlayedBackend::new(backend); let default_confirm = Box::new(|| Ok(())); let confirm_write = match MuxedMessage::receive(ctx, &mut self.participation_receiver).await? { MuxedMessage::Participation(msg) => { + gum::trace!(target: LOG_TARGET, "MuxedMessage::Participation"); let ParticipationStatement { session, candidate_hash, @@ -206,6 +209,13 @@ impl Initialized { outcome, } = self.participation.get_participation_result(ctx, msg).await?; if let Some(valid) = outcome.validity() { + gum::trace!( + target: LOG_TARGET, + ?session, + ?candidate_hash, + ?valid, + "Issuing local statement based on participation outcome." + ); self.issue_local_statement( ctx, &mut overlay_db, @@ -222,6 +232,7 @@ impl Initialized { MuxedMessage::Subsystem(msg) => match msg { FromOrchestra::Signal(OverseerSignal::Conclude) => return Ok(()), FromOrchestra::Signal(OverseerSignal::ActiveLeaves(update)) => { + gum::trace!(target: LOG_TARGET, "OverseerSignal::ActiveLeaves"); self.process_active_leaves_update( ctx, &mut overlay_db, @@ -232,6 +243,7 @@ impl Initialized { default_confirm }, FromOrchestra::Signal(OverseerSignal::BlockFinalized(_, n)) => { + gum::trace!(target: LOG_TARGET, "OverseerSignal::BlockFinalized"); self.scraper.process_finalized_block(&n); default_confirm }, @@ -349,6 +361,12 @@ impl Initialized { for (candidate_receipt, backers) in backing_validators_per_candidate { let relay_parent = candidate_receipt.descriptor.relay_parent; let candidate_hash = candidate_receipt.hash(); + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?relay_parent, + "Importing backing votes from chain for candidate" + ); let statements = backers .into_iter() .filter_map(|(validator_index, attestation)| { @@ -373,6 +391,19 @@ impl Initialized { CompactStatement::Valid(_) => ValidDisputeStatementKind::BackingValid(relay_parent), }; + debug_assert!( + SignedDisputeStatement::new_checked( + DisputeStatement::Valid(valid_statement_kind), + candidate_hash, + session, + validator_public.clone(), + validator_signature.clone(), + ).is_ok(), + "Scraped backing votes had invalid signature! candidate: {:?}, session: {:?}, validator_public: {:?}", + candidate_hash, + session, + validator_public, + ); let signed_dispute_statement = SignedDisputeStatement::new_unchecked_from_trusted_source( DisputeStatement::Valid(valid_statement_kind), @@ -389,7 +420,6 @@ impl Initialized { .handle_import_statements( ctx, overlay_db, - candidate_hash, MaybeCandidateReceipt::Provides(candidate_receipt), session, statements, @@ -412,13 +442,19 @@ impl Initialized { } } - // Import concluded disputes from on-chain, this already went through a vote so it's assumed + // Import disputes from on-chain, this already went through a vote so it's assumed // as verified. This will only be stored, gossiping it is not necessary. // First try to obtain all the backings which ultimately contain the candidate // receipt which we need. for DisputeStatementSet { candidate_hash, session, statements } in disputes { + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?session, + "Importing dispute votes from chain for candidate" + ); let statements = statements .into_iter() .filter_map(|(dispute_statement, validator_index, validator_signature)| { @@ -449,6 +485,21 @@ impl Initialized { }) .cloned()?; + debug_assert!( + SignedDisputeStatement::new_checked( + dispute_statement.clone(), + candidate_hash, + session, + validator_public.clone(), + validator_signature.clone(), + ).is_ok(), + "Scraped dispute votes had invalid signature! candidate: {:?}, session: {:?}, dispute_statement: {:?}, validator_public: {:?}", + candidate_hash, + session, + dispute_statement, + validator_public, + ); + Some(( SignedDisputeStatement::new_unchecked_from_trusted_source( dispute_statement, @@ -465,9 +516,8 @@ impl Initialized { .handle_import_statements( ctx, overlay_db, - candidate_hash, // TODO - MaybeCandidateReceipt::AssumeBackingVotePresent, + MaybeCandidateReceipt::AssumeBackingVotePresent(candidate_hash), session, statements, now, @@ -478,13 +528,13 @@ impl Initialized { target: LOG_TARGET, ?candidate_hash, ?session, - "Imported statement of concluded dispute from on-chain" + "Imported statement of dispute from on-chain" ), ImportStatementsResult::InvalidImport => gum::warn!( target: LOG_TARGET, ?candidate_hash, ?session, - "Attempted import of on-chain statement of concluded dispute failed" + "Attempted import of on-chain statement of dispute failed" ), } } @@ -501,17 +551,21 @@ impl Initialized { ) -> Result JfyiResult<()>>> { match message { DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt, session, statements, pending_confirmation, } => { + gum::trace!( + target: LOG_TARGET, + candidate_hash = ?candidate_receipt.hash(), + ?session, + "DisputeCoordinatorMessage::ImportStatements" + ); let outcome = self .handle_import_statements( ctx, overlay_db, - candidate_hash, MaybeCandidateReceipt::Provides(candidate_receipt), session, statements, @@ -537,11 +591,13 @@ impl Initialized { // Return error if session information is missing. self.ensure_available_session_info()?; + gum::trace!(target: LOG_TARGET, "Loading recent disputes from db"); let recent_disputes = if let Some(disputes) = overlay_db.load_recent_disputes()? { disputes } else { BTreeMap::new() }; + gum::trace!(target: LOG_TARGET, "Loaded recent disputes from db"); let _ = tx.send(recent_disputes.keys().cloned().collect()); }, @@ -549,6 +605,8 @@ impl Initialized { // Return error if session information is missing. self.ensure_available_session_info()?; + gum::trace!(target: LOG_TARGET, "DisputeCoordinatorMessage::ActiveDisputes"); + let recent_disputes = if let Some(disputes) = overlay_db.load_recent_disputes()? { disputes } else { @@ -565,6 +623,8 @@ impl Initialized { // Return error if session information is missing. self.ensure_available_session_info()?; + gum::trace!(target: LOG_TARGET, "DisputeCoordinatorMessage::QueryCandidateVotes"); + let mut query_output = Vec::new(); for (session_index, candidate_hash) in query { if let Some(v) = @@ -587,6 +647,7 @@ impl Initialized { candidate_receipt, valid, ) => { + gum::trace!(target: LOG_TARGET, "DisputeCoordinatorMessage::IssueLocalStatement"); self.issue_local_statement( ctx, overlay_db, @@ -605,6 +666,10 @@ impl Initialized { } => { // Return error if session information is missing. self.ensure_available_session_info()?; + gum::trace!( + target: LOG_TARGET, + "DisputeCoordinatorMessage::DetermineUndisputedChain" + ); let undisputed_chain = determine_undisputed_chain( overlay_db, @@ -633,200 +698,185 @@ impl Initialized { &mut self, ctx: &mut Context, overlay_db: &mut OverlayedBackend<'_, impl Backend>, - candidate_hash: CandidateHash, candidate_receipt: MaybeCandidateReceipt, session: SessionIndex, statements: Vec<(SignedDisputeStatement, ValidatorIndex)>, now: Timestamp, ) -> Result { + gum::trace!(target: LOG_TARGET, ?statements, "In handle import statements"); if session + DISPUTE_WINDOW.get() < self.highest_session { // It is not valid to participate in an ancient dispute (spam?). return Ok(ImportStatementsResult::InvalidImport) } - let session_info = match self.rolling_session_window.session_info(session) { - None => { - gum::warn!( - target: LOG_TARGET, - session, - "Importing statement lacks info for session which has an active dispute", - ); + let env = + match CandidateEnvironment::new(&*self.keystore, &self.rolling_session_window, session) + { + None => { + gum::warn!( + target: LOG_TARGET, + session, + "We are lacking a `SessionInfo` for handling import of statements." + ); - return Ok(ImportStatementsResult::InvalidImport) - }, - Some(info) => info, - }; - let validators = session_info.validators.clone(); + return Ok(ImportStatementsResult::InvalidImport) + }, + Some(env) => env, + }; - let n_validators = validators.len(); + let candidate_hash = candidate_receipt.hash(); - let supermajority_threshold = - polkadot_primitives::v2::supermajority_threshold(n_validators); + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?session, + num_validators = ?env.session_info().validators.len(), + "Number of validators" + ); // In case we are not provided with a candidate receipt // we operate under the assumption, that a previous vote // which included a `CandidateReceipt` was seen. - // This holds since every block is preceeded by the `Backing`-phase. + // This holds since every block is preceded by the `Backing`-phase. // // There is one exception: A sufficiently sophisticated attacker could prevent - // us from seeing the backing votes by witholding arbitrary blocks, and hence we do + // us from seeing the backing votes by withholding arbitrary blocks, and hence we do // not have a `CandidateReceipt` available. - let (mut votes, mut votes_changed) = match overlay_db + let old_state = match overlay_db .load_candidate_votes(session, &candidate_hash)? .map(CandidateVotes::from) { - Some(votes) => (votes, false), + Some(votes) => CandidateVoteState::new(votes, &env), None => if let MaybeCandidateReceipt::Provides(candidate_receipt) = candidate_receipt { - ( - CandidateVotes { - candidate_receipt, - valid: Vec::new(), - invalid: Vec::new(), - }, - true, - ) + CandidateVoteState::new_from_receipt(candidate_receipt) } else { gum::warn!( target: LOG_TARGET, session, - "Not seen backing vote for candidate which has an active dispute", + ?candidate_hash, + "Cannot import votes, without `CandidateReceipt` available!" ); return Ok(ImportStatementsResult::InvalidImport) }, }; - let candidate_receipt = votes.candidate_receipt.clone(); - let was_concluded_valid = votes.valid.len() >= supermajority_threshold; - let was_concluded_invalid = votes.invalid.len() >= supermajority_threshold; - - let mut recent_disputes = overlay_db.load_recent_disputes()?.unwrap_or_default(); - let controlled_indices = find_controlled_validator_indices(&self.keystore, &validators); - - // Whether we already cast a vote in that dispute: - let voted_already = { - let mut our_votes = votes.voted_indices(); - our_votes.retain(|index| controlled_indices.contains(index)); - !our_votes.is_empty() - }; - - let was_confirmed = recent_disputes - .get(&(session, candidate_hash)) - .map_or(false, |s| s.is_confirmed_concluded()); - let is_included = self.scraper.is_candidate_included(&candidate_receipt.hash()); + gum::trace!(target: LOG_TARGET, ?candidate_hash, ?session, "Loaded votes"); - let is_local = statements - .iter() - .find(|(_, index)| controlled_indices.contains(index)) - .is_some(); + let import_result = { + let intermediate_result = old_state.import_statements(&env, statements); - // Indexes of the validators issued 'invalid' statements. Will be used to populate spam slots. - let mut fresh_invalid_statement_issuers = Vec::new(); - - // Update candidate votes. - for (statement, val_index) in &statements { - if validators - .get(val_index.0 as usize) - .map_or(true, |v| v != statement.validator_public()) + // Handle approval vote import: + // + // See guide: We import on fresh disputes to maximize likelihood of fetching votes for + // dead forks and once concluded to maximize time for approval votes to trickle in. + if intermediate_result.is_freshly_disputed() || + intermediate_result.is_freshly_concluded() { - gum::debug!( - target: LOG_TARGET, - ?val_index, - session, - claimed_key = ?statement.validator_public(), - "Validator index doesn't match claimed key", + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?session, + "Requesting approval signatures" ); - - continue - } - - match statement.statement() { - DisputeStatement::Valid(valid_kind) => { - let fresh = insert_into_statement_vec( - &mut votes.valid, - *valid_kind, - *val_index, - statement.validator_signature().clone(), - ); - - if !fresh { - continue - } - - votes_changed = true; - self.metrics.on_valid_vote(); - }, - DisputeStatement::Invalid(invalid_kind) => { - let fresh = insert_into_statement_vec( - &mut votes.invalid, - *invalid_kind, - *val_index, - statement.validator_signature().clone(), - ); - - if !fresh { - continue - } - - fresh_invalid_statement_issuers.push(*val_index); - votes_changed = true; - self.metrics.on_invalid_vote(); - }, + let (tx, rx) = oneshot::channel(); + // Use of unbounded channels justified because: + // 1. Only triggered twice per dispute. + // 2. Raising a dispute is costly (requires validation + recovery) by honest nodes, + // dishonest nodes are limited by spam slots. + // 3. Concluding a dispute is even more costly. + // Therefore it is reasonable to expect a simple vote request to succeed way faster + // than disputes are raised. + // 4. We are waiting (and blocking the whole subsystem) on a response right after - + // therefore even with all else failing we will never have more than + // one message in flight at any given time. + ctx.send_unbounded_message( + ApprovalVotingMessage::GetApprovalSignaturesForCandidate(candidate_hash, tx), + ); + match rx.await { + Err(_) => { + gum::warn!( + target: LOG_TARGET, + "Fetch for approval votes got cancelled, only expected during shutdown!" + ); + intermediate_result + }, + Ok(votes) => intermediate_result.import_approval_votes(&env, votes), + } + } else { + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?session, + "Not requested approval signatures" + ); + intermediate_result } - } + }; - // Whether or not we know already that this is a good dispute: - // - // Note we can only know for sure whether we reached the `byzantine_threshold` after - // updating candidate votes above, therefore the spam checking is afterwards: - let is_confirmed = is_included || - was_confirmed || - is_local || votes.voted_indices().len() > - byzantine_threshold(n_validators); + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?session, + num_validators = ?env.session_info().validators.len(), + "Import result ready" + ); + let new_state = import_result.new_state(); + + let is_included = self.scraper.is_candidate_included(&candidate_hash); + + let potential_spam = !is_included && !new_state.is_confirmed() && !new_state.has_own_vote(); + + gum::trace!( + target: LOG_TARGET, + has_own_vote = ?new_state.has_own_vote(), + ?potential_spam, + ?is_included, + ?candidate_hash, + confirmed = ?new_state.is_confirmed(), + has_invalid_voters = ?!import_result.new_invalid_voters().is_empty(), + "Is spam?" + ); + + if !potential_spam { + // Former spammers have not been spammers after all: + self.spam_slots.clear(&(session, candidate_hash)); // Potential spam: - if !is_confirmed && !fresh_invalid_statement_issuers.is_empty() { - let mut free_spam_slots_available = true; - // Only allow import if all validators voting invalid, have not exceeded - // their spam slots: - for index in fresh_invalid_statement_issuers { + } else if !import_result.new_invalid_voters().is_empty() { + let mut free_spam_slots_available = false; + // Only allow import if at least one validator voting invalid, has not exceeded + // its spam slots: + for index in import_result.new_invalid_voters() { // Disputes can only be triggered via an invalidity stating vote, thus we only // need to increase spam slots on invalid votes. (If we did not, we would also // increase spam slots for backing validators for example - as validators have to // provide some opposing vote for dispute-distribution). - free_spam_slots_available &= - self.spam_slots.add_unconfirmed(session, candidate_hash, index); + free_spam_slots_available |= + self.spam_slots.add_unconfirmed(session, candidate_hash, *index); } - // Only validity stating votes or validator had free spam slot? if !free_spam_slots_available { gum::debug!( target: LOG_TARGET, ?candidate_hash, ?session, - ?statements, + invalid_voters = ?import_result.new_invalid_voters(), "Rejecting import because of full spam slots." ); return Ok(ImportStatementsResult::InvalidImport) } } - if is_confirmed && !was_confirmed { - // Former spammers have not been spammers after all: - self.spam_slots.clear(&(session, candidate_hash)); - } - - // Check if newly disputed. - let is_disputed = !votes.valid.is_empty() && !votes.invalid.is_empty(); - let concluded_valid = votes.valid.len() >= supermajority_threshold; - let concluded_invalid = votes.invalid.len() >= supermajority_threshold; - - // Participate in dispute if the imported vote was not local, we did not vote before either - // and we actually have keys to issue a local vote. - if !is_local && !voted_already && is_disputed && !controlled_indices.is_empty() { + // Participate in dispute if we did not cast a vote before and actually have keys to cast a + // local vote: + if !new_state.has_own_vote() && + new_state.is_disputed() && + !env.controlled_indices().is_empty() + { let priority = ParticipationPriority::with_priority_if(is_included); gum::trace!( target: LOG_TARGET, - candidate_hash = ?candidate_receipt.hash(), + ?candidate_hash, ?priority, "Queuing participation for candidate" ); @@ -835,22 +885,77 @@ impl Initialized { } else { self.metrics.on_queued_best_effort_participation(); } - // Participate whenever the imported vote was local & we did not had no cast - // previously: let r = self .participation .queue_participation( ctx, priority, - ParticipationRequest::new(candidate_receipt, session, n_validators), + ParticipationRequest::new( + new_state.candidate_receipt().clone(), + session, + env.validators().len(), + ), ) .await; log_error(r)?; } - let prev_status = recent_disputes.get(&(session, candidate_hash)).map(|x| x.clone()); + // Also send any already existing approval vote on new disputes: + if import_result.is_freshly_disputed() { + let no_votes = Vec::new(); + let our_approval_votes = new_state.own_approval_votes().unwrap_or(&no_votes); + for (validator_index, sig) in our_approval_votes { + let pub_key = match env.validators().get(validator_index.0 as usize) { + None => { + gum::error!( + target: LOG_TARGET, + ?validator_index, + ?session, + "Could not find pub key in `SessionInfo` for our own approval vote!" + ); + continue + }, + Some(k) => k, + }; + let statement = SignedDisputeStatement::new_unchecked_from_trusted_source( + DisputeStatement::Valid(ValidDisputeStatementKind::ApprovalChecking), + candidate_hash, + session, + pub_key.clone(), + sig.clone(), + ); + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?session, + ?validator_index, + "Sending out own approval vote" + ); + match make_dispute_message( + env.session_info(), + &new_state.votes(), + statement, + *validator_index, + ) { + Err(err) => { + gum::error!( + target: LOG_TARGET, + ?err, + "No ongoing dispute, but we checked there is one!" + ); + }, + Ok(dispute_message) => { + ctx.send_message(DisputeDistributionMessage::SendDispute(dispute_message)) + .await; + }, + }; + } + } + + // All good, update recent disputes if state has changed: + if import_result.dispute_state_changed() { + let mut recent_disputes = overlay_db.load_recent_disputes()?.unwrap_or_default(); - let status = if is_disputed { let status = recent_disputes.entry((session, candidate_hash)).or_insert_with(|| { gum::info!( target: LOG_TARGET, @@ -861,57 +966,73 @@ impl Initialized { DisputeStatus::active() }); - if is_confirmed { + if new_state.is_confirmed() { *status = status.confirm(); } // Note: concluded-invalid overwrites concluded-valid, // so we do this check first. Dispute state machine is // non-commutative. - if concluded_valid { + if new_state.is_concluded_valid() { *status = status.concluded_for(now); } - if concluded_invalid { + if new_state.is_concluded_invalid() { *status = status.concluded_against(now); } - Some(*status) - } else { - None - }; - - if status != prev_status { - if prev_status.is_none() { - self.metrics.on_open(); - } - - if !was_concluded_valid && concluded_valid { - gum::info!( - target: LOG_TARGET, - ?candidate_hash, - session, - "Dispute on candidate concluded with 'valid' result", - ); - self.metrics.on_concluded_valid(); - } - - if !was_concluded_invalid && concluded_invalid { - gum::info!( - target: LOG_TARGET, - ?candidate_hash, - session, - "Dispute on candidate concluded with 'invalid' result", - ); - self.metrics.on_concluded_invalid(); - } - - // Only write when updated: + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?status, + is_concluded_valid = ?new_state.is_concluded_valid(), + is_concluded_invalid = ?new_state.is_concluded_invalid(), + "Writing recent disputes with updates for candidate" + ); overlay_db.write_recent_disputes(recent_disputes); } + // Update metrics: + if import_result.is_freshly_disputed() { + self.metrics.on_open(); + } + self.metrics.on_valid_votes(import_result.imported_valid_votes()); + self.metrics.on_invalid_votes(import_result.imported_invalid_votes()); + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?session, + imported_approval_votes = ?import_result.imported_approval_votes(), + imported_valid_votes = ?import_result.imported_valid_votes(), + imported_invalid_votes = ?import_result.imported_invalid_votes(), + total_valid_votes = ?import_result.new_state().votes().valid.len(), + total_invalid_votes = ?import_result.new_state().votes().invalid.len(), + confirmed = ?import_result.new_state().is_confirmed(), + "Import summary" + ); + + self.metrics.on_approval_votes(import_result.imported_approval_votes()); + if import_result.is_freshly_concluded_valid() { + gum::info!( + target: LOG_TARGET, + ?candidate_hash, + session, + "Dispute on candidate concluded with 'valid' result", + ); + self.metrics.on_concluded_valid(); + } + if import_result.is_freshly_concluded_invalid() { + gum::info!( + target: LOG_TARGET, + ?candidate_hash, + session, + "Dispute on candidate concluded with 'invalid' result", + ); + self.metrics.on_concluded_invalid(); + } + // Only write when votes have changed. - if votes_changed { + if let Some(votes) = import_result.into_updated_votes() { overlay_db.write_candidate_votes(session, candidate_hash, votes.into()); } @@ -928,29 +1049,37 @@ impl Initialized { valid: bool, now: Timestamp, ) -> Result<()> { - // Load session info. - let info = match self.rolling_session_window.session_info(session) { - None => { - gum::warn!( - target: LOG_TARGET, - session, - "Missing info for session which has an active dispute", - ); - - return Ok(()) - }, - Some(info) => info, - }; + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?session, + ?valid, + ?now, + "Issuing local statement for candidate!" + ); + // Load environment: + let env = + match CandidateEnvironment::new(&*self.keystore, &self.rolling_session_window, session) + { + None => { + gum::warn!( + target: LOG_TARGET, + session, + "Missing info for session which has an active dispute", + ); - let validators = info.validators.clone(); + return Ok(()) + }, + Some(env) => env, + }; let votes = overlay_db .load_candidate_votes(session, &candidate_hash)? .map(CandidateVotes::from) .unwrap_or_else(|| CandidateVotes { candidate_receipt: candidate_receipt.clone(), - valid: Vec::new(), - invalid: Vec::new(), + valid: BTreeMap::new(), + invalid: BTreeMap::new(), }); // Sign a statement for each validator index we control which has @@ -958,8 +1087,7 @@ impl Initialized { let voted_indices = votes.voted_indices(); let mut statements = Vec::new(); - let voted_indices: HashSet<_> = voted_indices.into_iter().collect(); - let controlled_indices = find_controlled_validator_indices(&self.keystore, &validators[..]); + let controlled_indices = env.controlled_indices(); for index in controlled_indices { if voted_indices.contains(&index) { continue @@ -971,13 +1099,13 @@ impl Initialized { valid, candidate_hash, session, - validators[index.0 as usize].clone(), + env.validators()[index.0 as usize].clone(), ) .await; match res { Ok(Some(signed_dispute_statement)) => { - statements.push((signed_dispute_statement, index)); + statements.push((signed_dispute_statement, *index)); }, Ok(None) => {}, Err(e) => { @@ -993,7 +1121,7 @@ impl Initialized { // Get our message out: for (statement, index) in &statements { let dispute_message = - match make_dispute_message(info, &votes, statement.clone(), *index) { + match make_dispute_message(env.session_info(), &votes, statement.clone(), *index) { Err(err) => { gum::debug!(target: LOG_TARGET, ?err, "Creating dispute message failed."); continue @@ -1010,7 +1138,6 @@ impl Initialized { .handle_import_statements( ctx, overlay_db, - candidate_hash, MaybeCandidateReceipt::Provides(candidate_receipt), session, statements, @@ -1066,29 +1193,22 @@ impl MuxedMessage { } } -// Returns 'true' if no other vote by that validator was already -// present and 'false' otherwise. Same semantics as `HashSet`. -fn insert_into_statement_vec( - vec: &mut Vec<(T, ValidatorIndex, ValidatorSignature)>, - tag: T, - val_index: ValidatorIndex, - val_signature: ValidatorSignature, -) -> bool { - let pos = match vec.binary_search_by_key(&val_index, |x| x.1) { - Ok(_) => return false, // no duplicates needed. - Err(p) => p, - }; - - vec.insert(pos, (tag, val_index, val_signature)); - true -} - #[derive(Debug, Clone)] enum MaybeCandidateReceipt { - /// Directly provides the candiate receipt. + /// Directly provides the candidate receipt. Provides(CandidateReceipt), /// Assumes it was seen before by means of seconded message. - AssumeBackingVotePresent, + AssumeBackingVotePresent(CandidateHash), +} + +impl MaybeCandidateReceipt { + /// Retrieve `CandidateHash` for the corresponding candidate. + pub fn hash(&self) -> CandidateHash { + match self { + Self::Provides(receipt) => receipt.hash(), + Self::AssumeBackingVotePresent(hash) => *hash, + } + } } #[derive(Debug, thiserror::Error)] @@ -1113,35 +1233,35 @@ fn make_dispute_message( let (valid_statement, valid_index, invalid_statement, invalid_index) = if let DisputeStatement::Valid(_) = our_vote.statement() { - let (statement_kind, validator_index, validator_signature) = - votes.invalid.get(0).ok_or(DisputeMessageCreationError::NoOppositeVote)?.clone(); + let (validator_index, (statement_kind, validator_signature)) = + votes.invalid.iter().next().ok_or(DisputeMessageCreationError::NoOppositeVote)?; let other_vote = SignedDisputeStatement::new_checked( - DisputeStatement::Invalid(statement_kind), + DisputeStatement::Invalid(*statement_kind), our_vote.candidate_hash().clone(), our_vote.session_index(), validators .get(validator_index.0 as usize) .ok_or(DisputeMessageCreationError::InvalidValidatorIndex)? .clone(), - validator_signature, + validator_signature.clone(), ) .map_err(|()| DisputeMessageCreationError::InvalidStoredStatement)?; - (our_vote, our_index, other_vote, validator_index) + (our_vote, our_index, other_vote, *validator_index) } else { - let (statement_kind, validator_index, validator_signature) = - votes.valid.get(0).ok_or(DisputeMessageCreationError::NoOppositeVote)?.clone(); + let (validator_index, (statement_kind, validator_signature)) = + votes.valid.iter().next().ok_or(DisputeMessageCreationError::NoOppositeVote)?; let other_vote = SignedDisputeStatement::new_checked( - DisputeStatement::Valid(statement_kind), + DisputeStatement::Valid(*statement_kind), our_vote.candidate_hash().clone(), our_vote.session_index(), validators .get(validator_index.0 as usize) .ok_or(DisputeMessageCreationError::InvalidValidatorIndex)? .clone(), - validator_signature, + validator_signature.clone(), ) .map_err(|()| DisputeMessageCreationError::InvalidStoredStatement)?; - (other_vote, validator_index, our_vote, our_index) + (other_vote, *validator_index, our_vote, our_index) }; DisputeMessage::from_signed_statements( @@ -1155,7 +1275,7 @@ fn make_dispute_message( .map_err(DisputeMessageCreationError::InvalidStatementCombination) } -/// Determine the the best block and its block number. +/// Determine the best block and its block number. /// Assumes `block_descriptions` are sorted from the one /// with the lowest `BlockNumber` to the highest. fn determine_undisputed_chain( @@ -1194,19 +1314,3 @@ fn determine_undisputed_chain( Ok(last) } - -fn find_controlled_validator_indices( - keystore: &LocalKeystore, - validators: &[ValidatorId], -) -> HashSet { - let mut controlled = HashSet::new(); - for (index, validator) in validators.iter().enumerate() { - if keystore.key_pair::(validator).ok().flatten().is_none() { - continue - } - - controlled.insert(ValidatorIndex(index as _)); - } - - controlled -} diff --git a/node/core/dispute-coordinator/src/lib.rs b/node/core/dispute-coordinator/src/lib.rs index d04cbf29ca58..03193a9d68ea 100644 --- a/node/core/dispute-coordinator/src/lib.rs +++ b/node/core/dispute-coordinator/src/lib.rs @@ -24,7 +24,7 @@ //! validation results as well as a sink for votes received by other subsystems. When importing a dispute vote from //! another node, this will trigger dispute participation to recover and validate the block. -use std::{collections::HashSet, sync::Arc}; +use std::sync::Arc; use futures::FutureExt; @@ -89,6 +89,9 @@ mod spam_slots; /// if there are lots of them. pub(crate) mod participation; +/// Pure processing of vote imports. +pub(crate) mod import; + /// Metrics types. mod metrics; @@ -302,7 +305,7 @@ impl DisputeCoordinatorSubsystem { }; let n_validators = validators.len(); - let voted_indices: HashSet<_> = votes.voted_indices().into_iter().collect(); + let voted_indices = votes.voted_indices(); // Determine if there are any missing local statements for this dispute. Validators are // filtered if: diff --git a/node/core/dispute-coordinator/src/metrics.rs b/node/core/dispute-coordinator/src/metrics.rs index 40503428c1c8..1fbe7e49e8b8 100644 --- a/node/core/dispute-coordinator/src/metrics.rs +++ b/node/core/dispute-coordinator/src/metrics.rs @@ -22,6 +22,8 @@ struct MetricsInner { open: prometheus::Counter, /// Votes of all disputes. votes: prometheus::CounterVec, + /// Number of approval votes explicitly fetched from approval voting. + approval_votes: prometheus::Counter, /// Conclusion across all disputes. concluded: prometheus::CounterVec, /// Number of participations that have been queued. @@ -41,15 +43,21 @@ impl Metrics { } } - pub(crate) fn on_valid_vote(&self) { + pub(crate) fn on_valid_votes(&self, vote_count: u32) { if let Some(metrics) = &self.0 { - metrics.votes.with_label_values(&["valid"]).inc(); + metrics.votes.with_label_values(&["valid"]).inc_by(vote_count as _); } } - pub(crate) fn on_invalid_vote(&self) { + pub(crate) fn on_invalid_votes(&self, vote_count: u32) { if let Some(metrics) = &self.0 { - metrics.votes.with_label_values(&["invalid"]).inc(); + metrics.votes.with_label_values(&["invalid"]).inc_by(vote_count as _); + } + } + + pub(crate) fn on_approval_votes(&self, vote_count: u32) { + if let Some(metrics) = &self.0 { + metrics.approval_votes.inc_by(vote_count as _); } } @@ -112,6 +120,13 @@ impl metrics::Metrics for Metrics { )?, registry, )?, + approval_votes: prometheus::register( + prometheus::Counter::with_opts(prometheus::Opts::new( + "polkadot_parachain_dispute_candidate_approval_votes_fetched_total", + "Number of approval votes fetched from approval voting.", + ))?, + registry, + )?, queued_participations: prometheus::register( prometheus::CounterVec::new( prometheus::Opts::new( diff --git a/node/core/dispute-coordinator/src/spam_slots.rs b/node/core/dispute-coordinator/src/spam_slots.rs index 76cae0a72197..c0619bf3a1a5 100644 --- a/node/core/dispute-coordinator/src/spam_slots.rs +++ b/node/core/dispute-coordinator/src/spam_slots.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::collections::{HashMap, HashSet}; +use std::collections::{BTreeSet, HashMap}; use polkadot_primitives::v2::{CandidateHash, SessionIndex, ValidatorIndex}; @@ -54,7 +54,7 @@ pub struct SpamSlots { } /// Unconfirmed disputes to be passed at initialization. -pub type UnconfirmedDisputes = HashMap<(SessionIndex, CandidateHash), HashSet>; +pub type UnconfirmedDisputes = HashMap<(SessionIndex, CandidateHash), BTreeSet>; impl SpamSlots { /// Recover `SpamSlots` from state on startup. diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index f1dbde642c22..39fdc3a037e5 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -34,14 +34,16 @@ use polkadot_node_subsystem_util::database::Database; use polkadot_node_primitives::{SignedDisputeStatement, SignedFullStatement, Statement}; use polkadot_node_subsystem::{ messages::{ - ChainApiMessage, DisputeCoordinatorMessage, DisputeDistributionMessage, - ImportStatementsResult, + ApprovalVotingMessage, ChainApiMessage, DisputeCoordinatorMessage, + DisputeDistributionMessage, ImportStatementsResult, }, overseer::FromOrchestra, OverseerSignal, }; + use polkadot_node_subsystem_util::TimeoutExt; use sc_keystore::LocalKeystore; +use sp_application_crypto::AppKey; use sp_core::{sr25519::Pair, testing::TaskExecutor, Pair as PairT}; use sp_keyring::Sr25519Keyring; use sp_keystore::{SyncCryptoStore, SyncCryptoStorePtr}; @@ -54,9 +56,10 @@ use polkadot_node_subsystem::{ }; use polkadot_node_subsystem_test_helpers::{make_subsystem_context, TestSubsystemContextHandle}; use polkadot_primitives::v2::{ - BlockNumber, CandidateCommitments, CandidateHash, CandidateReceipt, Hash, Header, - MultiDisputeStatementSet, ScrapedOnChainVotes, SessionIndex, SessionInfo, SigningContext, - ValidatorId, ValidatorIndex, + ApprovalVote, BlockNumber, CandidateCommitments, CandidateHash, CandidateReceipt, + DisputeStatement, Hash, Header, MultiDisputeStatementSet, ScrapedOnChainVotes, SessionIndex, + SessionInfo, SigningContext, ValidDisputeStatementKind, ValidatorId, ValidatorIndex, + ValidatorSignature, }; use crate::{ @@ -311,7 +314,7 @@ impl TestState { tx.send(Ok(Vec::new())).unwrap(); } ); - gum::info!("After answering runtime api request"); + gum::trace!("After answering runtime api request"); assert_matches!( overseer_recv(virtual_overseer).await, AllMessages::RuntimeApi(RuntimeApiMessage::Request( @@ -326,7 +329,7 @@ impl TestState { }))).unwrap(); } ); - gum::info!("After answering runtime api request (votes)"); + gum::trace!("After answering runtime API request (votes)"); }, msg => { panic!("Received unexpected message in `handle_sync_queries`: {:?}", msg); @@ -385,12 +388,12 @@ impl TestState { async fn issue_explicit_statement_with_index( &self, - index: usize, + index: ValidatorIndex, candidate_hash: CandidateHash, session: SessionIndex, valid: bool, ) -> SignedDisputeStatement { - let public = self.validator_public[index].clone(); + let public = self.validator_public[index.0 as usize].clone(); let keystore = self.master_keystore.clone() as SyncCryptoStorePtr; @@ -402,12 +405,12 @@ impl TestState { async fn issue_backing_statement_with_index( &self, - index: usize, + index: ValidatorIndex, candidate_hash: CandidateHash, session: SessionIndex, ) -> SignedDisputeStatement { let keystore = self.master_keystore.clone() as SyncCryptoStorePtr; - let validator_id = self.validators[index].public().into(); + let validator_id = self.validators[index.0 as usize].public().into(); let context = SigningContext { session_index: session, parent_hash: Hash::repeat_byte(0xac) }; @@ -415,7 +418,7 @@ impl TestState { &keystore, Statement::Valid(candidate_hash), &context, - ValidatorIndex(index as _), + index, &validator_id, ) .await @@ -426,6 +429,35 @@ impl TestState { SignedDisputeStatement::from_backing_statement(&statement, context, validator_id).unwrap() } + fn issue_approval_vote_with_index( + &self, + index: ValidatorIndex, + candidate_hash: CandidateHash, + session: SessionIndex, + ) -> SignedDisputeStatement { + let keystore = self.master_keystore.clone() as SyncCryptoStorePtr; + let validator_id = self.validators[index.0 as usize].public(); + + let payload = ApprovalVote(candidate_hash).signing_payload(session); + let signature = SyncCryptoStore::sign_with( + &*keystore, + ValidatorId::ID, + &validator_id.into(), + &payload[..], + ) + .ok() + .flatten() + .unwrap(); + + SignedDisputeStatement::new_unchecked_from_trusted_source( + DisputeStatement::Valid(ValidDisputeStatementKind::ApprovalChecking), + candidate_hash, + session, + validator_id.into(), + signature.try_into().unwrap(), + ) + } + fn resume(mut self, test: F) -> Self where F: FnOnce(TestState, VirtualOverseer) -> BoxFuture<'static, TestState>, @@ -482,6 +514,24 @@ fn make_invalid_candidate_receipt() -> CandidateReceipt { dummy_candidate_receipt_bad_sig(Default::default(), Some(Default::default())) } +/// Handle request for approval votes: +pub async fn handle_approval_vote_request( + ctx_handle: &mut VirtualOverseer, + expected_hash: &CandidateHash, + votes_to_send: HashMap, +) { + assert_matches!( + ctx_handle.recv().await, + AllMessages::ApprovalVoting( + ApprovalVotingMessage::GetApprovalSignaturesForCandidate(hash, tx) + ) => { + assert_eq!(&hash, expected_hash); + tx.send(votes_to_send).unwrap(); + }, + "overseer did not receive `GetApprovalSignaturesForCandidate` message.", + ); +} + #[test] fn too_many_unconfirmed_statements_are_considered_spam() { test_harness(|mut test_state, mut virtual_overseer| { @@ -497,24 +547,36 @@ fn too_many_unconfirmed_statements_are_considered_spam() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; - let valid_vote1 = - test_state.issue_backing_statement_with_index(3, candidate_hash1, session).await; + let valid_vote1 = test_state + .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash1, session) + .await; let invalid_vote1 = test_state - .issue_explicit_statement_with_index(1, candidate_hash1, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash1, + session, + false, + ) .await; - let valid_vote2 = - test_state.issue_backing_statement_with_index(3, candidate_hash1, session).await; + let valid_vote2 = test_state + .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash2, session) + .await; let invalid_vote2 = test_state - .issue_explicit_statement_with_index(1, candidate_hash1, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash2, + session, + false, + ) .await; + gum::trace!("Before sending `ImportStatements`"); virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash: candidate_hash1, candidate_receipt: candidate_receipt1.clone(), session, statements: vec![ @@ -525,6 +587,10 @@ fn too_many_unconfirmed_statements_are_considered_spam() { }, }) .await; + gum::trace!("After sending `ImportStatements`"); + + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash1, HashMap::new()) + .await; // Participation has to fail, otherwise the dispute will be confirmed. participation_missing_availability(&mut virtual_overseer).await; @@ -558,7 +624,6 @@ fn too_many_unconfirmed_statements_are_considered_spam() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash: candidate_hash2, candidate_receipt: candidate_receipt2.clone(), session, statements: vec![ @@ -570,6 +635,9 @@ fn too_many_unconfirmed_statements_are_considered_spam() { }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash2, HashMap::new()) + .await; + { let (tx, rx) = oneshot::channel(); virtual_overseer @@ -597,6 +665,99 @@ fn too_many_unconfirmed_statements_are_considered_spam() { }); } +#[test] +fn approval_vote_import_works() { + test_harness(|mut test_state, mut virtual_overseer| { + Box::pin(async move { + let session = 1; + + test_state.handle_resume_sync(&mut virtual_overseer, session).await; + + let candidate_receipt1 = make_valid_candidate_receipt(); + let candidate_hash1 = candidate_receipt1.hash(); + + test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + + let valid_vote1 = test_state + .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash1, session) + .await; + + let invalid_vote1 = test_state + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash1, + session, + false, + ) + .await; + + let approval_vote = test_state.issue_approval_vote_with_index( + ValidatorIndex(4), + candidate_hash1, + session, + ); + + gum::trace!("Before sending `ImportStatements`"); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt1.clone(), + session, + statements: vec![ + (valid_vote1, ValidatorIndex(3)), + (invalid_vote1, ValidatorIndex(1)), + ], + pending_confirmation: None, + }, + }) + .await; + gum::trace!("After sending `ImportStatements`"); + + let approval_votes = [(ValidatorIndex(4), approval_vote.into_validator_signature())] + .into_iter() + .collect(); + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash1, approval_votes) + .await; + + // Participation has to fail, otherwise the dispute will be confirmed. + participation_missing_availability(&mut virtual_overseer).await; + + { + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ActiveDisputes(tx), + }) + .await; + + assert_eq!(rx.await.unwrap(), vec![(session, candidate_hash1)]); + + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::QueryCandidateVotes( + vec![(session, candidate_hash1)], + tx, + ), + }) + .await; + + let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); + assert_eq!(votes.valid.len(), 2); + assert!(votes.valid.get(&ValidatorIndex(4)).is_some(), "Approval vote is missing!"); + assert_eq!(votes.invalid.len(), 1); + } + + virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; + + // No more messages expected: + assert!(virtual_overseer.try_recv().await.is_none()); + + test_state + }) + }); +} + #[test] fn dispute_gets_confirmed_via_participation() { test_harness(|mut test_state, mut virtual_overseer| { @@ -613,25 +774,44 @@ fn dispute_gets_confirmed_via_participation() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let valid_vote1 = test_state - .issue_explicit_statement_with_index(3, candidate_hash1, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(3), + candidate_hash1, + session, + true, + ) .await; let invalid_vote1 = test_state - .issue_explicit_statement_with_index(1, candidate_hash1, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash1, + session, + false, + ) .await; let valid_vote2 = test_state - .issue_explicit_statement_with_index(3, candidate_hash1, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(3), + candidate_hash2, + session, + true, + ) .await; let invalid_vote2 = test_state - .issue_explicit_statement_with_index(1, candidate_hash1, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash2, + session, + false, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash: candidate_hash1, candidate_receipt: candidate_receipt1.clone(), session, statements: vec![ @@ -642,6 +822,9 @@ fn dispute_gets_confirmed_via_participation() { }, }) .await; + gum::debug!("After First import!"); + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash1, HashMap::new()) + .await; participation_with_distribution( &mut virtual_overseer, @@ -649,6 +832,7 @@ fn dispute_gets_confirmed_via_participation() { candidate_receipt1.commitments_hash, ) .await; + gum::debug!("After Participation!"); { let (tx, rx) = oneshot::channel(); @@ -679,7 +863,6 @@ fn dispute_gets_confirmed_via_participation() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash: candidate_hash2, candidate_receipt: candidate_receipt2.clone(), session, statements: vec![ @@ -690,6 +873,8 @@ fn dispute_gets_confirmed_via_participation() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash2, HashMap::new()) + .await; participation_missing_availability(&mut virtual_overseer).await; @@ -738,33 +923,62 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let valid_vote1 = test_state - .issue_explicit_statement_with_index(3, candidate_hash1, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(3), + candidate_hash1, + session, + true, + ) .await; let invalid_vote1 = test_state - .issue_explicit_statement_with_index(1, candidate_hash1, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash1, + session, + false, + ) .await; let valid_vote1a = test_state - .issue_explicit_statement_with_index(4, candidate_hash1, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(4), + candidate_hash1, + session, + true, + ) .await; let invalid_vote1a = test_state - .issue_explicit_statement_with_index(5, candidate_hash1, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(5), + candidate_hash1, + session, + false, + ) .await; let valid_vote2 = test_state - .issue_explicit_statement_with_index(3, candidate_hash1, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(3), + candidate_hash2, + session, + true, + ) .await; let invalid_vote2 = test_state - .issue_explicit_statement_with_index(1, candidate_hash1, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash2, + session, + false, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash: candidate_hash1, candidate_receipt: candidate_receipt1.clone(), session, statements: vec![ @@ -777,6 +991,8 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash1, HashMap::new()) + .await; participation_missing_availability(&mut virtual_overseer).await; @@ -809,7 +1025,6 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash: candidate_hash2, candidate_receipt: candidate_receipt2.clone(), session, statements: vec![ @@ -820,6 +1035,8 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash2, HashMap::new()) + .await; participation_missing_availability(&mut virtual_overseer).await; @@ -866,17 +1083,18 @@ fn backing_statements_import_works_and_no_spam() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; - let valid_vote1 = - test_state.issue_backing_statement_with_index(3, candidate_hash, session).await; + let valid_vote1 = test_state + .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash, session) + .await; - let valid_vote2 = - test_state.issue_backing_statement_with_index(4, candidate_hash, session).await; + let valid_vote2 = test_state + .issue_backing_statement_with_index(ValidatorIndex(4), candidate_hash, session) + .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -918,11 +1136,13 @@ fn backing_statements_import_works_and_no_spam() { let candidate_receipt = make_invalid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - let valid_vote1 = - test_state.issue_backing_statement_with_index(3, candidate_hash, session).await; + let valid_vote1 = test_state + .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash, session) + .await; - let valid_vote2 = - test_state.issue_backing_statement_with_index(4, candidate_hash, session).await; + let valid_vote2 = test_state + .issue_backing_statement_with_index(ValidatorIndex(4), candidate_hash, session) + .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); // Backing vote import should not have accounted to spam slots, so this should succeed @@ -930,7 +1150,6 @@ fn backing_statements_import_works_and_no_spam() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -969,21 +1188,35 @@ fn conflicting_votes_lead_to_dispute_participation() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let valid_vote = test_state - .issue_explicit_statement_with_index(3, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(3), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + false, + ) .await; let invalid_vote_2 = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + false, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -994,6 +1227,8 @@ fn conflicting_votes_lead_to_dispute_participation() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; participation_with_distribution( &mut virtual_overseer, @@ -1030,7 +1265,6 @@ fn conflicting_votes_lead_to_dispute_participation() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![(invalid_vote_2, ValidatorIndex(2))], @@ -1079,17 +1313,26 @@ fn positive_votes_dont_trigger_participation() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let valid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + true, + ) .await; let valid_vote_2 = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + true, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![(valid_vote, ValidatorIndex(2))], @@ -1126,7 +1369,6 @@ fn positive_votes_dont_trigger_participation() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![(valid_vote_2, ValidatorIndex(1))], @@ -1184,17 +1426,26 @@ fn wrong_validator_index_is_ignored() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let valid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + false, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1226,9 +1477,7 @@ fn wrong_validator_index_is_ignored() { }) .await; - let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert!(votes.valid.is_empty()); - assert!(votes.invalid.is_empty()); + assert_matches!(rx.await.unwrap().get(0), None); } virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; @@ -1255,17 +1504,26 @@ fn finality_votes_ignore_disputed_candidates() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let valid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + false, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1276,6 +1534,8 @@ fn finality_votes_ignore_disputed_candidates() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; participation_with_distribution( &mut virtual_overseer, @@ -1357,17 +1617,26 @@ fn supermajority_valid_dispute_may_be_finalized() { polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); let valid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + false, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1378,6 +1647,8 @@ fn supermajority_valid_dispute_may_be_finalized() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; participation_with_distribution( &mut virtual_overseer, @@ -1387,9 +1658,14 @@ fn supermajority_valid_dispute_may_be_finalized() { .await; let mut statements = Vec::new(); - for i in (0..supermajority_threshold - 1).map(|i| i + 3) { + for i in (0_u32..supermajority_threshold as u32 - 1).map(|i| i + 3) { let vote = test_state - .issue_explicit_statement_with_index(i, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(i), + candidate_hash, + session, + true, + ) .await; statements.push((vote, ValidatorIndex(i as _))); @@ -1398,7 +1674,6 @@ fn supermajority_valid_dispute_may_be_finalized() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements, @@ -1406,6 +1681,8 @@ fn supermajority_valid_dispute_may_be_finalized() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; { let (tx, rx) = oneshot::channel(); @@ -1480,17 +1757,26 @@ fn concluded_supermajority_for_non_active_after_time() { polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); let valid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + false, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1501,6 +1787,8 @@ fn concluded_supermajority_for_non_active_after_time() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; participation_with_distribution( &mut virtual_overseer, @@ -1511,9 +1799,14 @@ fn concluded_supermajority_for_non_active_after_time() { let mut statements = Vec::new(); // -2: 1 for already imported vote and one for local vote (which is valid). - for i in (0..supermajority_threshold - 2).map(|i| i + 3) { + for i in (0_u32..supermajority_threshold as u32 - 2).map(|i| i + 3) { let vote = test_state - .issue_explicit_statement_with_index(i, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(i), + candidate_hash, + session, + true, + ) .await; statements.push((vote, ValidatorIndex(i as _))); @@ -1522,7 +1815,6 @@ fn concluded_supermajority_for_non_active_after_time() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements, @@ -1530,6 +1822,8 @@ fn concluded_supermajority_for_non_active_after_time() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; test_state.clock.set(ACTIVE_DURATION_SECS + 1); @@ -1581,18 +1875,27 @@ fn concluded_supermajority_against_non_active_after_time() { polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); let valid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + false, + ) .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1603,6 +1906,8 @@ fn concluded_supermajority_against_non_active_after_time() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; assert_matches!(confirmation_rx.await.unwrap(), ImportStatementsResult::ValidImport => {} ); @@ -1617,9 +1922,14 @@ fn concluded_supermajority_against_non_active_after_time() { let mut statements = Vec::new(); // minus 2, because of local vote and one previously imported invalid vote. - for i in (0..supermajority_threshold - 2).map(|i| i + 3) { + for i in (0_u32..supermajority_threshold as u32 - 2).map(|i| i + 3) { let vote = test_state - .issue_explicit_statement_with_index(i, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(i), + candidate_hash, + session, + false, + ) .await; statements.push((vote, ValidatorIndex(i as _))); @@ -1628,7 +1938,6 @@ fn concluded_supermajority_against_non_active_after_time() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements, @@ -1636,6 +1945,8 @@ fn concluded_supermajority_against_non_active_after_time() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; test_state.clock.set(ACTIVE_DURATION_SECS + 1); @@ -1685,18 +1996,27 @@ fn resume_dispute_without_local_statement() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let valid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + false, + ) .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1707,6 +2027,8 @@ fn resume_dispute_without_local_statement() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; // Missing availability -> No local vote. participation_missing_availability(&mut virtual_overseer).await; @@ -1748,28 +2070,57 @@ fn resume_dispute_without_local_statement() { .await; let valid_vote0 = test_state - .issue_explicit_statement_with_index(0, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(0), + candidate_hash, + session, + true, + ) .await; let valid_vote3 = test_state - .issue_explicit_statement_with_index(3, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(3), + candidate_hash, + session, + true, + ) .await; let valid_vote4 = test_state - .issue_explicit_statement_with_index(4, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(4), + candidate_hash, + session, + true, + ) .await; let valid_vote5 = test_state - .issue_explicit_statement_with_index(5, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(5), + candidate_hash, + session, + true, + ) .await; let valid_vote6 = test_state - .issue_explicit_statement_with_index(6, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(6), + candidate_hash, + session, + true, + ) .await; let valid_vote7 = test_state - .issue_explicit_statement_with_index(7, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(7), + candidate_hash, + session, + true, + ) .await; virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1784,6 +2135,8 @@ fn resume_dispute_without_local_statement() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; // Advance the clock far enough so that the concluded dispute will be omitted from an // ActiveDisputes query. @@ -1823,22 +2176,36 @@ fn resume_dispute_with_local_statement() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let local_valid_vote = test_state - .issue_explicit_statement_with_index(0, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(0), + candidate_hash, + session, + true, + ) .await; let valid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + false, + ) .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1850,6 +2217,8 @@ fn resume_dispute_with_local_statement() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; assert_eq!(confirmation_rx.await, Ok(ImportStatementsResult::ValidImport)); @@ -1905,18 +2274,27 @@ fn resume_dispute_without_local_statement_or_local_key() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let valid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + false, + ) .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -1927,6 +2305,12 @@ fn resume_dispute_without_local_statement_or_local_key() { }, }) .await; + handle_approval_vote_request( + &mut virtual_overseer, + &candidate_hash, + HashMap::new(), + ) + .await; assert_eq!(confirmation_rx.await, Ok(ImportStatementsResult::ValidImport)); @@ -1983,22 +2367,36 @@ fn resume_dispute_with_local_statement_without_local_key() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let local_valid_vote = test_state - .issue_explicit_statement_with_index(0, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(0), + candidate_hash, + session, + true, + ) .await; let valid_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, true) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + true, + ) .await; let invalid_vote = test_state - .issue_explicit_statement_with_index(2, candidate_hash, session, false) + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + false, + ) .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![ @@ -2010,6 +2408,8 @@ fn resume_dispute_with_local_statement_without_local_key() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; assert_eq!(confirmation_rx.await, Ok(ImportStatementsResult::ValidImport)); @@ -2075,14 +2475,18 @@ fn issue_local_statement_does_cause_distribution_but_not_duplicate_participation test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; let other_vote = test_state - .issue_explicit_statement_with_index(1, candidate_hash, session, !validity) + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + !validity, + ) .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![(other_vote, ValidatorIndex(1))], @@ -2116,6 +2520,9 @@ fn issue_local_statement_does_cause_distribution_but_not_duplicate_participation } ); + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; + // Make sure we won't participate: assert!(virtual_overseer.recv().timeout(TEST_TIMEOUT).await.is_none()); @@ -2128,44 +2535,87 @@ fn issue_local_statement_does_cause_distribution_but_not_duplicate_participation } #[test] -fn negative_issue_local_statement_only_triggers_import() { +fn own_approval_vote_gets_distributed_on_dispute() { test_harness(|mut test_state, mut virtual_overseer| { Box::pin(async move { let session = 1; test_state.handle_resume_sync(&mut virtual_overseer, session).await; - let candidate_receipt = make_invalid_candidate_receipt(); + let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + let statement = test_state.issue_approval_vote_with_index( + ValidatorIndex(0), + candidate_hash, + session, + ); + + // Import our approval vote: virtual_overseer .send(FromOrchestra::Communication { - msg: DisputeCoordinatorMessage::IssueLocalStatement( + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt.clone(), session, - candidate_hash, - candidate_receipt.clone(), - false, - ), + statements: vec![(statement, ValidatorIndex(0))], + pending_confirmation: None, + }, }) .await; - let backend = DbBackend::new( - test_state.db.clone(), - test_state.config.column_config(), - Metrics::default(), - ); + // Trigger dispute: + let invalid_vote = test_state + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + false, + ) + .await; + let valid_vote = test_state + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + true, + ) + .await; - let votes = backend.load_candidate_votes(session, &candidate_hash).unwrap().unwrap(); - assert_eq!(votes.invalid.len(), 1); - assert_eq!(votes.valid.len(), 0); + let (pending_confirmation, confirmation_rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt.clone(), + session, + statements: vec![ + (invalid_vote, ValidatorIndex(1)), + (valid_vote, ValidatorIndex(2)), + ], + pending_confirmation: Some(pending_confirmation), + }, + }) + .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; - let disputes = backend.load_recent_disputes().unwrap(); - assert_eq!(disputes, None); + assert_eq!(confirmation_rx.await, Ok(ImportStatementsResult::ValidImport)); - // Assert that subsystem is not participating. - assert!(virtual_overseer.recv().timeout(TEST_TIMEOUT).await.is_none()); + // Dispute distribution should get notified now (without participation, as we already + // have an approval vote): + assert_matches!( + overseer_recv(&mut virtual_overseer).await, + AllMessages::DisputeDistribution( + DisputeDistributionMessage::SendDispute(msg) + ) => { + assert_eq!(msg.session_index(), session); + assert_eq!(msg.candidate_receipt(), &candidate_receipt); + } + ); + + // No participation should occur: + assert_matches!(virtual_overseer.recv().timeout(TEST_TIMEOUT).await, None); virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; assert!(virtual_overseer.try_recv().await.is_none()); @@ -2176,33 +2626,29 @@ fn negative_issue_local_statement_only_triggers_import() { } #[test] -fn empty_import_still_writes_candidate_receipt() { +fn negative_issue_local_statement_only_triggers_import() { test_harness(|mut test_state, mut virtual_overseer| { Box::pin(async move { let session = 1; test_state.handle_resume_sync(&mut virtual_overseer, session).await; - let candidate_receipt = make_valid_candidate_receipt(); + let candidate_receipt = make_invalid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; - let (tx, rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { - msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, - candidate_receipt: candidate_receipt.clone(), + msg: DisputeCoordinatorMessage::IssueLocalStatement( session, - statements: Vec::new(), - pending_confirmation: Some(tx), - }, + candidate_hash, + candidate_receipt.clone(), + false, + ), }) .await; - rx.await.unwrap(); - let backend = DbBackend::new( test_state.db.clone(), test_state.config.column_config(), @@ -2210,9 +2656,14 @@ fn empty_import_still_writes_candidate_receipt() { ); let votes = backend.load_candidate_votes(session, &candidate_hash).unwrap().unwrap(); - assert_eq!(votes.invalid.len(), 0); + assert_eq!(votes.invalid.len(), 1); assert_eq!(votes.valid.len(), 0); - assert_eq!(votes.candidate_receipt, candidate_receipt); + + let disputes = backend.load_recent_disputes().unwrap(); + assert_eq!(disputes, None); + + // Assert that subsystem is not participating. + assert!(virtual_overseer.recv().timeout(TEST_TIMEOUT).await.is_none()); virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; assert!(virtual_overseer.try_recv().await.is_none()); @@ -2235,11 +2686,13 @@ fn redundant_votes_ignored() { test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; - let valid_vote = - test_state.issue_backing_statement_with_index(1, candidate_hash, session).await; + let valid_vote = test_state + .issue_backing_statement_with_index(ValidatorIndex(1), candidate_hash, session) + .await; - let valid_vote_2 = - test_state.issue_backing_statement_with_index(1, candidate_hash, session).await; + let valid_vote_2 = test_state + .issue_backing_statement_with_index(ValidatorIndex(1), candidate_hash, session) + .await; assert!(valid_vote.validator_signature() != valid_vote_2.validator_signature()); @@ -2247,7 +2700,6 @@ fn redundant_votes_ignored() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![(valid_vote.clone(), ValidatorIndex(1))], @@ -2262,7 +2714,6 @@ fn redundant_votes_ignored() { virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt: candidate_receipt.clone(), session, statements: vec![(valid_vote_2, ValidatorIndex(1))], diff --git a/node/core/parachains-inherent/src/lib.rs b/node/core/parachains-inherent/src/lib.rs index f458504a0ef5..af14216749ff 100644 --- a/node/core/parachains-inherent/src/lib.rs +++ b/node/core/parachains-inherent/src/lib.rs @@ -97,7 +97,7 @@ impl ParachainsInherentDataProvider { Err(err) => { gum::debug!( target: LOG_TARGET, - ?err, + %err, "Could not get provisioner inherent data; injecting default data", ); ParachainsInherentData { diff --git a/node/core/provisioner/src/error.rs b/node/core/provisioner/src/error.rs index 4589ab02cf31..05e437854eac 100644 --- a/node/core/provisioner/src/error.rs +++ b/node/core/provisioner/src/error.rs @@ -58,6 +58,9 @@ pub enum Error { #[error("failed to send message to CandidateBacking to get backed candidates")] GetBackedCandidatesSend(#[source] mpsc::SendError), + #[error("Send inherent data timeout.")] + SendInherentDataTimeout, + #[error("failed to send return message with Inherents")] InherentDataReturnChannel, diff --git a/node/core/provisioner/src/lib.rs b/node/core/provisioner/src/lib.rs index 66602ac60583..58725a7706e3 100644 --- a/node/core/provisioner/src/lib.rs +++ b/node/core/provisioner/src/lib.rs @@ -35,7 +35,9 @@ use polkadot_node_subsystem::{ overseer, ActivatedLeaf, ActiveLeavesUpdate, FromOrchestra, LeafStatus, OverseerSignal, PerLeafSpan, SpawnedSubsystem, SubsystemError, }; -use polkadot_node_subsystem_util::{request_availability_cores, request_persisted_validation_data}; +use polkadot_node_subsystem_util::{ + request_availability_cores, request_persisted_validation_data, TimeoutExt, +}; use polkadot_primitives::v2::{ BackedCandidate, BlockNumber, CandidateHash, CandidateReceipt, CoreState, DisputeState, DisputeStatement, DisputeStatementSet, Hash, MultiDisputeStatementSet, OccupiedCoreAssumption, @@ -55,6 +57,8 @@ mod tests; /// How long to wait before proposing. const PRE_PROPOSE_TIMEOUT: std::time::Duration = core::time::Duration::from_millis(2000); +/// Some timeout to ensure task won't hang around in the background forever on issues. +const SEND_INHERENT_DATA_TIMEOUT: std::time::Duration = core::time::Duration::from_millis(500); const LOG_TARGET: &str = "parachain::provisioner"; @@ -153,6 +157,12 @@ async fn run_iteration( if let Some(state) = per_relay_parent.get_mut(&hash) { state.is_inherent_ready = true; + gum::trace!( + target: LOG_TARGET, + relay_parent = ?hash, + "Inherent Data became ready" + ); + let return_senders = std::mem::take(&mut state.awaiting_inherent); if !return_senders.is_empty() { send_inherent_data_bg(ctx, &state, return_senders, metrics.clone()).await?; @@ -188,11 +198,19 @@ async fn handle_communication( ) -> Result<(), Error> { match message { ProvisionerMessage::RequestInherentData(relay_parent, return_sender) => { + gum::trace!(target: LOG_TARGET, ?relay_parent, "Inherent data got requested."); + if let Some(state) = per_relay_parent.get_mut(&relay_parent) { if state.is_inherent_ready { + gum::trace!(target: LOG_TARGET, ?relay_parent, "Calling send_inherent_data."); send_inherent_data_bg(ctx, &state, vec![return_sender], metrics.clone()) .await?; } else { + gum::trace!( + target: LOG_TARGET, + ?relay_parent, + "Queuing inherent data request (inherent data not yet ready)." + ); state.awaiting_inherent.push(return_sender); } } @@ -202,6 +220,8 @@ async fn handle_communication( let span = state.span.child("provisionable-data"); let _timer = metrics.time_provisionable_data(); + gum::trace!(target: LOG_TARGET, ?relay_parent, "Received provisionable data."); + note_provisionable_data(state, &span, data); } }, @@ -228,28 +248,42 @@ async fn send_inherent_data_bg( let _span = span; let _timer = metrics.time_request_inherent_data(); - if let Err(err) = send_inherent_data( + gum::trace!( + target: LOG_TARGET, + relay_parent = ?leaf.hash, + "Sending inherent data in background." + ); + + let send_result = send_inherent_data( &leaf, &signed_bitfields, &backed_candidates, return_senders, &mut sender, &metrics, - ) - .await - { - gum::warn!(target: LOG_TARGET, err = ?err, "failed to assemble or send inherent data"); - metrics.on_inherent_data_request(Err(())); - } else { - metrics.on_inherent_data_request(Ok(())); - gum::debug!( - target: LOG_TARGET, - signed_bitfield_count = signed_bitfields.len(), - backed_candidates_count = backed_candidates.len(), - leaf_hash = ?leaf.hash, - "inherent data sent successfully" - ); - metrics.observe_inherent_data_bitfields_count(signed_bitfields.len()); + ) // Make sure call is not taking forever: + .timeout(SEND_INHERENT_DATA_TIMEOUT) + .map(|v| match v { + Some(r) => r, + None => Err(Error::SendInherentDataTimeout), + }); + + match send_result.await { + Err(err) => { + gum::warn!(target: LOG_TARGET, err = ?err, "failed to assemble or send inherent data"); + metrics.on_inherent_data_request(Err(())); + }, + Ok(()) => { + metrics.on_inherent_data_request(Ok(())); + gum::debug!( + target: LOG_TARGET, + signed_bitfield_count = signed_bitfields.len(), + backed_candidates_count = backed_candidates.len(), + leaf_hash = ?leaf.hash, + "inherent data sent successfully" + ); + metrics.observe_inherent_data_bitfields_count(signed_bitfields.len()); + }, } }; @@ -312,12 +346,27 @@ async fn send_inherent_data( from_job: &mut impl overseer::ProvisionerSenderTrait, metrics: &Metrics, ) -> Result<(), Error> { + gum::trace!( + target: LOG_TARGET, + relay_parent = ?leaf.hash, + "Requesting availability cores" + ); let availability_cores = request_availability_cores(leaf.hash, from_job) .await .await .map_err(|err| Error::CanceledAvailabilityCores(err))??; + gum::trace!( + target: LOG_TARGET, + relay_parent = ?leaf.hash, + "Selecting disputes" + ); let disputes = select_disputes(from_job, metrics, leaf).await?; + gum::trace!( + target: LOG_TARGET, + relay_parent = ?leaf.hash, + "Selected disputes" + ); // Only include bitfields on fresh leaves. On chain reversions, we want to make sure that // there will be at least one block, which cannot get disputed, so the chain can make progress. @@ -326,9 +375,21 @@ async fn send_inherent_data( select_availability_bitfields(&availability_cores, bitfields, &leaf.hash), LeafStatus::Stale => Vec::new(), }; + + gum::trace!( + target: LOG_TARGET, + relay_parent = ?leaf.hash, + "Selected bitfields" + ); let candidates = select_candidates(&availability_cores, &bitfields, candidates, leaf.hash, from_job).await?; + gum::trace!( + target: LOG_TARGET, + relay_parent = ?leaf.hash, + "Selected candidates" + ); + gum::debug!( target: LOG_TARGET, availability_cores_len = availability_cores.len(), @@ -342,6 +403,12 @@ async fn send_inherent_data( let inherent_data = ProvisionerInherentData { bitfields, backed_candidates: candidates, disputes }; + gum::trace!( + target: LOG_TARGET, + relay_parent = ?leaf.hash, + "Sending back inherent data to requesters." + ); + for return_sender in return_senders { return_sender .send(inherent_data.clone()) @@ -765,6 +832,12 @@ async fn select_disputes( active }; + gum::trace!( + target: LOG_TARGET, + relay_parent = ?_leaf.hash, + "Request recent disputes" + ); + // We use `RecentDisputes` instead of `ActiveDisputes` because redundancy is fine. // It's heavier than `ActiveDisputes` but ensures that everything from the dispute // window gets on-chain, unlike `ActiveDisputes`. @@ -773,6 +846,18 @@ async fn select_disputes( // If the active ones are already exceeding the bounds, randomly select a subset. let recent = request_disputes(sender, RequestType::Recent).await; + gum::trace!( + target: LOG_TARGET, + relay_paent = ?_leaf.hash, + "Received recent disputes" + ); + + gum::trace!( + target: LOG_TARGET, + relay_paent = ?_leaf.hash, + "Request on chain disputes" + ); + // On chain disputes are fetched from the runtime. We want to prioritise the inclusion of unknown // disputes in the inherent data. The call relies on staging Runtime API. If the staging API is not // enabled in the binary an empty set is generated which doesn't affect the rest of the logic. @@ -788,6 +873,18 @@ async fn select_disputes( }, }; + gum::trace!( + target: LOG_TARGET, + relay_paent = ?_leaf.hash, + "Received on chain disputes" + ); + + gum::trace!( + target: LOG_TARGET, + relay_paent = ?_leaf.hash, + "Filtering disputes" + ); + let disputes = if recent.len() > MAX_DISPUTES_FORWARDED_TO_RUNTIME { gum::warn!( target: LOG_TARGET, @@ -805,20 +902,34 @@ async fn select_disputes( recent }; + gum::trace!( + target: LOG_TARGET, + relay_paent = ?_leaf.hash, + "Calling `request_votes`" + ); + // Load all votes for all disputes from the coordinator. let dispute_candidate_votes = request_votes(sender, disputes).await; + gum::trace!( + target: LOG_TARGET, + relay_paent = ?_leaf.hash, + "Finished `request_votes`" + ); + // Transform all `CandidateVotes` into `MultiDisputeStatementSet`. Ok(dispute_candidate_votes .into_iter() .map(|(session_index, candidate_hash, votes)| { - let valid_statements = - votes.valid.into_iter().map(|(s, i, sig)| (DisputeStatement::Valid(s), i, sig)); + let valid_statements = votes + .valid + .into_iter() + .map(|(i, (s, sig))| (DisputeStatement::Valid(s), i, sig)); let invalid_statements = votes .invalid .into_iter() - .map(|(s, i, sig)| (DisputeStatement::Invalid(s), i, sig)); + .map(|(i, (s, sig))| (DisputeStatement::Invalid(s), i, sig)); metrics.inc_valid_statements_by(valid_statements.len()); metrics.inc_invalid_statements_by(invalid_statements.len()); diff --git a/node/core/provisioner/src/tests.rs b/node/core/provisioner/src/tests.rs index a58e22d7efc2..d0ca425210ed 100644 --- a/node/core/provisioner/src/tests.rs +++ b/node/core/provisioner/src/tests.rs @@ -571,8 +571,8 @@ mod select_disputes { let mut res = Vec::new(); let v = CandidateVotes { candidate_receipt: test_helpers::dummy_candidate_receipt(leaf.hash.clone()), - valid: vec![], - invalid: vec![], + valid: BTreeMap::new(), + invalid: BTreeMap::new(), }; for r in disputes.iter() { res.push((r.0, r.1, v.clone())); diff --git a/node/network/approval-distribution/src/lib.rs b/node/network/approval-distribution/src/lib.rs index b839a120bef9..f0cb4fc24ff8 100644 --- a/node/network/approval-distribution/src/lib.rs +++ b/node/network/approval-distribution/src/lib.rs @@ -1210,6 +1210,49 @@ impl State { } } + /// Retrieve approval signatures from state for the given relay block/indices: + fn get_approval_signatures( + &mut self, + indices: HashSet<(Hash, CandidateIndex)>, + ) -> HashMap { + let mut all_sigs = HashMap::new(); + for (hash, index) in indices { + let block_entry = match self.blocks.get(&hash) { + None => { + gum::debug!( + target: LOG_TARGET, + ?hash, + "`get_approval_signatures`: could not find block entry for given hash!" + ); + continue + }, + Some(e) => e, + }; + + let candidate_entry = match block_entry.candidates.get(index as usize) { + None => { + gum::debug!( + target: LOG_TARGET, + ?hash, + ?index, + "`get_approval_signatures`: could not find candidate entry for given hash and index!" + ); + continue + }, + Some(e) => e, + }; + let sigs = + candidate_entry.messages.iter().filter_map(|(validator_index, message_state)| { + match &message_state.approval_state { + ApprovalState::Approved(_, sig) => Some((*validator_index, sig.clone())), + ApprovalState::Assigned(_) => None, + } + }); + all_sigs.extend(sigs); + } + all_sigs + } + async fn unify_with_peer( sender: &mut impl overseer::ApprovalDistributionSenderTrait, metrics: &Metrics, @@ -1681,6 +1724,15 @@ impl ApprovalDistribution { .import_and_circulate_approval(ctx, metrics, MessageSource::Local, vote) .await; }, + ApprovalDistributionMessage::GetApprovalSignatures(indices, tx) => { + let sigs = state.get_approval_signatures(indices); + if let Err(_) = tx.send(sigs) { + gum::debug!( + target: LOG_TARGET, + "Sending back approval signatures failed, oneshot got closed" + ); + } + }, } } } diff --git a/node/network/dispute-distribution/src/receiver/mod.rs b/node/network/dispute-distribution/src/receiver/mod.rs index e061e67f4301..9193947e78d1 100644 --- a/node/network/dispute-distribution/src/receiver/mod.rs +++ b/node/network/dispute-distribution/src/receiver/mod.rs @@ -264,10 +264,8 @@ where }; let (pending_confirmation, confirmation_rx) = oneshot::channel(); - let candidate_hash = candidate_receipt.hash(); self.sender .send_message(DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt, session: valid_vote.0.session_index(), statements: vec![valid_vote, invalid_vote], diff --git a/node/network/dispute-distribution/src/sender/mod.rs b/node/network/dispute-distribution/src/sender/mod.rs index 150e79eda108..5312528b413e 100644 --- a/node/network/dispute-distribution/src/sender/mod.rs +++ b/node/network/dispute-distribution/src/sender/mod.rs @@ -231,24 +231,25 @@ impl DisputeSender { Some(votes) => votes, }; - let our_valid_vote = votes.valid.iter().find(|(_, i, _)| *i == our_index); + let our_valid_vote = votes.valid.get(&our_index); - let our_invalid_vote = votes.invalid.iter().find(|(_, i, _)| *i == our_index); + let our_invalid_vote = votes.invalid.get(&our_index); let (valid_vote, invalid_vote) = if let Some(our_valid_vote) = our_valid_vote { // Get some invalid vote as well: let invalid_vote = - votes.invalid.get(0).ok_or(JfyiError::MissingVotesFromCoordinator)?; - (our_valid_vote, invalid_vote) + votes.invalid.iter().next().ok_or(JfyiError::MissingVotesFromCoordinator)?; + ((&our_index, our_valid_vote), invalid_vote) } else if let Some(our_invalid_vote) = our_invalid_vote { // Get some valid vote as well: - let valid_vote = votes.valid.get(0).ok_or(JfyiError::MissingVotesFromCoordinator)?; - (valid_vote, our_invalid_vote) + let valid_vote = + votes.valid.iter().next().ok_or(JfyiError::MissingVotesFromCoordinator)?; + (valid_vote, (&our_index, our_invalid_vote)) } else { // There is no vote from us yet - nothing to do. return Ok(()) }; - let (kind, valid_index, signature) = valid_vote; + let (valid_index, (kind, signature)) = valid_vote; let valid_public = info .session_info .validators @@ -263,7 +264,7 @@ impl DisputeSender { ) .map_err(|()| JfyiError::InvalidStatementFromCoordinator)?; - let (kind, invalid_index, signature) = invalid_vote; + let (invalid_index, (kind, signature)) = invalid_vote; let invalid_public = info .session_info .validators diff --git a/node/network/dispute-distribution/src/tests/mod.rs b/node/network/dispute-distribution/src/tests/mod.rs index 8f78b664de82..8ef8286ea197 100644 --- a/node/network/dispute-distribution/src/tests/mod.rs +++ b/node/network/dispute-distribution/src/tests/mod.rs @@ -274,16 +274,19 @@ fn disputes_are_recovered_at_startup() { let unchecked: UncheckedDisputeMessage = message.into(); tx.send(vec![(session_index, candidate_hash, CandidateVotes { candidate_receipt: candidate, - valid: vec![( - unchecked.valid_vote.kind, + valid: [( unchecked.valid_vote.validator_index, + (unchecked.valid_vote.kind, unchecked.valid_vote.signature - )], - invalid: vec![( - unchecked.invalid_vote.kind, + ), + )].into_iter().collect(), + invalid: [( unchecked.invalid_vote.validator_index, + ( + unchecked.invalid_vote.kind, unchecked.invalid_vote.signature - )], + ), + )].into_iter().collect(), })]) .expect("Receiver should stay alive."); } @@ -522,16 +525,15 @@ async fn nested_network_dispute_request<'a, F, O>( handle.recv().await, AllMessages::DisputeCoordinator( DisputeCoordinatorMessage::ImportStatements { - candidate_hash, candidate_receipt, session, statements, pending_confirmation: Some(pending_confirmation), } ) => { + let candidate_hash = candidate_receipt.hash(); assert_eq!(session, MOCK_SESSION_INDEX); assert_eq!(candidate_hash, message.0.candidate_receipt.hash()); - assert_eq!(candidate_hash, candidate_receipt.hash()); assert_eq!(statements.len(), 2); pending_confirmation } diff --git a/node/overseer/src/lib.rs b/node/overseer/src/lib.rs index 43386352b77a..21160bddaecb 100644 --- a/node/overseer/src/lib.rs +++ b/node/overseer/src/lib.rs @@ -467,7 +467,6 @@ pub struct Overseer { StatementDistributionMessage, ProvisionerMessage, RuntimeApiMessage, - DisputeCoordinatorMessage, ])] candidate_backing: CandidateBacking, @@ -562,13 +561,13 @@ pub struct Overseer { approval_distribution: ApprovalDistribution, #[subsystem(blocking, ApprovalVotingMessage, sends: [ - RuntimeApiMessage, + ApprovalDistributionMessage, + AvailabilityRecoveryMessage, + CandidateValidationMessage, ChainApiMessage, ChainSelectionMessage, DisputeCoordinatorMessage, - AvailabilityRecoveryMessage, - ApprovalDistributionMessage, - CandidateValidationMessage, + RuntimeApiMessage, ])] approval_voting: ApprovalVoting, @@ -585,6 +584,7 @@ pub struct Overseer { ChainApiMessage, DisputeDistributionMessage, CandidateValidationMessage, + ApprovalVotingMessage, AvailabilityStoreMessage, AvailabilityRecoveryMessage, ])] diff --git a/node/primitives/src/disputes/mod.rs b/node/primitives/src/disputes/mod.rs index 4b2d636dc10e..ec7bb6abc3b7 100644 --- a/node/primitives/src/disputes/mod.rs +++ b/node/primitives/src/disputes/mod.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . +use std::collections::{BTreeMap, BTreeSet}; + use parity_scale_codec::{Decode, Encode}; use sp_application_crypto::AppKey; @@ -45,21 +47,23 @@ pub struct CandidateVotes { /// The receipt of the candidate itself. pub candidate_receipt: CandidateReceipt, /// Votes of validity, sorted by validator index. - pub valid: Vec<(ValidDisputeStatementKind, ValidatorIndex, ValidatorSignature)>, + pub valid: BTreeMap, /// Votes of invalidity, sorted by validator index. - pub invalid: Vec<(InvalidDisputeStatementKind, ValidatorIndex, ValidatorSignature)>, + pub invalid: BTreeMap, } -impl CandidateVotes { - /// Get the set of all validators who have votes in the set, ascending. - pub fn voted_indices(&self) -> Vec { - let mut v: Vec<_> = - self.valid.iter().map(|x| x.1).chain(self.invalid.iter().map(|x| x.1)).collect(); +/// Type alias for retrieving valid votes from `CandidateVotes` +pub type ValidVoteData = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)); - v.sort(); - v.dedup(); +/// Type alias for retrieving invalid votes from `CandidateVotes` +pub type InvalidVoteData = (ValidatorIndex, (InvalidDisputeStatementKind, ValidatorSignature)); - v +impl CandidateVotes { + /// Get the set of all validators who have votes in the set, ascending. + pub fn voted_indices(&self) -> BTreeSet { + let mut keys: BTreeSet<_> = self.valid.keys().cloned().collect(); + keys.extend(self.invalid.keys().cloned()); + keys } } @@ -162,6 +166,11 @@ impl SignedDisputeStatement { &self.validator_signature } + /// Consume self to return the signature. + pub fn into_validator_signature(self) -> ValidatorSignature { + self.validator_signature + } + /// Access the underlying session index. pub fn session_index(&self) -> SessionIndex { self.session_index diff --git a/node/subsystem-types/src/messages.rs b/node/subsystem-types/src/messages.rs index b79785ce406f..10a5201cc524 100644 --- a/node/subsystem-types/src/messages.rs +++ b/node/subsystem-types/src/messages.rs @@ -243,8 +243,6 @@ pub enum DisputeCoordinatorMessage { /// /// This does not do any checking of the message signature. ImportStatements { - /// The hash of the candidate. - candidate_hash: CandidateHash, /// The candidate receipt itself. candidate_receipt: CandidateReceipt, /// The session the candidate appears in. @@ -275,7 +273,7 @@ pub enum DisputeCoordinatorMessage { /// and which may have already concluded. RecentDisputes(oneshot::Sender>), /// Fetch a list of all active disputes that the coordinator is aware of. - /// These disputes are either unconcluded or recently concluded. + /// These disputes are either not yet concluded or recently concluded. ActiveDisputes(oneshot::Sender>), /// Get candidate votes for a candidate. QueryCandidateVotes( @@ -908,6 +906,15 @@ pub enum ApprovalVotingMessage { /// It can also return the same block hash, if that is acceptable to vote upon. /// Return `None` if the input hash is unrecognized. ApprovedAncestor(Hash, BlockNumber, oneshot::Sender>), + + /// Retrieve all available approval signatures for a candidate from approval-voting. + /// + /// This message involves a linear search for candidates on each relay chain fork and also + /// requires calling into `approval-distribution`: Calls should be infrequent and bounded. + GetApprovalSignaturesForCandidate( + CandidateHash, + oneshot::Sender>, + ), } /// Message to the Approval Distribution subsystem. @@ -926,6 +933,12 @@ pub enum ApprovalDistributionMessage { /// An update from the network bridge. #[from] NetworkBridgeUpdate(NetworkBridgeEvent), + + /// Get all approval signatures for all chains a candidate appeared in. + GetApprovalSignatures( + HashSet<(Hash, CandidateIndex)>, + oneshot::Sender>, + ), } /// Message to the Gossip Support subsystem. diff --git a/roadmap/implementers-guide/src/node/approval/approval-voting.md b/roadmap/implementers-guide/src/node/approval/approval-voting.md index adb95e1f6389..2761f21b1c2c 100644 --- a/roadmap/implementers-guide/src/node/approval/approval-voting.md +++ b/roadmap/implementers-guide/src/node/approval/approval-voting.md @@ -6,7 +6,7 @@ Approval votes are split into two parts: Assignments and Approvals. Validators f The core of this subsystem is a Tick-based timer loop, where Ticks are 500ms. We also reason about time in terms of `DelayTranche`s, which measure the number of ticks elapsed since a block was produced. We track metadata for all un-finalized but included candidates. We compute our local assignments to check each candidate, as well as which `DelayTranche` those assignments may be minimally triggered at. As the same candidate may appear in more than one block, we must produce our potential assignments for each (Block, Candidate) pair. The timing loop is based on waiting for assignments to become no-shows or waiting to broadcast and begin our own assignment to check. -Another main component of this subsystem is the logic for determining when a (Block, Candidate) pair has been approved and when to broadcast and trigger our own assignment. Once a (Block, Candidate) pair has been approved, we mark a corresponding bit in the `BlockEntry` that indicates the candidate has been approved under the block. When we trigger our own assignment, we broadcast it via Approval Distribution, begin fetching the data from Availability Recovery, and then pass it through to the Candidate Validation. Once these steps are successful, we issue our approval vote. If any of these steps fail, we don't issue any vote and will "no-show" from the perspective of other validators. In the future we will initiate disputes as well. +Another main component of this subsystem is the logic for determining when a (Block, Candidate) pair has been approved and when to broadcast and trigger our own assignment. Once a (Block, Candidate) pair has been approved, we mark a corresponding bit in the `BlockEntry` that indicates the candidate has been approved under the block. When we trigger our own assignment, we broadcast it via Approval Distribution, begin fetching the data from Availability Recovery, and then pass it through to the Candidate Validation. Once these steps are successful, we issue our approval vote. If any of these steps fail, we don't issue any vote and will "no-show" from the perspective of other validators in addition a dispute is raised via the dispute-coordinator, by sending `IssueLocalStatement`. Where this all fits into Polkadot is via block finality. Our goal is to not finalize any block containing a candidate that is not approved. We provide a hook for a custom GRANDPA voting rule - GRANDPA makes requests of the form (target, minimum) consisting of a target block (i.e. longest chain) that it would like to finalize, and a minimum block which, due to the rules of GRANDPA, must be voted on. The minimum is typically the last finalized block, but may be beyond it, in the case of having a last-round-estimate beyond the last finalized. Thus, our goal is to inform GRANDPA of some block between target and minimum which we believe can be finalized safely. We do this by iterating backwards from the target to the minimum and finding the longest continuous chain from minimum where all candidates included by those blocks have been approved. @@ -142,7 +142,7 @@ struct State { // A scheduler which keeps at most one wakeup per hash, candidate hash pair and // maps such pairs to `Tick`s. - wakeups: Wakeups, + wakeups: Wakeups, // These are connected to each other. background_tx: mpsc::Sender, @@ -220,7 +220,6 @@ On receiving a `CheckAndImportApproval(indirect_approval_vote, response_channel) * Fetch the `CandidateEntry` from the indirect approval vote's `candidate_index`. If the block did not trigger inclusion of enough candidates, return `ApprovalCheckResult::Bad`. * Construct a `SignedApprovalVote` using the candidate hash and check against the validator's approval key, based on the session info of the block. If invalid or no such validator, return `ApprovalCheckResult::Bad`. * Send `ApprovalCheckResult::Accepted` - * Dispatch a [`DisputeCoordinatorMessage::ImportStatement`](../../types/overseer-protocol.md#dispute-coordinator-message) with the approval statement. * [Import the checked approval vote](#import-checked-approval) #### `ApprovalVotingMessage::ApprovedAncestor` @@ -256,7 +255,7 @@ On receiving an `ApprovedAncestor(Hash, BlockNumber, response_channel)`: * Determine if we should trigger our assignment. * If we've already triggered or `OurAssignment` is `None`, we do not trigger. * If we have `RequiredTranches::All`, then we trigger if the candidate is [not approved](#check-approval). We have no next wakeup as we assume that other validators are doing the same and we will be implicitly woken up by handling new votes. - * If we have `RequiredTranches::Pending { considered, next_no_show, uncovered, maximum_broadcast, clock_drift }`, then we trigger if our assignment's tranche is less than or equal to `maximum_broadcast` and the current tick, with `clock_drift` applied, is at least the tick of our tranche. + * If we have `RequiredTranches::Pending { considered, next_no_show, uncovered, maximum_broadcast, clock_drift }`, then we trigger if our assignment's tranche is less than or equal to `maximum_broadcast` and the current tick, with `clock_drift` applied, is at least the tick of our tranche. * If we have `RequiredTranches::Exact { .. }` then we do not trigger, because this value indicates that no new assignments are needed at the moment. * If we should trigger our assignment * Import the assignment to the `ApprovalEntry` @@ -348,7 +347,7 @@ enum RequiredTranches { Our vote-counting procedure depends heavily on how we interpret time based on the presence of no-shows - assignments which have no corresponding approval after some time. -We have this is because of how we handle no-shows: we keep track of the depth of no-shows we are covering. +We have this is because of how we handle no-shows: we keep track of the depth of no-shows we are covering. As an example: there may be initial no-shows in tranche 0. It'll take `no_show_duration` ticks before those are considered no-shows. Then, we don't want to immediately take `no_show_duration` more tranches. Instead, we want to take one tranche for each uncovered no-show. However, as we take those tranches, there may be further no-shows. Since these depth-1 no-shows should have only been triggered after the depth-0 no-shows were already known to be no-shows, we need to discount the local clock by `no_show_duration` to see whether these should be considered no-shows or not. There may be malicious parties who broadcast their assignment earlier than they were meant to, who shouldn't be counted as instant no-shows. We continue onwards to cover all depth-1 no-shows which may lead to depth-2 no-shows and so on. @@ -373,8 +372,8 @@ Likewise, when considering how many tranches to take, the no-show depth should b * If we have `3 * n_approvals > n_validators`, return true. This is because any set with f+1 validators must have at least one honest validator, who has approved the candidate. * If `n_tranches` is `RequiredTranches::Pending`, return false * If `n_tranches` is `RequiredTranches::All`, return false. - * If `n_tranches` is `RequiredTranches::Exact { tranche, tolerated_missing, latest_assignment_tick, .. }`, then we return whether all assigned validators up to `tranche` less `tolerated_missing` have approved and `latest_assignment_tick + APPROVAL_DELAY >= tick_now`. - * e.g. if we had 5 tranches and 1 tolerated missing, we would accept only if all but 1 of assigned validators in tranches 0..=5 have approved. In that example, we also accept all validators in tranches 0..=5 having approved, but that would indicate that the `RequiredTranches` value was incorrectly constructed, so it is not realistic. `tolerated_missing` actually represents covered no-shows. If there are more missing approvals than there are tolerated missing, that indicates that there are some assignments which are not yet no-shows, but may become no-shows, and we should wait for the validators to either approve or become no-shows. + * If `n_tranches` is `RequiredTranches::Exact { tranche, tolerated_missing, latest_assignment_tick, .. }`, then we return whether all assigned validators up to `tranche` less `tolerated_missing` have approved and `latest_assignment_tick + APPROVAL_DELAY >= tick_now`. + * e.g. if we had 5 tranches and 1 tolerated missing, we would accept only if all but 1 of assigned validators in tranches 0..=5 have approved. In that example, we also accept all validators in tranches 0..=5 having approved, but that would indicate that the `RequiredTranches` value was incorrectly constructed, so it is not realistic. `tolerated_missing` actually represents covered no-shows. If there are more missing approvals than there are tolerated missing, that indicates that there are some assignments which are not yet no-shows, but may become no-shows, and we should wait for the validators to either approve or become no-shows. * e.g. If the above passes and the `latest_assignment_tick` was 5 and the current tick was 6, then we'd return false. ### Time diff --git a/roadmap/implementers-guide/src/node/backing/candidate-backing.md b/roadmap/implementers-guide/src/node/backing/candidate-backing.md index 6637ef431b62..6c3eace313c3 100644 --- a/roadmap/implementers-guide/src/node/backing/candidate-backing.md +++ b/roadmap/implementers-guide/src/node/backing/candidate-backing.md @@ -94,7 +94,10 @@ match msg { Add `Seconded` statements and `Valid` statements to a quorum. If the quorum reaches a pre-defined threshold, send a [`ProvisionerMessage`][PM]`::ProvisionableData(ProvisionableData::BackedCandidate(CandidateReceipt))` message. `Invalid` statements that conflict with already witnessed `Seconded` and `Valid` statements for the given candidate, statements that are double-votes, self-contradictions and so on, should result in issuing a [`ProvisionerMessage`][PM]`::MisbehaviorReport` message for each newly detected case of this kind. -On each incoming statement, [`DisputeCoordinatorMessage::ImportStatement`][DCM] should be issued. +Backing does not need to concern itself with providing statements to the dispute +coordinator as the dispute coordinator scrapes them from chain. This way the +import is batched and contains only statements that actually made it on some +chain. ### Validating Candidates. diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md index 52c6f565337e..b35fc0df2ca1 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md @@ -1,13 +1,425 @@ # Dispute Coordinator -The coordinator is the central subsystem of the node-side components which participate in disputes. It -wraps a database, which used to track all statements observed by _all_ validators over some window -of sessions. Votes older than this session window are pruned. - -This subsystem will be the point which produce dispute votes, either positive or negative, based on -locally-observed validation results as well as a sink for votes received by other subsystems. When -a statement import makes it clear that a dispute has been raised (there are opposing votes for a -candidate), the dispute coordinator will make sure the local node will participate in the dispute. +The coordinator is the central subsystem of the node-side components which +participate in disputes. It wraps a database, which used to track statements +observed by _all_ validators over some window of sessions. Votes older than this +session window are pruned. + +In particular the dispute-coordinator is responsible for: + +- Ensuring that the node is able to raise a dispute in case an invalid candidate + is found during approval checking. +- Ensuring malicious approval votes will be recorded, so nodes can get slashed + properly. +- Coordinating actual participation in a dispute, ensuring that the node + participates in any justified dispute in a way that ensures resolution of + disputes on the network even in the case of many disputes raised (flood/DoS + scenario). +- Provide an API for chain selection, so we can prevent finalization of any + chain which has included candidates for which a dispute is either ongoing or + concluded invalid and avoid building on chains with an included invalid + candidate. +- Provide an API for retrieving (resolved) disputes, including all votes, both + implicit (approval, backing) and explicit dispute votes. So validators can get + rewarded/slashed accordingly. + +## Ensuring That Disputes Can Be Raised + +If a candidate turns out invalid in approval checking, the `approval-voting` +subsystem will try to issue a dispute. For this, it will send a message +`DisputeCoordinatorMessage::IssueLocalStatement` to the dispute coordinator, +indicating to cast an explicit invalid vote. It is the responsibility of the +dispute coordinator on reception of such a message to create and sign that +explicit invalid vote and trigger a dispute if none for that candidate is +already ongoing. + +In order to raise a dispute, a node has to be able to provide two opposing votes. +Given that the reason of the backing phase is to have validators with skin in +the game, the opposing valid vote will very likely be a backing vote. It could +also be some already cast approval vote, but the significant point here is: As +long as we have backing votes available, any node will be able to raise a +dispute. + +Therefore a vital responsibility of the dispute coordinator is to make sure +backing votes are available for all candidates that might still get disputed. To +accomplish this task in an efficient way the dispute-coordinator relies on chain +scraping. Whenever a candidate gets backed on chain, we record in chain storage +the backing votes imported in that block. This way, given the chain state for a +given relay chain block, we can retrieve via a provided runtime API the backing +votes imported by that block. The dispute coordinator makes sure to query those +votes for any non finalized blocks: In case of missed blocks, it will do chain +traversal as necessary. + +Relying on chain scraping is very efficient for two reasons: + +1. Votes are already batched. We import all available backing votes for a + candidate all at once. If instead we imported votes from candidate-backing as + they came along, we would import each vote individually which is + inefficient in the current dispute coordinator implementation (quadratic + complexity). +2. We also import less votes in total, as we avoid importing statements for + candidates that never got successfully backed on any chain. + +It also is secure, because disputes are only ever raised in the approval voting +phase. A node only starts the approval process after it has seen a candidate +included on some chain, for that to happen it must have been backed previously. +Therefore backing votes are available at that point in time. Signals are +processed first, so even if a block is skipped and we only start importing +backing votes on the including block, we will have seen the backing votes by the +time we process messages from approval voting. + +In summary, for making it possible for a dispute to be raised, recording of +backing votes from chain is sufficient and efficient. In particular there is no +need to preemptively import approval votes, which has shown to be a very +inefficient process. (Quadratic complexity adds up, with 35 votes in total per candidate) + +Approval votes are very relevant nonetheless as we are going to see in the next +section. + +## Ensuring Malicious Approval Votes Will Be Recorded + +### Ensuring Recording + +While there is no need to record approval votes in the dispute coordinator +preemptively, we do need to make sure they are recorded when a dispute +actually happens. This is because only votes recorded by the dispute +coordinator will be considered for slashing. While the backing group always gets +slashed, a serious attack attempt will likely also consist of malicious approval +checkers which will cast approval votes, although the candidate is invalid. If +we did not import those votes, those nodes would likely cast an `invalid` explicit +vote as part of the dispute in addition to their approval vote and thus avoid a +slash. With the 2/3rd honest assumption it seems unrealistic that malicious +actors will keep sending approval votes once they became aware of a raised +dispute. Hence the most crucial approval votes to import are the early ones +(tranche 0), to take into account network latencies and such we still want to +import approval votes at a later point in time as well (in particular we need to +make sure the dispute can conclude, but more on that later). + +As mentioned already previously, importing votes is most efficient when batched. +At the same time approval voting and disputes are running concurrently so +approval votes are expected to trickle in still, when a dispute is already +ongoing. + +Hence, we have the following requirements for importing approval votes: + +1. Only import them when there is a dispute, because otherwise we are + wasting lots of resources _always_ for the exceptional case of a dispute. +2. Import votes batched when possible, to avoid quadratic import complexity. +3. Take into account that approval voting is still ongoing, while a dispute is + already running. + +With a design where approval voting sends votes to the dispute-coordinator by +itself, we would need to make approval voting aware of ongoing disputes and +once it is aware it could start sending all already existing votes batched and +trickling in votes as they come. The problem with this is, that it adds some +unnecessary complexity to approval-voting and also we might still import most of +the votes unbatched, but one-by-one, depending on what point in time the dispute +was raised. + +Instead of the dispute coordinator informing approval-voting of an ongoing +dispute for it to begin forwarding votes to the dispute coordinator, it makes +more sense for the dispute-coordinator to just ask approval-voting for votes of +candidates in dispute. This way, the dispute coordinator can also pick the best +time for maximizing the number of votes in the batch. + +Now the question remains, when should the dispute coordinator ask +approval-voting for votes? As argued above already, querying approval votes at +the beginning of the dispute, will likely already take care of most malicious +votes. Still we would like to have a record of all, if possible. So what are +other points in time we might query approval votes? + +In fact for slashing it is only relevant to have them once the dispute +concluded, so we can query approval voting the moment the dispute concludes! +There are two potential caveats with this though: + +1. Timing: We would like to rely as little as possible on implementation details + of approval voting. In particular, if the dispute is ongoing for a long time, + do we have any guarantees that approval votes are kept around long enough by + approval voting? Will approval votes still be present by the time the + dispute concludes in all cases? The answer is nuanced, but in general we + cannot rely on it. The problem is first, that finalization and + approval-voting is an off-chain process so there is no global consensus: As + soon as at least f+1 honest (f= n/3, where n is the number of + validators/nodes) nodes have seen the dispute conclude, finalization will + take place and approval votes will be cleared. This would still be fine, if + we had some guarantees that those honest nodes will be able to include those + votes in a block. This guarantee does not exist unfortunately, we will + discuss the problem and solutions in more detail [below][#Ensuring Chain Import]. + + The second problem is that approval-voting will abandon votes as soon as a + chain can no longer be finalized (some other/better fork already has been). + This second problem can somehow be mitigated by also importing votes as soon + as a dispute is detected, but not fully resolved. It is still inherently + racy. The problem can be solved in at least two ways: Either go back to full + eager import of approval votes into the dispute-coordinator in some more + efficient manner or by changing requirements on approval-voting, making it + hold on votes longer than necessary for approval-voting itself. Conceptually + both solutions are equivalent, as we make sure votes are available even + without an ongoing dispute. For now, in the interest of time we punt on this + issue: If nodes import votes as soon as a dispute is raised in addition to + when it concludes, we have a good chance of getting relevant votes and even + if not, the fundamental security properties will still hold: Backers are + getting slashed, therefore gambler's ruin is maintained. We would still like + to fix this at [some + point](https://github.com/paritytech/polkadot/issues/5864). +2. There could be a chicken and egg problem: If we wait for approval vote import + for the dispute to conclude, we would run into a problem if we needed those + approval votes to get enough votes to conclude the dispute. Luckily it turns + out that this is not quite true or at least can be made not true easily: As + already mentioned, approval voting and disputes are running concurrently, but + not only that, they race with each other! A node might simultaneously start + participating in a dispute via the dispute coordinator, due to learning about + a dispute via dispute-distribution, while also participating in approval + voting. By distributing our own approval vote we make sure the dispute can + conclude regardless how the race ended (we either participate explicitly + anyway or we sent our already present approval vote). By importing all + approval votes we make it possible to slash malicious approval voters, even + if they also cast an invalid explicit vote. + +Conclusion: As long as we make sure, if our own approval vote gets imported +(which would prevent dispute participation) to also distribute it via +dispute-distribution, disputes can conclude. To mitigate raciness with +approval-voting deleting votes we will import approval votes twice during a +dispute: Once when it is raised, to make as sure as possible to see approval +votes also for abandoned forks and second when the dispute concludes, to +maximize the amount of potentially malicious approval votes to be recorded. The +raciness obviously is not fully resolved by this, [a +ticket](https://github.com/paritytech/polkadot/issues/5864) exists. + +Ensuring vote import on chain is covered in the next section. + +As already touched: Honest nodes +will likely validate twice, once in approval voting and once via +dispute-participation. Avoiding that does not really seem worthwhile though, as +disputes are for one exceptional, so a little wasted effort won't affect +everyday performance - second, even with eager importing of approval votes, +those doubled work is still present as disputes and approvals are racing. Every +time participation is faster than approval, a node would do double work. + +### Ensuring Chain Import + +While in the previous section we discussed means for nodes to ensure relevant +votes are recorded so attackers get slashed properly, it is crucial to also +discuss the actual chain import. Only if we guarantee that recorded votes will +also get imported on chain (on all potential chains really) we will succeed in +executing slashes. Again approval votes prove to be our weak spot here, but also +backing votes might get missed. + +Dispute distribution will make sure all explicit dispute votes get distributed +among nodes which includes current block producers (current authority set) which +is an important property: If the dispute carries on across an era change, we +need to ensure that the new validator set will learn about any disputes and +their votes, so they can put that information on chain. Dispute-distribution +luckily has this property and sends votes to the current authority set always. +The issue is, for dispute-distribution, nodes send only their own explicit (or +in some cases their approval vote) in addition to some opposing vote. This +guarantees that at least some backing or approval vote will be present at the +block producer, but we don't have a 100% guarantee to have votes for all +backers, even less for approval checkers. + +Reason for backing votes: While backing votes will be present on at least some +chain, that does not mean that any such chain is still considered for block +production in the current set - they might only exist on an already abandoned +fork. This means a block producer that just joined the set, might not have seen +any of them. + +For approvals it is even more tricky: Approval voting together with finalization +is a completely off-chain process therefore those protocols don't care about +block production at all. Approval votes only have a guarantee of being +propagated between the nodes that are responsible for finalizing the concerned +blocks. This implies that on an era change the current authority set, will not +necessarily get informed about any approval votes for the previous era. Hence +even if all validators of the previous era successfully recorded all approval +votes in the dispute coordinator, they won't get a chance to put them on chain, +hence they won't be considered for slashing. + +It is important to note, that the essential properties of the system still hold: +Dispute-distribution will distribute at _least one_ "valid" vote to the current +authority set, hence at least one node will get slashed in case of outcome +"invalid". Also in reality the validator set is rarely exchanged 100%, therefore +in practice some validators in the current authority set will overlap with the +ones in the previous set and will be able to record votes on chain. + +Still, for maximum accountability we need to make sure a previous authority set +can communicate votes to the next one, regardless of any chain: This is yet to +be implemented see section "Resiliency" in dispute-distribution and +[this](https://github.com/paritytech/polkadot/issues/3398) ticket. + +## Coordinating Actual Dispute Participation + +Once the dispute coordinator learns about a dispute, it is its responsibility to +make sure the local node participates in that dispute. + +The dispute coordinator learns about a dispute by importing votes from either +chain scraping or from dispute-distribution. If it finds opposing votes (always +the case when coming from dispute-distribution), it records the presence of a +dispute. Then, in case it does not find any local vote for that dispute already, +it needs to trigger participation in the dispute (see previous section for +considerations when the found local vote is an approval vote). + +Participation means, recovering availability and re-evaluating the POV. The +result of that validation (either valid or invalid) will be the node's vote on +that dispute: Either explicit "invalid" or "valid". The dispute coordinator will +inform `dispute-distribution` about our vote and `dispute-distribution` will make +sure that our vote gets distributed to all other validators. + +Nothing ever is that easy though. We can not blindly import anything that comes +along and trigger participation no matter what. + +### Spam Considerations + +In Polkadot's security model, it is important that attempts to attack the system +result in a slash of the offenders. Therefore we need to make sure that this +slash is actually happening. Attackers could try to prevent the slashing from +taking place, by overwhelming validators with disputes in such a way that no +single dispute ever concludes, because nodes are busy processing newly incoming +ones. Other attacks are imaginable as well, like raising disputes for candidates +that don't exist, just filling up everyone's disk slowly or worse making nodes +try to participate, which will result in lots of network requests for recovering +availability. + +The last point brings up a significant consideration in general: Disputes are +about escalation: Every node will suddenly want to check, instead of only a few. +A single message will trigger the whole network to start significant amount of +work and will cause lots of network traffic and messages. Hence the +dispute system is very susceptible to being a brutal amplifier for DoS attacks, +resulting in DoS attacks to become very easy and cheap, if we are not careful. + +One counter measure we are taking is making raising of disputes a costly thing: +If you raise a dispute, because you claim a candidate is invalid, although it is +in fact valid - you will get slashed, hence you pay for consuming those +resources. The issue is: This only works if the dispute concerns a candidate +that actually exists! + +If a node raises a dispute for a candidate that never got included (became +available) on any chain, then the dispute can never conclude, hence nobody gets +slashed. It makes sense to point out that this is less bad than it might sound +at first, as trying to participate in a dispute for a non existing candidate is +"relatively" cheap. Each node will send out a few hundred tiny request messages +for availability chunks, which all will end up in a tiny response "NoSuchChunk" +and then no participation will actually happen as there is nothing to +participate. Malicious nodes could provide chunks, which would make things more +costly, but at the full expense of the attackers bandwidth - no amplification +here. I am bringing that up for completeness only: Triggering a thousand nodes +to send out a thousand tiny network messages by just sending out a single +garbage message, is still a significant amplification and is nothing to ignore - +this could absolutely be used to cause harm! + +#### Participation + +As explained, just blindly participating in any "dispute" that comes along is +not a good idea. First we would like to make sure the dispute is actually +genuine, to prevent cheap DoS attacks. Secondly, in case of genuine disputes, we +would like to conclude one after the other, in contrast to +processing all at the same time, slowing down progress on all of them, bringing +individual processing to a complete halt in the worst case (nodes get overwhelmed +at some stage in the pipeline). + +To ensure to only spend significant work on genuine disputes, we only trigger +participation at all on any _vote import_ if any of the following holds true: + +- We saw the disputed candidate included on at least one fork of the chain +- We have "our" availability chunk available for that candidate as this suggests + that either availability was at least run, although it might not have + succeeded or we have been a backing node of the candidate. In both cases the + candidate is at least not completely made up and there has been some effort + already flown into that candidate. +- The dispute is already confirmed: Meaning that 1/3+1 nodes already + participated, as this suggests in our threat model that there was at least one + honest node that already voted, so the dispute must be genuine. + +Note: A node might be out of sync with the chain and we might only learn about a +block including a candidate, after we learned about the dispute. This means, we +have to re-evaluate participation decisions on block import! + +With this nodes won't waste significant resources on completely made up +candidates. The next step is to process dispute participation in a (globally) +ordered fashion. Meaning a majority of validators should arrive at at least +roughly at the same ordering of participation, for disputes to get resolved one +after another. This order is only relevant if there are lots of disputes, so we +obviously only need to worry about order if participations start queuing up. + +We treat participation for candidates that we have seen included with priority +and put them on a priority queue which sorts participation based on the block +number of the relay parent of that candidate and for candidates with the same +relay parent height further by the `CandidateHash`. This ordering is globally +unique and also prioritizes older candidates. + +The latter property makes sense, because if an older candidate turns out invalid, +we can roll back the full chain at once. If we resolved earlier disputes first +and they turned out invalid as well, we might need to roll back a couple of +times instead of just once to the oldest offender. This is obviously a good +idea, in particular it makes it impossible for an attacker to prevent rolling +back a very old candidate, by keeping raising disputes for newer candidates. + +For candidates we have not seen included, but we have our availability piece +available we put participation on a best-effort queue, which at the moment is +processed on the basis how often we requested participation locally, which +equals the number of times we imported votes for that dispute. The idea is, if +we have not seen the candidate included, but the dispute is valid, other nodes +will have seen it included - so the more votes there are, the more likely it is +a valid dispute and we should implicitly arrive at a similar ordering as the +nodes that are able to sort based on the relay parent block height. + +#### Import + +In the last section we looked at how to treat queuing participations to handle +heavy dispute load well. This already ensures, that honest nodes won't amplify +cheap DoS attacks. There is one minor issue remaining: Even if we delay +participation until we have some confirmation of the authenticity of the +dispute, we should also not blindly import all votes arriving into the +database as this might be used to just slowly fill up disk space, until the node +is no longer functional. This leads to our last protection mechanism at the +dispute coordinator level (dispute-distribution also has its own), which is spam +slots. For each import, where we don't know whether it might be spam or not we +increment a counter for each signing participant of explicit `invalid` votes. + +The reason this works is because we only need to worry about actual dispute +votes. Import of backing votes are already rate limited and concern only real +candidates for approval votes a similar argument holds (if they come from +approval-voting), but we also don't import them until a dispute already +concluded. For actual dispute votes, we need two opposing votes, so there must be +an explicit `invalid` vote in the import. Only a third of the validators can be +malicious, so spam disk usage is limited to ```2*vote_size*n/3*NUM_SPAM_SLOTS```, with +n being the number of validators. +- +More reasoning behind spam considerations can be found on +this sr-lab ticket: https://github.com/paritytech/srlabs_findings/issues/179 + +## Disputes for Non Included Candidates + +We only ever care about disputes for candidates that have been included on at +least some chain (became available). This is because the availability system was +designed for precisely that: Only with inclusion (availability) we have +guarantees about the candidate to actually be available. Because only then we +have guarantees that malicious backers can be reliably checked and slashed. The +system was also designed for non included candidates to not pose any threat to +the system. + +One could think of an (additional) dispute system to make it possible to dispute +any candidate that has been proposed by a validator, no matter whether it got +successfully included or even backed. Unfortunately, it would be very brittle +(no availability) and also spam protection would be way harder than for the +disputes handled by the dispute-coordinator. In fact all described spam handling +strategies above would simply be not available. + +It is worth thinking about who could actually raise such disputes anyway: +Approval checkers certainly not, as they will only ever check once availability +succeeded. The only other nodes that meaningfully could/would are honest backing +nodes or collators. For collators spam considerations would be even worse as +there can be an unlimited number of them and we can not charge them for spam, so +trying to handle disputes raised by collators would be even more complex. For +honest backers: It actually makes more sense for them to wait until availability +is reached as well, as only then they have guarantees that other nodes will be +able to check. If they disputed before, all nodes would need to recover the data +from them, so they would be an easy DoS target. + +In summary: The availability system was designed for raising disputes in a +meaningful and secure way after availability was reached. Trying to raise +disputes before does not meaningfully contribute to the systems security/might +even weaken it as attackers are warned before availability is reached, while at +the same time adding signficant amount of complexity. We therefore punt on such +disputes and concentrate on disputes the system was designed to handle. ## Database Schema @@ -63,117 +475,6 @@ pub enum DisputeStatus { } ``` -## Internal modules -Dispute coordinator subsystem includes a few internal modules - `ordering`, `participation` and -`spam_slots`. - -### Ordering -Ordering module contains two structs - `OrderingProvider` and `CandidateComparator`. The former -keeps track of included blocks and their ancestors. It also generates `CandidateComparator` -instances for candidates. - -`CandidateComparator` wraps the candidate hash and its parent block number: - -```rust -pub struct CandidateComparator { - /// Block number of the relay parent. - /// - /// Important, so we will be participating in oldest disputes first. - /// - /// Note: In theory it would make more sense to use the `BlockNumber` of the including - /// block, as inclusion time is the actual relevant event when it comes to ordering. The - /// problem is, that a candidate can get included multiple times on forks, so the `BlockNumber` - /// of the including block is not unique. We could theoretically work around that problem, by - /// just using the lowest `BlockNumber` of all available including blocks - the problem is, - /// that is not stable. If a new fork appears after the fact, we would start ordering the same - /// candidate differently, which would result in the same candidate getting queued twice. - relay_parent_block_number: BlockNumber, - /// By adding the `CandidateHash`, we can guarantee a unique ordering across candidates. - candidate_hash: CandidateHash, -} -``` - -It also implements `PartialEq`, `Eq`, `PartialOrd` and `Ord` traits enabling comparison operations -with the comparators. - -`Comparator` is used inside `Participation` module as a key for saving `ParticipationRequest`. It -provides the ordering required to process the most important requests first (check the next section -for details). - -### Participation -This module keeps track of the disputes that the node participates in. At most there are -`MAX_PARALLEL_PARTICIPATIONS` parallel participations in the subsystem. The internal state of the -module is: - -```rust -pub struct Participation { - /// Participations currently being processed. - running_participations: HashSet, - /// Priority and best effort queues. - queue: Queues, - /// Sender to be passed to worker tasks. - worker_sender: WorkerMessageSender, - /// Some recent block for retrieving validation code from chain. - recent_block: Option<(BlockNumber, Hash)>, -} -``` -New candidates are processed immediately if the number of running participations is less than -`MAX_PARALLEL_PARTICIPATIONS` or queued for processing otherwise. `Participation` uses another -internal module `Queues` which provides prioritisation of the disputes. It guarantees that important -disputes will be processed first. The actual decision how important is a given dispute is performed -by the `ordering` module. - -The actual participation is performed by `fn participate()`. First it sends -`AvailabilityRecoveryMessage::RecoverAvailableData` to obtain data from the validators. Then gets -the validation code and stores `AvailableData` with `AvailabilityStoreMessage::StoreAvailableData` -message. Finally Participation module performs the actual validation and sends the result as -`WorkerMessage` to the main subsystem (`DisputeCoordinatorSubsystem`). `Participation` generates -messages which `DisputeCoordinatorSubsystem` consumes. You can find more information how these -events are processed in the next section. - -### SpamSlots - -`struct SpamSlots` aims to protect the validator from malicious peers generating erroneous disputes -with the purpose of overloading the validator with unnecessary work. - -How the spam protection works? Each peer validator has got a spam slot for unconfirmed disputes with -fixed size (`MAX_SPAM_VOTES`). Each unconfirmed dispute is added to one such slot until all slots -for the given validator are filled up. At this point statements from this validator for unconfirmed -disputes are ignored. - -What unconfirmed dispute means? Quote from the source code provides an excellent explanation: - -> Node has not seen the candidate be included on any chain, it has not cast a -> vote itself on that dispute, the dispute has not yet reached more than a third of -> validator's votes and the including relay chain block has not yet been finalized. - -`SpamSlots` has got this internal state: - -```rust -pub struct SpamSlots { - /// Counts per validator and session. - /// - /// Must not exceed `MAX_SPAM_VOTES`. - slots: HashMap<(SessionIndex, ValidatorIndex), SpamCount>, - - /// All unconfirmed candidates we are aware of right now. - unconfirmed: UnconfirmedDisputes, -} -``` - -It's worth noting that `SpamSlots` provides an interface for adding entries (`fn add_unconfirmed()`) -and removing them (`fn clear()`). The actual spam protection logic resides in the main subsystem, in -`fn handle_import_statements()`. It is invoked during `DisputeCoordinatorMessage::ImportStatements` -message handling (there is a dedicated section for it below). Spam slots are indexed by session id -and validator index. For each such pair there is a limit of active disputes. If this limit is -reached - the import is ignored. - -Spam protection is performed only on invalid vote statements where the concerned candidate is not -included on any chain, not confirmed, not local and the votes hasn't reached the byzantine -threshold. This check is performed by `Ordering` module. - -Spam slots are cleared when the session window advances so that the `SpamSlots` state doesn't grow -indefinitely. ## Protocol Input: [`DisputeCoordinatorMessage`][DisputeCoordinatorMessage] @@ -252,7 +553,8 @@ Performs cleanup of the finalized candidate. Import statements by validators are processed in `fn handle_import_statements()`. The function has got three main responsibilities: -* Initiate participation in disputes. +* Initiate participation in disputes and sending out of any existing own + approval vote in case of a raised dispute. * Persist all fresh votes in the database. Fresh votes in this context means votes that are not already processed by the node. * Spam protection on all invalid (`DisputeStatement::Invalid`) votes. Please check the SpamSlots diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md b/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md index 579a1ce8f143..b63ea2bdcbf0 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md @@ -297,6 +297,10 @@ cases we also want to have covered: - Nodes might have missed votes, especially backing or approval votes. Recovering them from chain is difficult and expensive, due to runtime upgrades and untyped extrinsics. +- More importantly, on era changes the new authority set, from the perspective + of approval-voting have no need to see "old" approval votes, hence they might + not see them, can therefore not import them into the dispute coordinator and + therefore no authority will put them on chain. To cover those cases, we introduce a second request/response protocol, which can be handled on a lower priority basis as the one above. It consists of the From fa450760eb6337b8144848405fa8dbd771376f75 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Tue, 16 Aug 2022 16:49:25 +0200 Subject: [PATCH 02/23] Don't request votes if there is nothing to request. (#5888) * Don't request votes if there is nothing to request. * Add trace log --- node/core/provisioner/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/node/core/provisioner/src/lib.rs b/node/core/provisioner/src/lib.rs index 58725a7706e3..0f3099c7df33 100644 --- a/node/core/provisioner/src/lib.rs +++ b/node/core/provisioner/src/lib.rs @@ -713,6 +713,12 @@ async fn request_votes( sender: &mut impl overseer::ProvisionerSenderTrait, disputes_to_query: Vec<(SessionIndex, CandidateHash)>, ) -> Vec<(SessionIndex, CandidateHash, CandidateVotes)> { + // No need to send dummy request, if nothing to request: + if disputes_to_query.is_empty() { + gum::trace!(target: LOG_TARGET, "No disputes, nothing to request - returning empty `Vec`."); + + return Vec::new() + } let (tx, rx) = oneshot::channel(); // Bounded by block production - `ProvisionerMessage::RequestInherentData`. sender.send_unbounded_message(DisputeCoordinatorMessage::QueryCandidateVotes( From 69b63d6772659294037aad1a385d56364acf19d8 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Tue, 16 Aug 2022 17:31:12 +0200 Subject: [PATCH 03/23] Break cycle collator-procol - backing (#5883) --- node/core/backing/src/lib.rs | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/node/core/backing/src/lib.rs b/node/core/backing/src/lib.rs index 01c2a614855f..dbc6e3f81903 100644 --- a/node/core/backing/src/lib.rs +++ b/node/core/backing/src/lib.rs @@ -811,17 +811,22 @@ impl CandidateBackingJob { .sign_import_and_distribute_statement(ctx, statement, root_span) .await? { - ctx.send_message(CollatorProtocolMessage::Seconded( + // Break cycle - bounded as there is only one candidate to + // second per block. + ctx.send_unbounded_message(CollatorProtocolMessage::Seconded( self.parent, stmt, - )) - .await; + )); } } }, Err(candidate) => { - ctx.send_message(CollatorProtocolMessage::Invalid(self.parent, candidate)) - .await; + // Break cycle - bounded as there is only one candidate to + // second per block. + ctx.send_unbounded_message(CollatorProtocolMessage::Invalid( + self.parent, + candidate, + )); }, } }, @@ -911,8 +916,12 @@ impl CandidateBackingJob { .as_ref() .map_or(false, |c| c != &candidate.descriptor().collator) { - ctx.send_message(CollatorProtocolMessage::Invalid(self.parent, candidate.clone())) - .await; + // Break cycle - bounded as there is only one candidate to + // second per block. + ctx.send_unbounded_message(CollatorProtocolMessage::Invalid( + self.parent, + candidate.clone(), + )); return Ok(()) } From c0f3353a3f580a8eadca4f36c902dce644d7da96 Mon Sep 17 00:00:00 2001 From: Joakim Nyman Date: Tue, 16 Aug 2022 21:02:45 +0200 Subject: [PATCH 04/23] Added Dwellir bootnodes for Kusama and Polkadot (#5772) --- node/service/chain-specs/kusama.json | 3 ++- node/service/chain-specs/polkadot.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/node/service/chain-specs/kusama.json b/node/service/chain-specs/kusama.json index 24f4820f6bb7..ec1b8aa0503a 100644 --- a/node/service/chain-specs/kusama.json +++ b/node/service/chain-specs/kusama.json @@ -18,7 +18,8 @@ "/dns/p2p.5.kusama.network/tcp/30333/p2p/12D3KooWBsJKGJFuv83ixryzMsUS53A8JzEVeTA8PGi4U6T2dnif", "/dns/kusama-bootnode-0.paritytech.net/tcp/30333/p2p/12D3KooWSueCPH3puP2PcvqPJdNaDNF3jMZjtJtDiSy35pWrbt5h", "/dns/kusama-bootnode-0.paritytech.net/tcp/30334/ws/p2p/12D3KooWSueCPH3puP2PcvqPJdNaDNF3jMZjtJtDiSy35pWrbt5h", - "/dns/kusama-bootnode-1.paritytech.net/tcp/30333/p2p/12D3KooWQKqane1SqWJNWMQkbia9qiMWXkcHtAdfW5eVF8hbwEDw" + "/dns/kusama-bootnode-1.paritytech.net/tcp/30333/p2p/12D3KooWQKqane1SqWJNWMQkbia9qiMWXkcHtAdfW5eVF8hbwEDw", + "/dns/kusama-bootnode.dwellir.com/tcp/30333/ws/p2p/12D3KooWFj2ndawdYyk2spc42Y2arYwb2TUoHLHFAsKuHRzWXwoJ" ], "telemetryEndpoints": [ [ diff --git a/node/service/chain-specs/polkadot.json b/node/service/chain-specs/polkadot.json index 37b16ffa7ccd..af4d42301c70 100644 --- a/node/service/chain-specs/polkadot.json +++ b/node/service/chain-specs/polkadot.json @@ -18,7 +18,8 @@ "/dns/p2p.4.polkadot.network/tcp/30333/p2p/12D3KooWKer8bYqpYjwurVABu13mkELpX2X7mSpEicpjShLeg7D6", "/dns/p2p.5.polkadot.network/tcp/30333/p2p/12D3KooWSRjL9LcEQd5u2fQTbyLxTEHq1tUFgQ6amXSp8Eu7TfKP", "/dns/cc1-0.parity.tech/tcp/30333/p2p/12D3KooWSz8r2WyCdsfWHgPyvD8GKQdJ1UAiRmrcrs8sQB3fe2KU", - "/dns/cc1-1.parity.tech/tcp/30333/p2p/12D3KooWFN2mhgpkJsDBuNuE5427AcDrsib8EoqGMZmkxWwx3Md4" + "/dns/cc1-1.parity.tech/tcp/30333/p2p/12D3KooWFN2mhgpkJsDBuNuE5427AcDrsib8EoqGMZmkxWwx3Md4", + "/dns/polkadot-bootnode.dwellir.com/tcp/30333/ws/p2p/12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ" ], "telemetryEndpoints": [ [ From f000f3a992a1f0ae043feeb27b50751d4d124930 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Tue, 16 Aug 2022 21:33:09 +0100 Subject: [PATCH 05/23] Governance 2 (Part 1, Non-Controversial Changes) (#5892) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * initial stuff * make copy data from kusama * Update runtime/kusama/src/governance/old.rs Co-authored-by: Bastian Köcher * Update runtime/kusama/src/governance/mod.rs Co-authored-by: Bastian Köcher Co-authored-by: Bastian Köcher --- runtime/common/src/auctions.rs | 11 +- runtime/common/src/slots/mod.rs | 13 +- runtime/kusama/src/governance/mod.rs | 20 +++ runtime/kusama/src/governance/old.rs | 172 +++++++++++++++++++++++ runtime/kusama/src/lib.rs | 156 +------------------- runtime/kusama/src/tests.rs | 7 +- xcm/pallet-xcm/src/lib.rs | 8 +- xcm/xcm-builder/src/origin_conversion.rs | 4 +- xcm/xcm-executor/src/traits/weight.rs | 6 +- 9 files changed, 221 insertions(+), 176 deletions(-) create mode 100644 runtime/kusama/src/governance/mod.rs create mode 100644 runtime/kusama/src/governance/old.rs diff --git a/runtime/common/src/auctions.rs b/runtime/common/src/auctions.rs index 71f9c2182d92..b937a26d5671 100644 --- a/runtime/common/src/auctions.rs +++ b/runtime/common/src/auctions.rs @@ -1784,7 +1784,7 @@ mod benchmarking { let duration = T::BlockNumber::max_value(); let lease_period_index = LeasePeriodOf::::max_value(); let origin = T::InitiateOrigin::successful_origin(); - }: _(RawOrigin::Root, duration, lease_period_index) + }: _(origin, duration, lease_period_index) verify { assert_last_event::(Event::::AuctionStarted { auction_index: AuctionCounter::::get(), @@ -1802,7 +1802,8 @@ mod benchmarking { // Create a new auction let duration = T::BlockNumber::max_value(); let lease_period_index = LeasePeriodOf::::zero(); - Auctions::::new_auction(RawOrigin::Root.into(), duration, lease_period_index)?; + let origin = T::InitiateOrigin::successful_origin(); + Auctions::::new_auction(origin, duration, lease_period_index)?; let para = ParaId::from(0); let new_para = ParaId::from(1_u32); @@ -1853,7 +1854,8 @@ mod benchmarking { let duration: T::BlockNumber = lease_length / 2u32.into(); let lease_period_index = LeasePeriodOf::::zero(); let now = frame_system::Pallet::::block_number(); - Auctions::::new_auction(RawOrigin::Root.into(), duration, lease_period_index)?; + let origin = T::InitiateOrigin::successful_origin(); + Auctions::::new_auction(origin, duration, lease_period_index)?; fill_winners::(lease_period_index); @@ -1896,7 +1898,8 @@ mod benchmarking { let duration: T::BlockNumber = lease_length / 2u32.into(); let lease_period_index = LeasePeriodOf::::zero(); let now = frame_system::Pallet::::block_number(); - Auctions::::new_auction(RawOrigin::Root.into(), duration, lease_period_index)?; + let origin = T::InitiateOrigin::successful_origin(); + Auctions::::new_auction(origin, duration, lease_period_index)?; fill_winners::(lease_period_index); diff --git a/runtime/common/src/slots/mod.rs b/runtime/common/src/slots/mod.rs index 1b76e508dadf..76054ac989f9 100644 --- a/runtime/common/src/slots/mod.rs +++ b/runtime/common/src/slots/mod.rs @@ -1024,7 +1024,8 @@ mod benchmarking { let amount = T::Currency::minimum_balance(); let period_begin = 69u32.into(); let period_count = 3u32.into(); - }: _(RawOrigin::Root, para, leaser.clone(), amount, period_begin, period_count) + let origin = T::ForceOrigin::successful_origin(); + }: _(origin, para, leaser.clone(), amount, period_begin, period_count) verify { assert_last_event::(Event::::Leased { para_id: para, @@ -1057,8 +1058,8 @@ mod benchmarking { // T parathread are upgrading to parachains for (para, leaser) in paras_info { let amount = T::Currency::minimum_balance(); - - Slots::::force_lease(RawOrigin::Root.into(), para, leaser, amount, period_begin, period_count)?; + let origin = T::ForceOrigin::successful_origin(); + Slots::::force_lease(origin, para, leaser, amount, period_begin, period_count)?; } T::Registrar::execute_pending_transitions(); @@ -1108,7 +1109,8 @@ mod benchmarking { // Average slot has 4 lease periods. let period_count: LeasePeriodOf = 4u32.into(); let period_begin = period_count * i.into(); - Slots::::force_lease(RawOrigin::Root.into(), para, leaser, amount, period_begin, period_count)?; + let origin = T::ForceOrigin::successful_origin(); + Slots::::force_lease(origin, para, leaser, amount, period_begin, period_count)?; } for i in 0 .. max_people { @@ -1116,7 +1118,8 @@ mod benchmarking { assert_eq!(T::Currency::reserved_balance(&leaser), T::Currency::minimum_balance()); } - }: _(RawOrigin::Root, para) + let origin = T::ForceOrigin::successful_origin(); + }: _(origin, para) verify { for i in 0 .. max_people { let leaser = account("lease_deposit", i, 0); diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs new file mode 100644 index 000000000000..27aa07a4795b --- /dev/null +++ b/runtime/kusama/src/governance/mod.rs @@ -0,0 +1,20 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Governance configurations for the Kusama runtime. + +// Old governance configurations. +pub mod old; diff --git a/runtime/kusama/src/governance/old.rs b/runtime/kusama/src/governance/old.rs new file mode 100644 index 000000000000..a87ddf6ec1fc --- /dev/null +++ b/runtime/kusama/src/governance/old.rs @@ -0,0 +1,172 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Old governance configurations for the Kusama runtime. + +use crate::*; +use frame_support::{parameter_types, traits::EitherOfDiverse}; + +parameter_types! { + pub LaunchPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1, "KSM_LAUNCH_PERIOD"); + pub VotingPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1 * MINUTES, "KSM_VOTING_PERIOD"); + pub FastTrackVotingPeriod: BlockNumber = prod_or_fast!(3 * HOURS, 1 * MINUTES, "KSM_FAST_TRACK_VOTING_PERIOD"); + pub const MinimumDeposit: Balance = 100 * CENTS; + pub EnactmentPeriod: BlockNumber = prod_or_fast!(8 * DAYS, 1, "KSM_ENACTMENT_PERIOD"); + pub CooloffPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1 * MINUTES, "KSM_COOLOFF_PERIOD"); + pub const InstantAllowed: bool = true; + pub const MaxVotes: u32 = 100; + pub const MaxProposals: u32 = 100; +} + +impl pallet_democracy::Config for Runtime { + type Proposal = Call; + type Event = Event; + type Currency = Balances; + type EnactmentPeriod = EnactmentPeriod; + type VoteLockingPeriod = EnactmentPeriod; + type LaunchPeriod = LaunchPeriod; + type VotingPeriod = VotingPeriod; + type MinimumDeposit = MinimumDeposit; + /// A straight majority of the council can decide what their next motion is. + type ExternalOrigin = + pallet_collective::EnsureProportionAtLeast; + /// A majority can have the next scheduled referendum be a straight majority-carries vote. + type ExternalMajorityOrigin = + pallet_collective::EnsureProportionAtLeast; + /// A unanimous council can have the next scheduled referendum be a straight default-carries + /// (NTB) vote. + type ExternalDefaultOrigin = + pallet_collective::EnsureProportionAtLeast; + /// Two thirds of the technical committee can have an `ExternalMajority/ExternalDefault` vote + /// be tabled immediately and with a shorter voting/enactment period. + type FastTrackOrigin = + pallet_collective::EnsureProportionAtLeast; + type InstantOrigin = + pallet_collective::EnsureProportionAtLeast; + type InstantAllowed = InstantAllowed; + type FastTrackVotingPeriod = FastTrackVotingPeriod; + // To cancel a proposal which has been passed, 2/3 of the council must agree to it. + type CancellationOrigin = EitherOfDiverse< + EnsureRoot, + pallet_collective::EnsureProportionAtLeast, + >; + type BlacklistOrigin = EnsureRoot; + // To cancel a proposal before it has been passed, the technical committee must be unanimous or + // Root must agree. + type CancelProposalOrigin = EitherOfDiverse< + EnsureRoot, + pallet_collective::EnsureProportionAtLeast, + >; + // Any single technical committee member may veto a coming council proposal, however they can + // only do it once and it lasts only for the cooloff period. + type VetoOrigin = pallet_collective::EnsureMember; + type CooloffPeriod = CooloffPeriod; + type PreimageByteDeposit = PreimageByteDeposit; + type OperationalPreimageOrigin = pallet_collective::EnsureMember; + type Slash = Treasury; + type Scheduler = Scheduler; + type PalletsOrigin = OriginCaller; + type MaxVotes = MaxVotes; + type WeightInfo = weights::pallet_democracy::WeightInfo; + type MaxProposals = MaxProposals; +} + +parameter_types! { + pub CouncilMotionDuration: BlockNumber = prod_or_fast!(3 * DAYS, 2 * MINUTES, "KSM_MOTION_DURATION"); + pub const CouncilMaxProposals: u32 = 100; + pub const CouncilMaxMembers: u32 = 100; +} + +pub type CouncilCollective = pallet_collective::Instance1; +impl pallet_collective::Config for Runtime { + type Origin = Origin; + type Proposal = Call; + type Event = Event; + type MotionDuration = CouncilMotionDuration; + type MaxProposals = CouncilMaxProposals; + type MaxMembers = CouncilMaxMembers; + type DefaultVote = pallet_collective::PrimeDefaultVote; + type WeightInfo = weights::pallet_collective_council::WeightInfo; +} + +parameter_types! { + pub const CandidacyBond: Balance = 100 * CENTS; + // 1 storage item created, key size is 32 bytes, value size is 16+16. + pub const VotingBondBase: Balance = deposit(1, 64); + // additional data per vote is 32 bytes (account id). + pub const VotingBondFactor: Balance = deposit(0, 32); + /// Daily council elections + pub TermDuration: BlockNumber = prod_or_fast!(24 * HOURS, 2 * MINUTES, "KSM_TERM_DURATION"); + pub const DesiredMembers: u32 = 19; + pub const DesiredRunnersUp: u32 = 19; + pub const MaxVoters: u32 = 10 * 1000; + pub const MaxCandidates: u32 = 1000; + pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect"; +} + +// Make sure that there are no more than `MaxMembers` members elected via Phragmen. +const_assert!(DesiredMembers::get() <= CouncilMaxMembers::get()); + +impl pallet_elections_phragmen::Config for Runtime { + type Event = Event; + type Currency = Balances; + type ChangeMembers = Council; + type InitializeMembers = Council; + type CurrencyToVote = frame_support::traits::U128CurrencyToVote; + type CandidacyBond = CandidacyBond; + type VotingBondBase = VotingBondBase; + type VotingBondFactor = VotingBondFactor; + type LoserCandidate = Treasury; + type KickedMember = Treasury; + type DesiredMembers = DesiredMembers; + type DesiredRunnersUp = DesiredRunnersUp; + type TermDuration = TermDuration; + type MaxVoters = MaxVoters; + type MaxCandidates = MaxCandidates; + type PalletId = PhragmenElectionPalletId; + type WeightInfo = weights::pallet_elections_phragmen::WeightInfo; +} + +parameter_types! { + pub TechnicalMotionDuration: BlockNumber = prod_or_fast!(3 * DAYS, 2 * MINUTES, "KSM_MOTION_DURATION"); + pub const TechnicalMaxProposals: u32 = 100; + pub const TechnicalMaxMembers: u32 = 100; +} + +pub type TechnicalCollective = pallet_collective::Instance2; +impl pallet_collective::Config for Runtime { + type Origin = Origin; + type Proposal = Call; + type Event = Event; + type MotionDuration = TechnicalMotionDuration; + type MaxProposals = TechnicalMaxProposals; + type MaxMembers = TechnicalMaxMembers; + type DefaultVote = pallet_collective::PrimeDefaultVote; + type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; +} + +impl pallet_membership::Config for Runtime { + type Event = Event; + type AddOrigin = MoreThanHalfCouncil; + type RemoveOrigin = MoreThanHalfCouncil; + type SwapOrigin = MoreThanHalfCouncil; + type ResetOrigin = MoreThanHalfCouncil; + type PrimeOrigin = MoreThanHalfCouncil; + type MembershipInitialized = TechnicalCommittee; + type MembershipChanged = TechnicalCommittee; + type MaxMembers = TechnicalMaxMembers; + type WeightInfo = weights::pallet_membership::WeightInfo; +} diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 511e7d1e69a8..12b9554c5cff 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -102,6 +102,10 @@ mod bag_thresholds; // XCM configurations. pub mod xcm_config; +// Governance configurations. +pub mod governance; +use governance::old::CouncilCollective; + #[cfg(test)] mod tests; @@ -623,158 +627,6 @@ impl pallet_staking::Config for Runtime { type WeightInfo = weights::pallet_staking::WeightInfo; } -parameter_types! { - pub LaunchPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1, "KSM_LAUNCH_PERIOD"); - pub VotingPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1 * MINUTES, "KSM_VOTING_PERIOD"); - pub FastTrackVotingPeriod: BlockNumber = prod_or_fast!(3 * HOURS, 1 * MINUTES, "KSM_FAST_TRACK_VOTING_PERIOD"); - pub const MinimumDeposit: Balance = 100 * CENTS; - pub EnactmentPeriod: BlockNumber = prod_or_fast!(8 * DAYS, 1, "KSM_ENACTMENT_PERIOD"); - pub CooloffPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1 * MINUTES, "KSM_COOLOFF_PERIOD"); - pub const InstantAllowed: bool = true; - pub const MaxVotes: u32 = 100; - pub const MaxProposals: u32 = 100; -} - -impl pallet_democracy::Config for Runtime { - type Proposal = Call; - type Event = Event; - type Currency = Balances; - type EnactmentPeriod = EnactmentPeriod; - type VoteLockingPeriod = EnactmentPeriod; - type LaunchPeriod = LaunchPeriod; - type VotingPeriod = VotingPeriod; - type MinimumDeposit = MinimumDeposit; - /// A straight majority of the council can decide what their next motion is. - type ExternalOrigin = - pallet_collective::EnsureProportionAtLeast; - /// A majority can have the next scheduled referendum be a straight majority-carries vote. - type ExternalMajorityOrigin = - pallet_collective::EnsureProportionAtLeast; - /// A unanimous council can have the next scheduled referendum be a straight default-carries - /// (NTB) vote. - type ExternalDefaultOrigin = - pallet_collective::EnsureProportionAtLeast; - /// Two thirds of the technical committee can have an `ExternalMajority/ExternalDefault` vote - /// be tabled immediately and with a shorter voting/enactment period. - type FastTrackOrigin = - pallet_collective::EnsureProportionAtLeast; - type InstantOrigin = - pallet_collective::EnsureProportionAtLeast; - type InstantAllowed = InstantAllowed; - type FastTrackVotingPeriod = FastTrackVotingPeriod; - // To cancel a proposal which has been passed, 2/3 of the council must agree to it. - type CancellationOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, - >; - type BlacklistOrigin = EnsureRoot; - // To cancel a proposal before it has been passed, the technical committee must be unanimous or - // Root must agree. - type CancelProposalOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, - >; - // Any single technical committee member may veto a coming council proposal, however they can - // only do it once and it lasts only for the cooloff period. - type VetoOrigin = pallet_collective::EnsureMember; - type CooloffPeriod = CooloffPeriod; - type PreimageByteDeposit = PreimageByteDeposit; - type OperationalPreimageOrigin = pallet_collective::EnsureMember; - type Slash = Treasury; - type Scheduler = Scheduler; - type PalletsOrigin = OriginCaller; - type MaxVotes = MaxVotes; - type WeightInfo = weights::pallet_democracy::WeightInfo; - type MaxProposals = MaxProposals; -} - -parameter_types! { - pub CouncilMotionDuration: BlockNumber = prod_or_fast!(3 * DAYS, 2 * MINUTES, "KSM_MOTION_DURATION"); - pub const CouncilMaxProposals: u32 = 100; - pub const CouncilMaxMembers: u32 = 100; -} - -type CouncilCollective = pallet_collective::Instance1; -impl pallet_collective::Config for Runtime { - type Origin = Origin; - type Proposal = Call; - type Event = Event; - type MotionDuration = CouncilMotionDuration; - type MaxProposals = CouncilMaxProposals; - type MaxMembers = CouncilMaxMembers; - type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::pallet_collective_council::WeightInfo; -} - -parameter_types! { - pub const CandidacyBond: Balance = 100 * CENTS; - // 1 storage item created, key size is 32 bytes, value size is 16+16. - pub const VotingBondBase: Balance = deposit(1, 64); - // additional data per vote is 32 bytes (account id). - pub const VotingBondFactor: Balance = deposit(0, 32); - /// Daily council elections - pub TermDuration: BlockNumber = prod_or_fast!(24 * HOURS, 2 * MINUTES, "KSM_TERM_DURATION"); - pub const DesiredMembers: u32 = 19; - pub const DesiredRunnersUp: u32 = 19; - pub const MaxVoters: u32 = 10 * 1000; - pub const MaxCandidates: u32 = 1000; - pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect"; -} - -// Make sure that there are no more than MaxMembers members elected via phragmen. -const_assert!(DesiredMembers::get() <= CouncilMaxMembers::get()); - -impl pallet_elections_phragmen::Config for Runtime { - type Event = Event; - type Currency = Balances; - type ChangeMembers = Council; - type InitializeMembers = Council; - type CurrencyToVote = frame_support::traits::U128CurrencyToVote; - type CandidacyBond = CandidacyBond; - type VotingBondBase = VotingBondBase; - type VotingBondFactor = VotingBondFactor; - type LoserCandidate = Treasury; - type KickedMember = Treasury; - type DesiredMembers = DesiredMembers; - type DesiredRunnersUp = DesiredRunnersUp; - type TermDuration = TermDuration; - type MaxVoters = MaxVoters; - type MaxCandidates = MaxCandidates; - type PalletId = PhragmenElectionPalletId; - type WeightInfo = weights::pallet_elections_phragmen::WeightInfo; -} - -parameter_types! { - pub TechnicalMotionDuration: BlockNumber = prod_or_fast!(3 * DAYS, 2 * MINUTES, "KSM_MOTION_DURATION"); - pub const TechnicalMaxProposals: u32 = 100; - pub const TechnicalMaxMembers: u32 = 100; -} - -type TechnicalCollective = pallet_collective::Instance2; -impl pallet_collective::Config for Runtime { - type Origin = Origin; - type Proposal = Call; - type Event = Event; - type MotionDuration = TechnicalMotionDuration; - type MaxProposals = TechnicalMaxProposals; - type MaxMembers = TechnicalMaxMembers; - type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; -} - -impl pallet_membership::Config for Runtime { - type Event = Event; - type AddOrigin = MoreThanHalfCouncil; - type RemoveOrigin = MoreThanHalfCouncil; - type SwapOrigin = MoreThanHalfCouncil; - type ResetOrigin = MoreThanHalfCouncil; - type PrimeOrigin = MoreThanHalfCouncil; - type MembershipInitialized = TechnicalCommittee; - type MembershipChanged = TechnicalCommittee; - type MaxMembers = TechnicalMaxMembers; - type WeightInfo = weights::pallet_membership::WeightInfo; -} - parameter_types! { pub const ProposalBond: Permill = Permill::from_percent(5); pub const ProposalBondMinimum: Balance = 2000 * CENTS; diff --git a/runtime/kusama/src/tests.rs b/runtime/kusama/src/tests.rs index 6c53cf8beb3b..891aebe060ba 100644 --- a/runtime/kusama/src/tests.rs +++ b/runtime/kusama/src/tests.rs @@ -173,10 +173,5 @@ fn era_payout_should_give_sensible_results() { #[test] fn call_size() { - assert!( - core::mem::size_of::() <= 230, - "size of Call is more than 230 bytes: some calls have too big arguments, use Box to reduce \ - the size of Call. - If the limit is too strong, maybe consider increase the limit to 300.", - ); + Call::assert_size_under(230); } diff --git a/xcm/pallet-xcm/src/lib.rs b/xcm/pallet-xcm/src/lib.rs index 6fc6285a600e..c237fc702a4a 100644 --- a/xcm/pallet-xcm/src/lib.rs +++ b/xcm/pallet-xcm/src/lib.rs @@ -1517,8 +1517,8 @@ where } #[cfg(feature = "runtime-benchmarks")] - fn successful_origin() -> O { - O::from(Origin::Xcm(Here.into())) + fn try_successful_origin() -> Result { + Ok(O::from(Origin::Xcm(Here.into()))) } } @@ -1542,8 +1542,8 @@ where } #[cfg(feature = "runtime-benchmarks")] - fn successful_origin() -> O { - O::from(Origin::Response(Here.into())) + fn try_successful_origin() -> Result { + Ok(O::from(Origin::Response(Here.into()))) } } diff --git a/xcm/xcm-builder/src/origin_conversion.rs b/xcm/xcm-builder/src/origin_conversion.rs index 4d9a882464d8..5df56f1ed5de 100644 --- a/xcm/xcm-builder/src/origin_conversion.rs +++ b/xcm/xcm-builder/src/origin_conversion.rs @@ -253,8 +253,8 @@ where } #[cfg(feature = "runtime-benchmarks")] - fn successful_origin() -> Origin { - Origin::root() + fn try_successful_origin() -> Result { + Ok(Origin::root()) } } diff --git a/xcm/xcm-executor/src/traits/weight.rs b/xcm/xcm-executor/src/traits/weight.rs index d3da75e0c29e..a3c7d2a2f645 100644 --- a/xcm/xcm-executor/src/traits/weight.rs +++ b/xcm/xcm-executor/src/traits/weight.rs @@ -47,9 +47,9 @@ pub trait WeightTrader: Sized { /// Create a new trader instance. fn new() -> Self; - /// Purchase execution weight credit in return for up to a given `fee`. If less of the fee is required - /// then the surplus is returned. If the `fee` cannot be used to pay for the `weight`, then an error is - /// returned. + /// Purchase execution weight credit in return for up to a given `payment`. If less of the + /// payment is required then the surplus is returned. If the `payment` cannot be used to pay + /// for the `weight`, then an error is returned. fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result; /// Attempt a refund of `weight` into some asset. The caller does not guarantee that the weight was From 520e10b3932af03cacc2659a6d7f3ce4c5e9948c Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Wed, 17 Aug 2022 12:35:44 +0200 Subject: [PATCH 06/23] [ci] Add check-runtime-migration job (#5891) * [WIP] Playground for check-runtime-migration * add condition * fix syntax * enable pipeline * uncomment needs * change label name to code label --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d73a90cb3a63..94f700f7b985 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -624,6 +624,32 @@ check-try-runtime: # Check that everything compiles with `try-runtime` feature flag. - cargo check --features try-runtime --all +# More info can be found here: https://github.com/paritytech/polkadot/pull/5865 +# Works only in PRs +check-runtime-migration: + stage: stage3 + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + needs: + - job: test-node-metrics + artifacts: false + <<: *test-pr-refs + <<: *docker-env + <<: *compiler-info + script: + - | + export has_runtimemigration_label=$(curl -sS -H "Accept: application/vnd.github+json" \ + -H "Authorization: token $GITHUB_PR_TOKEN" \ + https://api.github.com/repos/paritytech/polkadot/issues/$CI_COMMIT_REF_NAME/labels | grep "E1" | wc -l) + - | + if [[ $has_runtimemigration_label != 0 ]]; then + echo "Found label runtimemigration. Running tests" + export RUST_LOG=remote-ext=debug,runtime=debug + time cargo test --release -p westend-runtime -p polkadot-runtime -p kusama-runtime --features try-runtime + else + echo "runtimemigration label not found. Skipping" + fi + + check-no-default-features: stage: stage3 # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs From 160bb845e3e3ef209fec15199ac54b755425cce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Thu, 18 Aug 2022 23:35:56 +0200 Subject: [PATCH 07/23] Companion for new Trie cache (#5897) * Switch to Substrate branch * Make everything compile * Revert "Switch to Substrate branch" This reverts commit cbbab7431a07cfd645428a9f4c130362a8e7588b. * Remove stuff * More fixes * Fix branch * Update Substrate * FMT --- Cargo.lock | 431 ++++++++++++++++++----------------- erasure-coding/Cargo.toml | 2 +- erasure-coding/src/lib.rs | 27 ++- node/test/service/src/lib.rs | 3 +- runtime/common/Cargo.toml | 1 - runtime/polkadot/Cargo.toml | 1 - runtime/rococo/src/lib.rs | 14 -- 7 files changed, 243 insertions(+), 236 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e281a65b102d..0f65ff847ee5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -423,7 +423,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "beefy-primitives", @@ -459,7 +459,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -479,7 +479,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "beefy-primitives", "sp-api", @@ -488,7 +488,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "scale-info", @@ -1580,6 +1580,20 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ed25519-zebra" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "403ef3e961ab98f0ba902771d29f842058578bb1ce7e3c59dad5a6a93e784c69" +dependencies = [ + "curve25519-dalek 3.2.0", + "hex", + "rand_core 0.6.3", + "sha2 0.9.8", + "thiserror", + "zeroize", +] + [[package]] name = "either" version = "1.6.1" @@ -1867,14 +1881,14 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0408e2626025178a6a7f7ffc05a25bc47103229f19c113755de7bf63816290c" +checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c" dependencies = [ "cfg-if 1.0.0", "libc", "redox_syscall", - "winapi", + "windows-sys 0.36.1", ] [[package]] @@ -1960,7 +1974,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", ] @@ -1978,7 +1992,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -1990,6 +2004,7 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", + "sp-core", "sp-io", "sp-runtime", "sp-runtime-interface", @@ -2000,7 +2015,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "Inflector", "chrono", @@ -2051,7 +2066,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2062,7 +2077,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2078,7 +2093,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -2106,7 +2121,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "bitflags", "frame-metadata", @@ -2137,7 +2152,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2149,7 +2164,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2161,7 +2176,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "proc-macro2", "quote", @@ -2171,7 +2186,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2194,7 +2209,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -2205,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "log", @@ -2222,7 +2237,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -2237,7 +2252,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "sp-api", @@ -2246,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "sp-api", @@ -2428,7 +2443,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "chrono", "frame-election-provider-support", @@ -2629,9 +2644,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.12.0" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ "ahash", ] @@ -2904,7 +2919,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c6392766afd7964e2531940894cffe4bd8d7d17dbc3c1c4857040fd4b33bdb3" dependencies = [ "autocfg", - "hashbrown 0.12.0", + "hashbrown 0.12.3", "serde", ] @@ -3575,7 +3590,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "lru 0.7.7", + "lru 0.7.8", "prost", "prost-build", "prost-codec", @@ -4051,11 +4066,11 @@ dependencies = [ [[package]] name = "lru" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c84e6fe5655adc6ce00787cf7dcaf8dc4f998a0565d23eafc207a8b08ca3349a" +checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a" dependencies = [ - "hashbrown 0.11.2", + "hashbrown 0.12.3", ] [[package]] @@ -4200,7 +4215,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a" dependencies = [ "hash-db", - "hashbrown 0.12.0", + "hashbrown 0.12.3", "parity-util-mem", ] @@ -4801,7 +4816,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -4815,7 +4830,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -4831,7 +4846,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -4846,7 +4861,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -4870,7 +4885,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4909,7 +4924,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -4924,7 +4939,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "beefy-primitives", "frame-support", @@ -4940,7 +4955,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4963,7 +4978,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -4981,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5000,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5017,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5048,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5056,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5069,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5087,7 +5102,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5102,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5125,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5141,7 +5156,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5161,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5178,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5195,7 +5210,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5213,7 +5228,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5228,7 +5243,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5243,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -5260,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5279,7 +5294,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "sp-api", @@ -5289,7 +5304,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -5306,7 +5321,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5329,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5345,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5360,7 +5375,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5375,7 +5390,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5391,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -5412,7 +5427,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5428,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -5442,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5465,7 +5480,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5476,7 +5491,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "log", "sp-arithmetic", @@ -5485,7 +5500,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -5499,7 +5514,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5517,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5536,7 +5551,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-support", "frame-system", @@ -5552,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5567,7 +5582,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5578,7 +5593,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5595,7 +5610,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5611,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-benchmarking", "frame-support", @@ -5729,7 +5744,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c32561d248d352148124f036cac253a644685a21dc9fea383eb4907d7bd35a8f" dependencies = [ "cfg-if 1.0.0", - "hashbrown 0.12.0", + "hashbrown 0.12.3", "impl-trait-for-tuples", "parity-util-mem-derive", "parking_lot 0.12.0", @@ -6030,7 +6045,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "lru 0.7.7", + "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6060,7 +6075,7 @@ dependencies = [ "futures", "futures-timer", "log", - "lru 0.7.7", + "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6198,7 +6213,7 @@ dependencies = [ "futures", "futures-timer", "lazy_static", - "lru 0.7.7", + "lru 0.7.8", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6318,7 +6333,7 @@ dependencies = [ "futures-timer", "kvdb", "kvdb-memorydb", - "lru 0.7.7", + "lru 0.7.8", "merlin", "parity-scale-codec", "parking_lot 0.12.0", @@ -6487,7 +6502,7 @@ dependencies = [ "futures-timer", "kvdb", "kvdb-memorydb", - "lru 0.7.7", + "lru 0.7.8", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -6773,7 +6788,7 @@ dependencies = [ "kvdb-shared-tests", "lazy_static", "log", - "lru 0.7.7", + "lru 0.7.8", "parity-db", "parity-scale-codec", "parity-util-mem", @@ -6807,7 +6822,7 @@ dependencies = [ "femme", "futures", "futures-timer", - "lru 0.7.7", + "lru 0.7.8", "orchestra", "parity-util-mem", "parking_lot 0.12.0", @@ -7014,7 +7029,6 @@ dependencies = [ "substrate-wasm-builder", "tiny-keccak", "tokio", - "trie-db", "xcm", "xcm-builder", "xcm-executor", @@ -7068,7 +7082,6 @@ dependencies = [ "sp-staking", "sp-std", "static_assertions", - "trie-db", "xcm", ] @@ -7162,7 +7175,7 @@ dependencies = [ "kvdb", "kvdb-rocksdb", "log", - "lru 0.7.7", + "lru 0.7.8", "pallet-babe", "pallet-im-online", "pallet-staking", @@ -8087,7 +8100,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8274,9 +8287,9 @@ dependencies = [ [[package]] name = "rpassword" -version = "5.0.1" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb" +checksum = "26b763cb66df1c928432cc35053f8bd4cec3335d8559fc16010017d16b3c1680" dependencies = [ "libc", "winapi", @@ -8429,7 +8442,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "log", "sp-core", @@ -8440,7 +8453,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "futures-timer", @@ -8467,7 +8480,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "futures-timer", @@ -8490,7 +8503,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8506,7 +8519,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8523,7 +8536,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8534,7 +8547,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "chrono", "clap", @@ -8573,7 +8586,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "fnv", "futures", @@ -8601,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "hash-db", "kvdb", @@ -8626,7 +8639,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "futures", @@ -8650,7 +8663,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "fork-tree", @@ -8692,7 +8705,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "jsonrpsee", @@ -8714,7 +8727,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8727,7 +8740,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "futures", @@ -8752,10 +8765,10 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "lazy_static", - "lru 0.7.7", + "lru 0.7.8", "parity-scale-codec", "parking_lot 0.12.0", "sc-executor-common", @@ -8779,7 +8792,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "environmental", "parity-scale-codec", @@ -8795,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "log", "parity-scale-codec", @@ -8810,7 +8823,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8830,7 +8843,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "ahash", "async-trait", @@ -8871,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "finality-grandpa", "futures", @@ -8892,7 +8905,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "ansi_term", "futures", @@ -8909,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "hex", @@ -8924,7 +8937,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "asynchronous-codec", @@ -8942,7 +8955,7 @@ dependencies = [ "linked-hash-map", "linked_hash_set", "log", - "lru 0.7.7", + "lru 0.7.8", "parity-scale-codec", "parking_lot 0.12.0", "pin-project", @@ -8973,7 +8986,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "bitflags", @@ -8994,14 +9007,14 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "ahash", "futures", "futures-timer", "libp2p", "log", - "lru 0.7.7", + "lru 0.7.8", "sc-network", "sc-network-common", "sp-runtime", @@ -9012,7 +9025,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "hex", @@ -9033,14 +9046,14 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "fork-tree", "futures", "hex", "libp2p", "log", - "lru 0.7.7", + "lru 0.7.8", "parity-scale-codec", "prost", "prost-build", @@ -9061,7 +9074,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "bytes", "fnv", @@ -9090,7 +9103,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "libp2p", @@ -9103,7 +9116,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9112,7 +9125,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "hash-db", @@ -9142,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "jsonrpsee", @@ -9165,7 +9178,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "jsonrpsee", @@ -9178,7 +9191,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "directories", @@ -9245,7 +9258,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "log", "parity-scale-codec", @@ -9259,7 +9272,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9278,7 +9291,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "libc", @@ -9297,7 +9310,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "chrono", "futures", @@ -9315,7 +9328,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "ansi_term", "atty", @@ -9346,7 +9359,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9357,7 +9370,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "futures-timer", @@ -9383,7 +9396,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "log", @@ -9396,7 +9409,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "futures-timer", @@ -9881,7 +9894,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "hash-db", "log", @@ -9891,6 +9904,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-std", + "sp-trie", "sp-version", "thiserror", ] @@ -9898,7 +9912,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "blake2", "proc-macro-crate", @@ -9910,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "scale-info", @@ -9923,7 +9937,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "integer-sqrt", "num-traits", @@ -9938,7 +9952,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "scale-info", @@ -9951,7 +9965,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "parity-scale-codec", @@ -9963,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "sp-api", @@ -9975,11 +9989,11 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "log", - "lru 0.7.7", + "lru 0.7.8", "parity-scale-codec", "parking_lot 0.12.0", "sp-api", @@ -9993,7 +10007,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "futures", @@ -10012,7 +10026,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "merlin", @@ -10035,7 +10049,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "scale-info", @@ -10049,7 +10063,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "scale-info", @@ -10062,14 +10076,14 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "base58", "bitflags", "blake2-rfc", "byteorder", "dyn-clonable", - "ed25519-dalek", + "ed25519-zebra", "futures", "hash-db", "hash256-std-hasher", @@ -10108,7 +10122,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "blake2", "byteorder", @@ -10122,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "proc-macro2", "quote", @@ -10133,7 +10147,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -10142,7 +10156,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "proc-macro2", "quote", @@ -10152,7 +10166,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "environmental", "parity-scale-codec", @@ -10163,7 +10177,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "finality-grandpa", "log", @@ -10181,7 +10195,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10195,7 +10209,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "bytes", "futures", @@ -10221,7 +10235,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "lazy_static", "sp-core", @@ -10232,7 +10246,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "futures", @@ -10249,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "thiserror", "zstd", @@ -10258,7 +10272,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "log", "parity-scale-codec", @@ -10273,7 +10287,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "scale-info", @@ -10287,7 +10301,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "sp-api", "sp-core", @@ -10297,7 +10311,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "backtrace", "lazy_static", @@ -10307,7 +10321,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "rustc-hash", "serde", @@ -10317,7 +10331,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "either", "hash256-std-hasher", @@ -10339,7 +10353,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10357,7 +10371,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "Inflector", "proc-macro-crate", @@ -10369,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "log", "parity-scale-codec", @@ -10383,7 +10397,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "scale-info", @@ -10397,7 +10411,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "scale-info", @@ -10408,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "hash-db", "log", @@ -10430,12 +10444,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10448,7 +10462,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "log", "sp-core", @@ -10461,7 +10475,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "futures-timer", @@ -10477,7 +10491,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "sp-std", @@ -10489,7 +10503,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "sp-api", "sp-runtime", @@ -10498,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "log", @@ -10514,15 +10528,22 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ + "ahash", "hash-db", + "hashbrown 0.12.3", + "lazy_static", + "lru 0.7.8", "memory-db", + "nohash-hasher", "parity-scale-codec", + "parking_lot 0.12.0", "scale-info", "sp-core", "sp-std", "thiserror", + "tracing", "trie-db", "trie-root", ] @@ -10530,7 +10551,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10547,7 +10568,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10558,7 +10579,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "impl-trait-for-tuples", "log", @@ -10732,7 +10753,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "platforms", ] @@ -10740,7 +10761,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10761,7 +10782,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures-util", "hyper", @@ -10774,7 +10795,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "jsonrpsee", "log", @@ -10795,7 +10816,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "async-trait", "futures", @@ -10821,7 +10842,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10831,7 +10852,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10842,7 +10863,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "ansi_term", "build-helper", @@ -11484,12 +11505,12 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.23.1" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32d034c0d3db64b43c31de38e945f15b40cd4ca6d2dcfc26d4798ce8de4ab83" +checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" dependencies = [ "hash-db", - "hashbrown 0.12.0", + "hashbrown 0.12.3", "log", "rustc-hex", "smallvec", @@ -11556,7 +11577,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34a0621761c4a333cb2074ff720f7acbfb92dbb8" +source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" dependencies = [ "clap", "jsonrpsee", @@ -11625,9 +11646,9 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "digest 0.10.3", - "rand 0.7.3", + "rand 0.8.5", "static_assertions", ] diff --git a/erasure-coding/Cargo.toml b/erasure-coding/Cargo.toml index 56e60befd3be..858c6fc4b23e 100644 --- a/erasure-coding/Cargo.toml +++ b/erasure-coding/Cargo.toml @@ -10,5 +10,5 @@ polkadot-node-primitives = { package = "polkadot-node-primitives", path = "../no novelpoly = { package = "reed-solomon-novelpoly", version = "1.0.0" } parity-scale-codec = { version = "3.1.5", default-features = false, features = ["std", "derive"] } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.31" diff --git a/erasure-coding/src/lib.rs b/erasure-coding/src/lib.rs index 8c9f6f07d04a..5e85809f4117 100644 --- a/erasure-coding/src/lib.rs +++ b/erasure-coding/src/lib.rs @@ -28,11 +28,11 @@ use parity_scale_codec::{Decode, Encode}; use polkadot_node_primitives::{AvailableData, Proof}; use polkadot_primitives::v2::{BlakeTwo256, Hash as H256, HashT}; use sp_core::Blake2Hasher; -use thiserror::Error; -use trie::{ - trie_types::{TrieDB, TrieDBMutV0 as TrieDBMut}, - MemoryDB, Trie, TrieMut, EMPTY_PREFIX, +use sp_trie::{ + trie_types::{TrieDBBuilder, TrieDBMutBuilderV0 as TrieDBMutBuilder}, + LayoutV0, MemoryDB, Trie, TrieMut, EMPTY_PREFIX, }; +use thiserror::Error; use novelpoly::{CodeParams, WrappedShard}; @@ -224,13 +224,16 @@ impl<'a, I: AsRef<[u8]>> Iterator for Branches<'a, I> { type Item = (Proof, &'a [u8]); fn next(&mut self) -> Option { - use trie::Recorder; + use sp_trie::Recorder; - let trie = TrieDB::new(&self.trie_storage, &self.root) - .expect("`Branches` is only created with a valid memorydb that contains all nodes for the trie with given root; qed"); + let mut recorder = Recorder::>::new(); + let res = { + let trie = TrieDBBuilder::new(&self.trie_storage, &self.root) + .with_recorder(&mut recorder) + .build(); - let mut recorder = Recorder::new(); - let res = (self.current_pos as u32).using_encoded(|s| trie.get_with(s, &mut recorder)); + (self.current_pos as u32).using_encoded(|s| trie.get(s)) + }; match res.expect("all nodes in trie present; qed") { Some(_) => { @@ -257,7 +260,7 @@ where // construct trie mapping each chunk's index to its hash. { - let mut trie = TrieDBMut::new(&mut trie_storage, &mut root); + let mut trie = TrieDBMutBuilder::new(&mut trie_storage, &mut root).build(); for (i, chunk) in chunks.as_ref().iter().enumerate() { (i as u32).using_encoded(|encoded_index| { let chunk_hash = BlakeTwo256::hash(chunk.as_ref()); @@ -275,10 +278,10 @@ where pub fn branch_hash(root: &H256, branch_nodes: &Proof, index: usize) -> Result { let mut trie_storage: MemoryDB = MemoryDB::default(); for node in branch_nodes.iter() { - (&mut trie_storage as &mut trie::HashDB<_>).insert(EMPTY_PREFIX, node); + (&mut trie_storage as &mut sp_trie::HashDB<_>).insert(EMPTY_PREFIX, node); } - let trie = TrieDB::new(&trie_storage, &root).map_err(|_| Error::InvalidBranchProof)?; + let trie = TrieDBBuilder::new(&trie_storage, &root).build(); let res = (index as u32).using_encoded(|key| { trie.get_with(key, |raw_hash: &[u8]| H256::decode(&mut &raw_hash[..])) }); diff --git a/node/test/service/src/lib.rs b/node/test/service/src/lib.rs index 6e7e4d0e0b87..9b5e55289832 100644 --- a/node/test/service/src/lib.rs +++ b/node/test/service/src/lib.rs @@ -176,8 +176,7 @@ pub fn node_config( keystore: KeystoreConfig::InMemory, keystore_remote: Default::default(), database: DatabaseSource::RocksDb { path: root.join("db"), cache_size: 128 }, - state_cache_size: 16777216, - state_cache_child_ratio: None, + trie_cache_maximum_size: Some(64 * 1024 * 1024), state_pruning: Default::default(), blocks_pruning: BlocksPruning::All, chain_spec: Box::new(spec), diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index f9bd21faf573..4c20dc4de682 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -57,7 +57,6 @@ frame-support-test = { git = "https://github.com/paritytech/substrate", branch = pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -trie-db = "0.23.1" serde_json = "1.0.81" libsecp256k1 = "0.7.0" test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../primitives/test-helpers" } diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index a07de073ad72..35f36813ef02 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -96,7 +96,6 @@ hex-literal = "0.3.4" tiny-keccak = { version = "2.0.2", features = ["keccak"] } keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -trie-db = "0.23.1" serde_json = "1.0.81" separator = "0.4.1" remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 86582ea05a3d..d745e109be4d 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -717,20 +717,6 @@ impl pallet_beefy_mmr::Config for Runtime { type BeefyDataProvider = ParasProvider; } -parameter_types! { - /// This is a pretty unscientific cap. - /// - /// Note that once this is hit the pallet will essentially throttle incoming requests down to one - /// call per block. - pub const MaxRequests: u32 = 4 * HOURS as u32; - - /// Number of headers to keep. - /// - /// Assuming the worst case of every header being finalized, we will keep headers at least for a - /// week. - pub const HeadersToKeep: u32 = 7 * DAYS as u32; -} - parameter_types! { pub const EndingPeriod: BlockNumber = 1 * HOURS; pub const SampleLength: BlockNumber = 1; From 8a8e831f124a84d8f0d5c0250776e6ee565a07a9 Mon Sep 17 00:00:00 2001 From: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Date: Mon, 22 Aug 2022 19:07:03 +0300 Subject: [PATCH 08/23] pin gha versions (#5916) --- .github/workflows/auto-label-prs.yml | 4 ++-- .github/workflows/release-10_candidate.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-label-prs.yml b/.github/workflows/auto-label-prs.yml index f0b8e9b343e2..50539b80b98b 100644 --- a/.github/workflows/auto-label-prs.yml +++ b/.github/workflows/auto-label-prs.yml @@ -8,13 +8,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Label drafts - uses: andymckay/labeler@master + uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # 1.0.4 if: github.event.pull_request.draft == true with: add-labels: 'A3-inprogress' remove-labels: 'A0-pleasereview' - name: Label PRs - uses: andymckay/labeler@master + uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # 1.0.4 if: github.event.pull_request.draft == false && ! contains(github.event.pull_request.labels.*.name, 'A2-insubstantial') with: add-labels: 'A0-pleasereview' diff --git a/.github/workflows/release-10_candidate.yml b/.github/workflows/release-10_candidate.yml index 51a82bc4f593..acffa6842d49 100644 --- a/.github/workflows/release-10_candidate.yml +++ b/.github/workflows/release-10_candidate.yml @@ -34,7 +34,7 @@ jobs: echo "::set-output name=first_rc::true" fi - name: Apply new tag - uses: tvdias/github-tagger@v0.0.2 + uses: tvdias/github-tagger@ed7350546e3e503b5e942dffd65bc8751a95e49d # v0.0.2 with: # We can't use the normal GITHUB_TOKEN for the following reason: # https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token @@ -42,7 +42,7 @@ jobs: repo-token: "${{ secrets.RELEASE_BRANCH_TOKEN }}" tag: ${{ steps.compute_tag.outputs.new_tag }} - id: create-issue - uses: JasonEtco/create-an-issue@v2 + uses: JasonEtco/create-an-issue@9e6213aec58987fa7d2f4deb8b256b99e63107a2 # v2.6.0 # Only create the issue if it's the first release candidate if: steps.compute_tag.outputs.first_rc == 'true' env: From 0ace38a394b0f61faddf356c36d5a480af918585 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Mon, 22 Aug 2022 19:45:54 +0300 Subject: [PATCH 09/23] Companion to Substrate PR 12006 (#5913) * Fix import to make it compatible with https://github.com/paritytech/substrate/pull/12006 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 349 +++++++++++++++-------------- node/network/bridge/src/network.rs | 9 +- 2 files changed, 180 insertions(+), 178 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0f65ff847ee5..13743f95a975 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -423,7 +423,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "beefy-primitives", @@ -459,7 +459,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -479,7 +479,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "beefy-primitives", "sp-api", @@ -488,7 +488,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "scale-info", @@ -1974,7 +1974,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", ] @@ -1992,7 +1992,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -2015,7 +2015,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "Inflector", "chrono", @@ -2066,7 +2066,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2077,7 +2077,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2093,7 +2093,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -2121,7 +2121,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "bitflags", "frame-metadata", @@ -2152,7 +2152,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2164,7 +2164,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2176,7 +2176,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "proc-macro2", "quote", @@ -2186,7 +2186,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2209,7 +2209,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "log", @@ -2237,7 +2237,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -2252,7 +2252,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "sp-api", @@ -2261,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "sp-api", @@ -2443,7 +2443,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "chrono", "frame-election-provider-support", @@ -4816,7 +4816,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -4830,7 +4830,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -4846,7 +4846,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -4861,7 +4861,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -4885,7 +4885,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4924,7 +4924,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -4939,7 +4939,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "beefy-primitives", "frame-support", @@ -4955,7 +4955,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4978,7 +4978,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5032,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5048,7 +5048,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5071,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5084,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5102,7 +5102,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5156,7 +5156,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5193,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5210,7 +5210,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5228,7 +5228,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5243,7 +5243,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5258,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -5275,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5294,7 +5294,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "sp-api", @@ -5304,7 +5304,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -5321,7 +5321,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5375,7 +5375,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5390,7 +5390,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -5427,7 +5427,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -5457,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5480,7 +5480,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5491,7 +5491,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "log", "sp-arithmetic", @@ -5500,7 +5500,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -5514,7 +5514,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5532,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5551,7 +5551,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-support", "frame-system", @@ -5567,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5582,7 +5582,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5593,7 +5593,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5610,7 +5610,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-benchmarking", "frame-support", @@ -8100,7 +8100,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8442,7 +8442,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "log", "sp-core", @@ -8453,7 +8453,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "futures-timer", @@ -8465,7 +8465,6 @@ dependencies = [ "prost-build", "rand 0.7.3", "sc-client-api", - "sc-network", "sc-network-common", "sp-api", "sp-authority-discovery", @@ -8480,7 +8479,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "futures-timer", @@ -8503,7 +8502,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8519,13 +8518,13 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", "parity-scale-codec", "sc-chain-spec-derive", - "sc-network", + "sc-network-common", "sc-telemetry", "serde", "serde_json", @@ -8536,7 +8535,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8547,7 +8546,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "chrono", "clap", @@ -8586,7 +8585,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "fnv", "futures", @@ -8614,7 +8613,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "hash-db", "kvdb", @@ -8639,7 +8638,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "futures", @@ -8663,7 +8662,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "fork-tree", @@ -8705,7 +8704,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "jsonrpsee", @@ -8727,7 +8726,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8740,7 +8739,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "futures", @@ -8765,7 +8764,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8792,7 +8791,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "environmental", "parity-scale-codec", @@ -8808,7 +8807,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "log", "parity-scale-codec", @@ -8823,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8843,7 +8842,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "ahash", "async-trait", @@ -8884,7 +8883,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "finality-grandpa", "futures", @@ -8905,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "ansi_term", "futures", @@ -8922,7 +8921,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "hex", @@ -8937,7 +8936,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "asynchronous-codec", @@ -8986,7 +8985,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "bitflags", @@ -8997,6 +8996,7 @@ dependencies = [ "prost-build", "sc-consensus", "sc-peerset", + "serde", "smallvec", "sp-consensus", "sp-finality-grandpa", @@ -9007,7 +9007,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "ahash", "futures", @@ -9015,8 +9015,8 @@ dependencies = [ "libp2p", "log", "lru 0.7.8", - "sc-network", "sc-network-common", + "sc-peerset", "sp-runtime", "substrate-prometheus-endpoint", "tracing", @@ -9025,7 +9025,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "hex", @@ -9046,7 +9046,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "fork-tree", "futures", @@ -9074,7 +9074,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "bytes", "fnv", @@ -9083,14 +9083,15 @@ dependencies = [ "hex", "hyper", "hyper-rustls", + "libp2p", "num_cpus", "once_cell", "parity-scale-codec", "parking_lot 0.12.0", "rand 0.7.3", "sc-client-api", - "sc-network", "sc-network-common", + "sc-peerset", "sc-utils", "sp-api", "sp-core", @@ -9103,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "libp2p", @@ -9116,7 +9117,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9125,7 +9126,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "hash-db", @@ -9155,7 +9156,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "jsonrpsee", @@ -9178,7 +9179,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "jsonrpsee", @@ -9191,7 +9192,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "directories", @@ -9258,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "log", "parity-scale-codec", @@ -9272,7 +9273,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9291,7 +9292,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "libc", @@ -9310,7 +9311,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "chrono", "futures", @@ -9328,7 +9329,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "ansi_term", "atty", @@ -9359,7 +9360,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9370,7 +9371,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "futures-timer", @@ -9396,7 +9397,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "log", @@ -9409,7 +9410,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "futures-timer", @@ -9894,7 +9895,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "hash-db", "log", @@ -9912,7 +9913,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "blake2", "proc-macro-crate", @@ -9924,7 +9925,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "scale-info", @@ -9937,7 +9938,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "integer-sqrt", "num-traits", @@ -9952,7 +9953,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "scale-info", @@ -9965,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "parity-scale-codec", @@ -9977,7 +9978,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "sp-api", @@ -9989,7 +9990,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "log", @@ -10007,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "futures", @@ -10026,7 +10027,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "merlin", @@ -10049,7 +10050,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "scale-info", @@ -10063,7 +10064,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "scale-info", @@ -10076,7 +10077,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "base58", "bitflags", @@ -10122,7 +10123,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "blake2", "byteorder", @@ -10136,7 +10137,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "proc-macro2", "quote", @@ -10147,7 +10148,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -10156,7 +10157,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "proc-macro2", "quote", @@ -10166,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "environmental", "parity-scale-codec", @@ -10177,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "finality-grandpa", "log", @@ -10195,7 +10196,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10209,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "bytes", "futures", @@ -10235,7 +10236,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "lazy_static", "sp-core", @@ -10246,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "futures", @@ -10263,7 +10264,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "thiserror", "zstd", @@ -10272,7 +10273,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "log", "parity-scale-codec", @@ -10287,7 +10288,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "scale-info", @@ -10301,7 +10302,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "sp-api", "sp-core", @@ -10311,7 +10312,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "backtrace", "lazy_static", @@ -10321,7 +10322,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "rustc-hash", "serde", @@ -10331,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "either", "hash256-std-hasher", @@ -10353,7 +10354,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10371,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "Inflector", "proc-macro-crate", @@ -10383,7 +10384,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "log", "parity-scale-codec", @@ -10397,7 +10398,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "scale-info", @@ -10411,7 +10412,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "scale-info", @@ -10422,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "hash-db", "log", @@ -10444,12 +10445,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10462,7 +10463,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "log", "sp-core", @@ -10475,7 +10476,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "futures-timer", @@ -10491,7 +10492,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "sp-std", @@ -10503,7 +10504,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "sp-api", "sp-runtime", @@ -10512,7 +10513,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "log", @@ -10528,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "ahash", "hash-db", @@ -10551,7 +10552,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10568,7 +10569,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10579,7 +10580,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "impl-trait-for-tuples", "log", @@ -10753,7 +10754,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "platforms", ] @@ -10761,7 +10762,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10782,7 +10783,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures-util", "hyper", @@ -10795,7 +10796,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "jsonrpsee", "log", @@ -10816,7 +10817,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "async-trait", "futures", @@ -10842,7 +10843,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10852,7 +10853,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10863,7 +10864,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "ansi_term", "build-helper", @@ -11577,7 +11578,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#00cc5f104176fac6f5a624bced22a2192c7c0470" +source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" dependencies = [ "clap", "jsonrpsee", diff --git a/node/network/bridge/src/network.rs b/node/network/bridge/src/network.rs index 00a950f35c54..e80094588e33 100644 --- a/node/network/bridge/src/network.rs +++ b/node/network/bridge/src/network.rs @@ -22,11 +22,12 @@ use futures::{prelude::*, stream::BoxStream}; use parity_scale_codec::Encode; use sc_network::{ - config::parse_addr, multiaddr::Multiaddr, Event as NetworkEvent, IfDisconnected, - NetworkService, OutboundFailure, RequestFailure, + multiaddr::Multiaddr, Event as NetworkEvent, IfDisconnected, NetworkService, OutboundFailure, + RequestFailure, }; -use sc_network_common::service::{ - NetworkEventStream, NetworkNotification, NetworkPeers, NetworkRequest, +use sc_network_common::{ + config::parse_addr, + service::{NetworkEventStream, NetworkNotification, NetworkPeers, NetworkRequest}, }; use polkadot_node_network_protocol::{ From c5485258843c5cab6885645c926177fe7b9cdb4f Mon Sep 17 00:00:00 2001 From: Mak Date: Mon, 22 Aug 2022 21:38:38 +0300 Subject: [PATCH 10/23] Fix output file for updating weights in run_benches_for_runtime.sh (#5906) --- scripts/ci/run_benches_for_runtime.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/ci/run_benches_for_runtime.sh b/scripts/ci/run_benches_for_runtime.sh index 8149195c82c4..cd9cb5be8e98 100755 --- a/scripts/ci/run_benches_for_runtime.sh +++ b/scripts/ci/run_benches_for_runtime.sh @@ -29,6 +29,12 @@ rm -f $ERR_FILE for PALLET in "${PALLETS[@]}"; do echo "[+] Benchmarking $PALLET for $runtime"; + output_file="" + if [[ $PALLET == *"::"* ]]; then + # translates e.g. "pallet_foo::bar" to "pallet_foo_bar" + output_file="${PALLET//::/_}.rs" + fi + OUTPUT=$( ./target/production/polkadot benchmark pallet \ --chain="${runtime}-dev" \ @@ -39,7 +45,7 @@ for PALLET in "${PALLETS[@]}"; do --execution=wasm \ --wasm-execution=compiled \ --header=./file_header.txt \ - --output="./runtime/${runtime}/src/weights/${PALLET/::/_}.rs" 2>&1 + --output="./runtime/${runtime}/src/weights/${output_file}" 2>&1 ) if [ $? -ne 0 ]; then echo "$OUTPUT" >> "$ERR_FILE" From bdca1c9f377951cf2f95e6cbb10e382b08dc252d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Aug 2022 09:02:57 +0000 Subject: [PATCH 11/23] Bump hyper from 0.14.19 to 0.14.20 (#5901) Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.19 to 0.14.20. - [Release notes](https://github.com/hyperium/hyper/releases) - [Changelog](https://github.com/hyperium/hyper/blob/v0.14.20/CHANGELOG.md) - [Commits](https://github.com/hyperium/hyper/compare/v0.14.19...v0.14.20) --- updated-dependencies: - dependency-name: hyper dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- node/metrics/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 13743f95a975..8e9620a3bde5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2788,9 +2788,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.19" +version = "0.14.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42dc3c131584288d375f2d07f822b0cb012d8c6fb899a5b9fdb3cb7eb9b6004f" +checksum = "02c929dc5c39e335a03c405292728118860721b10190d98c2a0f0efd5baafbac" dependencies = [ "bytes", "futures-channel", diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index 6cbc5a1124cc..c0f7aeb5b6c4 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -27,7 +27,7 @@ log = "0.4.17" assert_cmd = "2.0.4" nix = "0.24.1" tempfile = "3.2.0" -hyper = { version = "0.14.19", default-features = false, features = ["http1", "tcp"] } +hyper = { version = "0.14.20", default-features = false, features = ["http1", "tcp"] } tokio = "1.19.2" polkadot-test-service = { path = "../test/service", features=["runtime-metrics"]} substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } From a69eba01d516923d7490af446c542ddfff8f0aa7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Aug 2022 09:04:01 +0000 Subject: [PATCH 12/23] Bump proc-macro2 from 1.0.40 to 1.0.43 (#5878) Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.40 to 1.0.43. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.40...1.0.43) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- node/gum/proc-macro/Cargo.toml | 2 +- node/orchestra/proc-macro/Cargo.toml | 2 +- xcm/procedural/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8e9620a3bde5..1e13ce05c3a3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7662,9 +7662,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.40" +version = "1.0.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7" +checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" dependencies = [ "unicode-ident", ] diff --git a/node/gum/proc-macro/Cargo.toml b/node/gum/proc-macro/Cargo.toml index 4691f00f60aa..b18d1b82c7fa 100644 --- a/node/gum/proc-macro/Cargo.toml +++ b/node/gum/proc-macro/Cargo.toml @@ -14,7 +14,7 @@ proc-macro = true [dependencies] syn = { version = "1.0.95", features = ["full", "extra-traits"] } quote = "1.0.20" -proc-macro2 = "1.0.40" +proc-macro2 = "1.0.43" proc-macro-crate = "1.1.3" expander = "0.0.6" diff --git a/node/orchestra/proc-macro/Cargo.toml b/node/orchestra/proc-macro/Cargo.toml index e7873f4571bd..bd0551e2e005 100644 --- a/node/orchestra/proc-macro/Cargo.toml +++ b/node/orchestra/proc-macro/Cargo.toml @@ -16,7 +16,7 @@ proc-macro = true [dependencies] syn = { version = "1.0.95", features = ["full", "extra-traits"] } quote = "1.0.20" -proc-macro2 = "1.0.40" +proc-macro2 = "1.0.43" proc-macro-crate = "1.1.3" expander = { version = "0.0.6", default-features = false } petgraph = "0.6.0" diff --git a/xcm/procedural/Cargo.toml b/xcm/procedural/Cargo.toml index fcc4ff4d28c7..6c80f48a9d71 100644 --- a/xcm/procedural/Cargo.toml +++ b/xcm/procedural/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" proc-macro = true [dependencies] -proc-macro2 = "1.0.40" +proc-macro2 = "1.0.43" quote = "1.0.20" syn = "1.0.95" Inflector = "0.11.4" From 1903e3d8ed431f7ef557af5c41bbc12f8aaa4f5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Aug 2022 14:03:11 +0200 Subject: [PATCH 13/23] Bump indexmap from 1.9.0 to 1.9.1 (#5918) Bumps [indexmap](https://github.com/bluss/indexmap) from 1.9.0 to 1.9.1. - [Release notes](https://github.com/bluss/indexmap/releases) - [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/bluss/indexmap/compare/1.9.0...1.9.1) --- updated-dependencies: - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- node/network/statement-distribution/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1e13ce05c3a3..44650a7a5671 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2914,9 +2914,9 @@ checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683" [[package]] name = "indexmap" -version = "1.9.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c6392766afd7964e2531940894cffe4bd8d7d17dbc3c1c4857040fd4b33bdb3" +checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" dependencies = [ "autocfg", "hashbrown 0.12.3", diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index ee32cdc7a90d..404ce3bf606c 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -16,7 +16,7 @@ polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } polkadot-node-network-protocol = { path = "../../network/protocol" } arrayvec = "0.5.2" -indexmap = "1.9.0" +indexmap = "1.9.1" parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } thiserror = "1.0.31" fatality = "0.0.6" From f23b88302570f800234bacc6f92153b9433e3429 Mon Sep 17 00:00:00 2001 From: Javier Viola Date: Tue, 23 Aug 2022 15:24:17 -0300 Subject: [PATCH 14/23] chore: bump zombienet version (#5914) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 94f700f7b985..91ac364a8a06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ variables: CI_IMAGE: "paritytech/ci-linux:production" DOCKER_OS: "debian:stretch" ARCH: "x86_64" - ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.51" + ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.56" PIPELINE_SCRIPTS_TAG: "v0.4" default: From 54a299f8b4b9abd419421d51d9d66b46fdd98952 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Wed, 24 Aug 2022 17:44:13 +0200 Subject: [PATCH 15/23] Send back empty votes + log in approval-voting in case candidate entry is missing. (#5925) * Send back empty votes + log. * Update node/core/approval-voting/src/lib.rs Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> --- node/core/approval-voting/src/lib.rs | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index 342fc0341b99..ac025f366ab7 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -1210,8 +1210,24 @@ async fn get_approval_signatures_for_candidate( candidate_hash: CandidateHash, tx: oneshot::Sender>, ) -> SubsystemResult<()> { + let send_votes = |votes| { + if let Err(_) = tx.send(votes) { + gum::debug!( + target: LOG_TARGET, + "Sending approval signatures back failed, as receiver got closed." + ); + } + }; let entry = match db.load_candidate_entry(&candidate_hash)? { - None => return Ok(()), + None => { + send_votes(HashMap::new()); + gum::debug!( + target: LOG_TARGET, + ?candidate_hash, + "Sent back empty votes because the candidate was not found in db." + ); + return Ok(()) + }, Some(e) => e, }; @@ -1261,13 +1277,7 @@ async fn get_approval_signatures_for_candidate( target: LOG_TARGET, "Request for approval signatures got cancelled by `approval-distribution`." ), - Some(Ok(votes)) => - if let Err(_) = tx.send(votes) { - gum::debug!( - target: LOG_TARGET, - "Sending approval signatures back failed, as receiver got closed" - ); - }, + Some(Ok(votes)) => send_votes(votes), } }; From a7741c11fae420b226a0054aa64057c4447cf38f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Aug 2022 21:13:45 +0000 Subject: [PATCH 16/23] Bump async-trait from 0.1.56 to 0.1.57 (#5919) Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.56 to 0.1.57. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57) --- updated-dependencies: - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- node/core/approval-voting/Cargo.toml | 2 +- node/core/candidate-validation/Cargo.toml | 2 +- node/core/parachains-inherent/Cargo.toml | 2 +- node/malus/Cargo.toml | 2 +- node/network/bridge/Cargo.toml | 2 +- node/network/dispute-distribution/Cargo.toml | 2 +- node/network/gossip-support/Cargo.toml | 2 +- node/network/protocol/Cargo.toml | 2 +- node/overseer/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- node/subsystem-test-helpers/Cargo.toml | 2 +- node/subsystem-types/Cargo.toml | 2 +- node/subsystem-util/Cargo.toml | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 44650a7a5671..a10aa2823625 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -327,9 +327,9 @@ checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0" [[package]] name = "async-trait" -version = "0.1.56" +version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96cf8829f67d2eab0b2dfa42c5d0ef737e0724e4a82b01b3e292456202b19716" +checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" dependencies = [ "proc-macro2", "quote", diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index e6ac7d8ea1cf..cd2e01a7683e 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -31,7 +31,7 @@ sp-application-crypto = { git = "https://github.com/paritytech/substrate", branc sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] -async-trait = "0.1.56" +async-trait = "0.1.57" parking_lot = "0.12.0" rand_core = "0.5.1" # should match schnorrkel sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index 930ccf52db9f..02c422f8e004 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Parity Technologies "] edition = "2021" [dependencies] -async-trait = "0.1.53" +async-trait = "0.1.57" futures = "0.3.21" gum = { package = "tracing-gum", path = "../../gum" } diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index 3f13c023dc6d..513494689a52 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -9,7 +9,7 @@ futures = "0.3.21" futures-timer = "3.0.2" gum = { package = "tracing-gum", path = "../../gum" } thiserror = "1.0.31" -async-trait = "0.1.53" +async-trait = "0.1.57" polkadot-node-subsystem = { path = "../../subsystem" } polkadot-primitives = { path = "../../../primitives" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index d1de81729e94..e5325fe3fcc9 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -26,7 +26,7 @@ polkadot-node-core-pvf = { path = "../core/pvf" } parity-util-mem = { version = "0.11.0", default-features = false, features = ["jemalloc-global"] } color-eyre = { version = "0.6.1", default-features = false } assert_matches = "1.5" -async-trait = "0.1.53" +async-trait = "0.1.57" sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } clap = { version = "3.1", features = ["derive"] } diff --git a/node/network/bridge/Cargo.toml b/node/network/bridge/Cargo.toml index dfafb2c954ba..5645d552ef89 100644 --- a/node/network/bridge/Cargo.toml +++ b/node/network/bridge/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] always-assert = "0.1" -async-trait = "0.1.53" +async-trait = "0.1.57" futures = "0.3.21" gum = { package = "tracing-gum", path = "../../gum" } polkadot-primitives = { path = "../../../primitives" } diff --git a/node/network/dispute-distribution/Cargo.toml b/node/network/dispute-distribution/Cargo.toml index 321c66cc789f..e5513473bc10 100644 --- a/node/network/dispute-distribution/Cargo.toml +++ b/node/network/dispute-distribution/Cargo.toml @@ -23,7 +23,7 @@ fatality = "0.0.6" lru = "0.7.7" [dev-dependencies] -async-trait = "0.1.53" +async-trait = "0.1.57" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index 2072f8a65809..10fc3a26453c 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -30,5 +30,5 @@ sp-authority-discovery = { git = "https://github.com/paritytech/substrate", bran polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.4.0" -async-trait = "0.1.53" +async-trait = "0.1.57" lazy_static = "1.4.0" diff --git a/node/network/protocol/Cargo.toml b/node/network/protocol/Cargo.toml index 8b863089cc91..161954e8e2e4 100644 --- a/node/network/protocol/Cargo.toml +++ b/node/network/protocol/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" description = "Primitives types for the Node-side" [dependencies] -async-trait = "0.1.53" +async-trait = "0.1.57" hex = "0.4.3" polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 3b43de9f8095..6b4cb73672a8 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -20,7 +20,7 @@ gum = { package = "tracing-gum", path = "../gum" } lru = "0.7" parity-util-mem = { version = "0.11.0", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -async-trait = "0.1.56" +async-trait = "0.1.57" [dev-dependencies] metered = { package = "prioritized-metered-channel", path = "../metered-channel" } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 57533e577665..17ce306cc962 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -70,7 +70,7 @@ thiserror = "1.0.31" kvdb = "0.11.0" kvdb-rocksdb = { version = "0.15.2", optional = true } parity-db = { version = "0.3.16", optional = true } -async-trait = "0.1.53" +async-trait = "0.1.57" lru = "0.7" # Polkadot diff --git a/node/subsystem-test-helpers/Cargo.toml b/node/subsystem-test-helpers/Cargo.toml index 6b079aea9d17..6008423e9784 100644 --- a/node/subsystem-test-helpers/Cargo.toml +++ b/node/subsystem-test-helpers/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" description = "Subsystem traits and message definitions" [dependencies] -async-trait = "0.1.53" +async-trait = "0.1.57" futures = "0.3.21" parking_lot = "0.12.0" polkadot-node-subsystem = { path = "../subsystem" } diff --git a/node/subsystem-types/Cargo.toml b/node/subsystem-types/Cargo.toml index 3613a7177e9d..8f773816bf5e 100644 --- a/node/subsystem-types/Cargo.toml +++ b/node/subsystem-types/Cargo.toml @@ -21,4 +21,4 @@ sp-authority-discovery = { git = "https://github.com/paritytech/substrate", bran smallvec = "1.8.0" substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.31" -async-trait = "0.1.56" +async-trait = "0.1.57" diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 14f827fd4a5a..dc3b0f20b440 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" description = "Subsystem traits and message definitions" [dependencies] -async-trait = "0.1.53" +async-trait = "0.1.57" futures = "0.3.21" itertools = "0.10" parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } From c3d5882a64e5330a04d9b2486891e30ac9c58768 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Thu, 25 Aug 2022 11:13:44 +0200 Subject: [PATCH 17/23] Clean up MigrateToV10 (#5921) * Clean up MigrateToV10 * fixup --- runtime/kusama/src/lib.rs | 2 +- runtime/polkadot/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 12b9554c5cff..3584d0363ab2 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1446,7 +1446,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (pallet_staking::migrations::v10::MigrateToV10,), + (), >; /// The payload being signed in the transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 9489df9f403c..502c116a7371 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1571,7 +1571,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (pallet_staking::migrations::v10::MigrateToV10, InitiateNominationPools), + InitiateNominationPools, >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 788aede78092..9d330677b55d 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1160,7 +1160,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (pallet_staking::migrations::v10::MigrateToV10,), + (), >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; From e75f89128d92e7aa8bbd939c8909e4f7de5f821b Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Thu, 25 Aug 2022 12:11:40 +0200 Subject: [PATCH 18/23] update weights (#5911) * rococo: update weigths * polkadot: update weigths * kusama: update weigths * westend: update weights Co-authored-by: parity-processbot <> --- .../constants/src/weights/block_weights.rs | 20 +-- .../weights/frame_benchmarking_baseline.rs | 22 ++-- .../frame_election_provider_support.rs | 20 +-- runtime/kusama/src/weights/frame_system.rs | 12 +- .../kusama/src/weights/pallet_bags_list.rs | 10 +- runtime/kusama/src/weights/pallet_balances.rs | 18 +-- runtime/kusama/src/weights/pallet_bounties.rs | 28 ++-- .../src/weights/pallet_child_bounties.rs | 20 +-- .../kusama/src/weights/pallet_democracy.rs | 108 ++++++++-------- .../pallet_election_provider_multi_phase.rs | 62 +++++---- .../src/weights/pallet_elections_phragmen.rs | 52 ++++---- runtime/kusama/src/weights/pallet_gilt.rs | 32 ++--- runtime/kusama/src/weights/pallet_identity.rs | 112 ++++++++-------- .../kusama/src/weights/pallet_im_online.rs | 12 +- runtime/kusama/src/weights/pallet_indices.rs | 14 +- .../kusama/src/weights/pallet_membership.rs | 36 +++--- runtime/kusama/src/weights/pallet_multisig.rs | 52 ++++---- .../src/weights/pallet_nomination_pools.rs | 46 +++---- runtime/kusama/src/weights/pallet_preimage.rs | 22 ++-- runtime/kusama/src/weights/pallet_proxy.rs | 72 ++++++----- .../kusama/src/weights/pallet_scheduler.rs | 78 ++++++------ runtime/kusama/src/weights/pallet_session.rs | 8 +- runtime/kusama/src/weights/pallet_staking.rs | 118 +++++++++-------- .../kusama/src/weights/pallet_timestamp.rs | 8 +- runtime/kusama/src/weights/pallet_tips.rs | 32 ++--- runtime/kusama/src/weights/pallet_treasury.rs | 22 ++-- runtime/kusama/src/weights/pallet_utility.rs | 24 ++-- runtime/kusama/src/weights/pallet_vesting.rs | 64 +++++----- .../src/weights/runtime_common_auctions.rs | 12 +- .../src/weights/runtime_common_claims.rs | 14 +- .../src/weights/runtime_common_crowdloan.rs | 24 ++-- .../weights/runtime_common_paras_registrar.rs | 14 +- .../src/weights/runtime_common_slots.rs | 18 +-- .../runtime_parachains_configuration.rs | 14 +- .../weights/runtime_parachains_disputes.rs | 6 +- .../src/weights/runtime_parachains_hrmp.rs | 36 +++--- .../weights/runtime_parachains_initializer.rs | 6 +- .../src/weights/runtime_parachains_paras.rs | 22 ++-- .../runtime_parachains_paras_inherent.rs | 20 +-- .../src/weights/runtime_parachains_ump.rs | 10 +- .../constants/src/weights/block_weights.rs | 18 +-- .../weights/frame_benchmarking_baseline.rs | 26 ++-- .../frame_election_provider_support.rs | 18 +-- runtime/polkadot/src/weights/frame_system.rs | 10 +- .../polkadot/src/weights/pallet_bags_list.rs | 8 +- .../polkadot/src/weights/pallet_balances.rs | 16 +-- .../polkadot/src/weights/pallet_bounties.rs | 26 ++-- .../src/weights/pallet_child_bounties.rs | 18 +-- .../polkadot/src/weights/pallet_democracy.rs | 100 +++++++-------- .../pallet_election_provider_multi_phase.rs | 60 ++++----- .../src/weights/pallet_elections_phragmen.rs | 50 ++++---- .../polkadot/src/weights/pallet_identity.rs | 110 ++++++++-------- .../polkadot/src/weights/pallet_im_online.rs | 10 +- .../polkadot/src/weights/pallet_indices.rs | 12 +- .../polkadot/src/weights/pallet_membership.rs | 28 ++-- .../polkadot/src/weights/pallet_multisig.rs | 48 +++---- .../src/weights/pallet_nomination_pools.rs | 55 ++++---- .../polkadot/src/weights/pallet_preimage.rs | 20 +-- runtime/polkadot/src/weights/pallet_proxy.rs | 62 ++++----- .../polkadot/src/weights/pallet_scheduler.rs | 78 ++++++------ .../polkadot/src/weights/pallet_session.rs | 6 +- .../polkadot/src/weights/pallet_staking.rs | 116 +++++++++-------- .../polkadot/src/weights/pallet_timestamp.rs | 6 +- runtime/polkadot/src/weights/pallet_tips.rs | 30 ++--- .../polkadot/src/weights/pallet_treasury.rs | 18 +-- .../polkadot/src/weights/pallet_utility.rs | 20 +-- .../polkadot/src/weights/pallet_vesting.rs | 64 +++++----- .../src/weights/runtime_common_auctions.rs | 10 +- .../src/weights/runtime_common_claims.rs | 12 +- .../src/weights/runtime_common_crowdloan.rs | 24 ++-- .../weights/runtime_common_paras_registrar.rs | 12 +- .../src/weights/runtime_common_slots.rs | 16 +-- .../runtime_parachains_configuration.rs | 12 +- .../weights/runtime_parachains_disputes.rs | 4 +- .../weights/runtime_parachains_initializer.rs | 4 +- .../src/weights/runtime_parachains_paras.rs | 16 +-- .../runtime_parachains_paras_inherent.rs | 18 +-- .../constants/src/weights/block_weights.rs | 20 +-- runtime/rococo/src/weights/frame_system.rs | 12 +- runtime/rococo/src/weights/pallet_balances.rs | 18 +-- .../rococo/src/weights/pallet_collective.rs | 70 +++++----- .../rococo/src/weights/pallet_im_online.rs | 10 +- runtime/rococo/src/weights/pallet_indices.rs | 14 +- .../rococo/src/weights/pallet_membership.rs | 34 ++--- runtime/rococo/src/weights/pallet_multisig.rs | 54 ++++---- runtime/rococo/src/weights/pallet_proxy.rs | 66 +++++----- .../rococo/src/weights/pallet_timestamp.rs | 8 +- runtime/rococo/src/weights/pallet_utility.rs | 22 ++-- .../src/weights/runtime_common_auctions.rs | 12 +- .../src/weights/runtime_common_crowdloan.rs | 26 ++-- .../weights/runtime_common_paras_registrar.rs | 14 +- .../src/weights/runtime_common_slots.rs | 18 +-- .../runtime_parachains_configuration.rs | 14 +- .../weights/runtime_parachains_disputes.rs | 6 +- .../src/weights/runtime_parachains_hrmp.rs | 28 ++-- .../weights/runtime_parachains_initializer.rs | 8 +- .../src/weights/runtime_parachains_paras.rs | 18 +-- .../src/weights/runtime_parachains_ump.rs | 10 +- .../constants/src/weights/block_weights.rs | 20 +-- .../frame_election_provider_support.rs | 20 +-- runtime/westend/src/weights/frame_system.rs | 10 +- .../westend/src/weights/pallet_bags_list.rs | 10 +- .../westend/src/weights/pallet_balances.rs | 18 +-- .../pallet_election_provider_multi_phase.rs | 58 ++++----- .../westend/src/weights/pallet_identity.rs | 110 ++++++++-------- .../westend/src/weights/pallet_im_online.rs | 10 +- runtime/westend/src/weights/pallet_indices.rs | 14 +- .../westend/src/weights/pallet_multisig.rs | 40 +++--- .../src/weights/pallet_nomination_pools.rs | 48 ++++--- .../westend/src/weights/pallet_preimage.rs | 22 ++-- runtime/westend/src/weights/pallet_proxy.rs | 70 +++++----- .../westend/src/weights/pallet_scheduler.rs | 74 +++++------ runtime/westend/src/weights/pallet_session.rs | 8 +- runtime/westend/src/weights/pallet_staking.rs | 120 +++++++++--------- .../westend/src/weights/pallet_timestamp.rs | 8 +- runtime/westend/src/weights/pallet_utility.rs | 22 ++-- runtime/westend/src/weights/pallet_vesting.rs | 64 +++++----- .../src/weights/runtime_common_auctions.rs | 12 +- .../src/weights/runtime_common_crowdloan.rs | 26 ++-- .../weights/runtime_common_paras_registrar.rs | 14 +- .../src/weights/runtime_common_slots.rs | 18 +-- .../runtime_parachains_configuration.rs | 14 +- .../weights/runtime_parachains_disputes.rs | 6 +- .../src/weights/runtime_parachains_hrmp.rs | 36 +++--- .../weights/runtime_parachains_initializer.rs | 6 +- .../src/weights/runtime_parachains_paras.rs | 18 +-- .../runtime_parachains_paras_inherent.rs | 20 +-- .../src/weights/runtime_parachains_ump.rs | 10 +- 128 files changed, 1943 insertions(+), 1946 deletions(-) diff --git a/runtime/kusama/constants/src/weights/block_weights.rs b/runtime/kusama/constants/src/weights/block_weights.rs index 257dc483b72f..62040e22b956 100644 --- a/runtime/kusama/constants/src/weights/block_weights.rs +++ b/runtime/kusama/constants/src/weights/block_weights.rs @@ -16,8 +16,8 @@ // limitations under the License. //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29 (Y/M/D) -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19 (Y/M/D) +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -45,16 +45,16 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 6_070_338, 6_380_029 - /// Average: 6_124_337 - /// Median: 6_110_461 - /// Std-Dev: 52095.81 + /// Min, Max: 6_094_385, 6_351_993 + /// Average: 6_192_341 + /// Median: 6_193_838 + /// Std-Dev: 63893.84 /// /// Percentiles nanoseconds: - /// 99th: 6_274_637 - /// 95th: 6_222_840 - /// 75th: 6_141_364 - pub const BlockExecutionWeight: Weight = 6_124_337 * WEIGHT_PER_NANOS; + /// 99th: 6_332_047 + /// 95th: 6_308_225 + /// 75th: 6_236_204 + pub const BlockExecutionWeight: Weight = 6_192_341 * WEIGHT_PER_NANOS; } #[cfg(test)] diff --git a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs index bb41dffef14d..4aeaa3815e42 100644 --- a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl frame_benchmarking::baseline::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000000]`. fn addition(_i: u32, ) -> Weight { - (105_000 as Weight) + (123_000 as Weight) } /// The range of component `i` is `[0, 1000000]`. fn subtraction(_i: u32, ) -> Weight { @@ -54,28 +54,28 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh } /// The range of component `i` is `[0, 1000000]`. fn multiplication(_i: u32, ) -> Weight { - (106_000 as Weight) + (124_000 as Weight) } /// The range of component `i` is `[0, 1000000]`. fn division(_i: u32, ) -> Weight { - (105_000 as Weight) + (120_000 as Weight) } /// The range of component `i` is `[0, 100]`. fn hashing(_i: u32, ) -> Weight { - (19_763_311_000 as Weight) + (19_606_352_000 as Weight) } /// The range of component `i` is `[1, 100]`. fn sr25519_verification(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 13_000 - .saturating_add((47_392_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 38_000 + .saturating_add((47_929_000 as Weight).saturating_mul(i as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_read(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 3_000 - .saturating_add((2_160_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 4_000 + .saturating_add((2_101_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -83,7 +83,7 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh fn storage_write(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((329_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((330_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } } diff --git a/runtime/kusama/src/weights/frame_election_provider_support.rs b/runtime/kusama/src/weights/frame_election_provider_support.rs index 49d527627ffc..e8aad69db283 100644 --- a/runtime/kusama/src/weights/frame_election_provider_support.rs +++ b/runtime/kusama/src/weights/frame_election_provider_support.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -49,19 +49,19 @@ impl frame_election_provider_support::WeightInfo for We /// The range of component `d` is `[5, 16]`. fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 72_000 - .saturating_add((22_481_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 10_015_000 - .saturating_add((3_567_860_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 87_000 + .saturating_add((22_196_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 7_520_000 + .saturating_add((3_555_366_000 as Weight).saturating_mul(d as Weight)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 43_000 - .saturating_add((15_466_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 6_077_000 - .saturating_add((2_574_708_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 74_000 + .saturating_add((15_098_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 6_402_000 + .saturating_add((2_580_118_000 as Weight).saturating_mul(d as Weight)) } } diff --git a/runtime/kusama/src/weights/frame_system.rs b/runtime/kusama/src/weights/frame_system.rs index 18343e4c599a..1f166accd724 100644 --- a/runtime/kusama/src/weights/frame_system.rs +++ b/runtime/kusama/src/weights/frame_system.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -59,7 +59,7 @@ impl frame_system::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_235_000 as Weight) + (4_767_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((544_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((550_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((437_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((441_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -84,7 +84,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((951_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((955_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/kusama/src/weights/pallet_bags_list.rs b/runtime/kusama/src/weights/pallet_bags_list.rs index 19df7a0a0dbf..73acee116dab 100644 --- a/runtime/kusama/src/weights/pallet_bags_list.rs +++ b/runtime/kusama/src/weights/pallet_bags_list.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -49,7 +49,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:4 w:4) // Storage: VoterList ListBags (r:1 w:1) fn rebag_non_terminal() -> Weight { - (52_206_000 as Weight) + (50_938_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -58,7 +58,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn rebag_terminal() -> Weight { - (51_398_000 as Weight) + (49_843_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -68,7 +68,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) fn put_in_front_of() -> Weight { - (53_408_000 as Weight) + (51_965_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_balances.rs b/runtime/kusama/src/weights/pallet_balances.rs index c04cc9b1d07c..0b74fea4a227 100644 --- a/runtime/kusama/src/weights/pallet_balances.rs +++ b/runtime/kusama/src/weights/pallet_balances.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -46,43 +46,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (39_463_000 as Weight) + (38_958_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (30_607_000 as Weight) + (30_030_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (20_207_000 as Weight) + (19_591_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (23_389_000 as Weight) + (22_871_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (40_739_000 as Weight) + (39_215_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (36_277_000 as Weight) + (34_799_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (18_363_000 as Weight) + (17_925_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_bounties.rs b/runtime/kusama/src/weights/pallet_bounties.rs index 1babe1d30679..59384e0cd785 100644 --- a/runtime/kusama/src/weights/pallet_bounties.rs +++ b/runtime/kusama/src/weights/pallet_bounties.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -50,7 +50,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: Bounties Bounties (r:0 w:1) /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { - (27_254_000 as Weight) + (26_654_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -59,34 +59,34 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: Bounties Bounties (r:1 w:1) // Storage: Bounties BountyApprovals (r:1 w:1) fn approve_bounty() -> Weight { - (10_212_000 as Weight) + (9_776_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) fn propose_curator() -> Weight { - (8_615_000 as Weight) + (8_350_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn unassign_curator() -> Weight { - (37_881_000 as Weight) + (34_804_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn accept_curator() -> Weight { - (24_832_000 as Weight) + (23_414_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: ChildBounties ParentChildBounties (r:1 w:0) fn award_bounty() -> Weight { - (21_146_000 as Weight) + (20_148_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -95,7 +95,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn claim_bounty() -> Weight { - (67_333_000 as Weight) + (64_115_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -104,7 +104,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_proposed() -> Weight { - (40_217_000 as Weight) + (39_628_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -113,13 +113,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_active() -> Weight { - (49_667_000 as Weight) + (47_429_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) fn extend_bounty_expiry() -> Weight { - (18_359_000 as Weight) + (17_322_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -129,8 +129,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 100]`. fn spend_funds(b: u32, ) -> Weight { (0 as Weight) - // Standard Error: 17_000 - .saturating_add((31_363_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 30_000 + .saturating_add((30_775_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) diff --git a/runtime/kusama/src/weights/pallet_child_bounties.rs b/runtime/kusama/src/weights/pallet_child_bounties.rs index 7d4903701df2..b22034f6d873 100644 --- a/runtime/kusama/src/weights/pallet_child_bounties.rs +++ b/runtime/kusama/src/weights/pallet_child_bounties.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -52,7 +52,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (50_205_000 as Weight) + (48_890_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -62,7 +62,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (14_521_000 as Weight) + (14_114_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -70,7 +70,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (27_578_000 as Weight) + (26_807_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -78,14 +78,14 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (40_655_000 as Weight) + (39_640_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Bounties Bounties (r:1 w:0) // Storage: ChildBounties ChildBounties (r:1 w:1) fn award_child_bounty() -> Weight { - (22_166_000 as Weight) + (21_445_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -94,7 +94,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (68_894_000 as Weight) + (65_771_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -105,7 +105,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (47_875_000 as Weight) + (46_230_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -116,7 +116,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (57_649_000 as Weight) + (56_148_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_democracy.rs b/runtime/kusama/src/weights/pallet_democracy.rs index 2072f0ce1663..95c26f3f55b3 100644 --- a/runtime/kusama/src/weights/pallet_democracy.rs +++ b/runtime/kusama/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -49,16 +49,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (39_110_000 as Weight) + (37_453_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn second(s: u32, ) -> Weight { - (29_044_000 as Weight) - // Standard Error: 1_000 - .saturating_add((92_000 as Weight).saturating_mul(s as Weight)) + (27_807_000 as Weight) + // Standard Error: 0 + .saturating_add((69_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -67,9 +67,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn vote_new(r: u32, ) -> Weight { - (37_433_000 as Weight) - // Standard Error: 0 - .saturating_add((141_000 as Weight).saturating_mul(r as Weight)) + (35_336_000 as Weight) + // Standard Error: 1_000 + .saturating_add((120_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -78,16 +78,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn vote_existing(r: u32, ) -> Weight { - (37_107_000 as Weight) - // Standard Error: 0 - .saturating_add((144_000 as Weight).saturating_mul(r as Weight)) + (35_107_000 as Weight) + // Standard Error: 1_000 + .saturating_add((123_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (19_361_000 as Weight) + (17_752_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -99,9 +99,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `p` is `[1, 100]`. fn blacklist(p: u32, ) -> Weight { - (55_356_000 as Weight) - // Standard Error: 3_000 - .saturating_add((217_000 as Weight).saturating_mul(p as Weight)) + (52_116_000 as Weight) + // Standard Error: 6_000 + .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -109,27 +109,27 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) /// The range of component `v` is `[1, 100]`. fn external_propose(v: u32, ) -> Weight { - (10_610_000 as Weight) + (10_194_000 as Weight) // Standard Error: 0 - .saturating_add((34_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((10_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - (4_548_000 as Weight) + (3_700_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (4_048_000 as Weight) + (3_713_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (18_575_000 as Weight) + (17_441_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -137,9 +137,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:1) /// The range of component `v` is `[0, 100]`. fn veto_external(v: u32, ) -> Weight { - (19_583_000 as Weight) + (18_536_000 as Weight) // Standard Error: 0 - .saturating_add((64_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((42_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -148,24 +148,24 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `p` is `[1, 100]`. fn cancel_proposal(p: u32, ) -> Weight { - (43_699_000 as Weight) + (42_174_000 as Weight) // Standard Error: 1_000 - .saturating_add((213_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((164_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (13_183_000 as Weight) + (11_892_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn cancel_queued(r: u32, ) -> Weight { - (25_260_000 as Weight) - // Standard Error: 3_000 - .saturating_add((2_278_000 as Weight).saturating_mul(r as Weight)) + (23_252_000 as Weight) + // Standard Error: 5_000 + .saturating_add((2_242_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -174,9 +174,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:0) /// The range of component `r` is `[1, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - (1_423_000 as Weight) - // Standard Error: 2_000 - .saturating_add((3_140_000 as Weight).saturating_mul(r as Weight)) + (1_457_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_956_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -189,9 +189,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:0) /// The range of component `r` is `[1, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - (6_271_000 as Weight) - // Standard Error: 2_000 - .saturating_add((3_142_000 as Weight).saturating_mul(r as Weight)) + (6_240_000 as Weight) + // Standard Error: 3_000 + .saturating_add((2_963_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -201,9 +201,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn delegate(r: u32, ) -> Weight { - (38_463_000 as Weight) - // Standard Error: 3_000 - .saturating_add((4_029_000 as Weight).saturating_mul(r as Weight)) + (34_480_000 as Weight) + // Standard Error: 5_000 + .saturating_add((3_908_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -213,9 +213,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn undelegate(r: u32, ) -> Weight { - (20_905_000 as Weight) - // Standard Error: 3_000 - .saturating_add((4_016_000 as Weight).saturating_mul(r as Weight)) + (17_446_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_917_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -223,13 +223,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (4_325_000 as Weight) + (3_727_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) /// The range of component `b` is `[0, 16384]`. fn note_preimage(b: u32, ) -> Weight { - (26_596_000 as Weight) + (25_720_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -238,7 +238,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Preimages (r:1 w:1) /// The range of component `b` is `[0, 16384]`. fn note_imminent_preimage(b: u32, ) -> Weight { - (18_705_000 as Weight) + (17_884_000 as Weight) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -248,9 +248,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:0) /// The range of component `b` is `[0, 16384]`. fn reap_preimage(b: u32, ) -> Weight { - (26_003_000 as Weight) + (24_695_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -259,9 +259,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn unlock_remove(r: u32, ) -> Weight { - (24_132_000 as Weight) + (22_207_000 as Weight) // Standard Error: 0 - .saturating_add((35_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -270,9 +270,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn unlock_set(r: u32, ) -> Weight { - (23_272_000 as Weight) + (21_561_000 as Weight) // Standard Error: 0 - .saturating_add((127_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((110_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -280,9 +280,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn remove_vote(r: u32, ) -> Weight { - (14_095_000 as Weight) + (13_204_000 as Weight) // Standard Error: 0 - .saturating_add((125_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((105_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -290,9 +290,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn remove_other_vote(r: u32, ) -> Weight { - (14_507_000 as Weight) + (12_994_000 as Weight) // Standard Error: 0 - .saturating_add((125_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((106_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs index 315e0a05b5a2..df67964a2eb6 100644 --- a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -53,33 +53,33 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: Staking ForceEra (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) fn on_initialize_nothing() -> Weight { - (13_542_000 as Weight) + (13_511_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_signed() -> Weight { - (12_919_000 as Weight) + (12_448_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_unsigned() -> Weight { - (12_459_000 as Weight) + (12_497_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) // Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1) fn finalize_signed_phase_accept_solution() -> Weight { - (26_459_000 as Weight) + (26_220_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn finalize_signed_phase_reject_solution() -> Weight { - (19_459_000 as Weight) + (20_222_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -89,11 +89,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { - (0 as Weight) + (37_912_000 as Weight) // Standard Error: 2_000 - .saturating_add((556_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((549_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 5_000 - .saturating_add((95_000 as Weight).saturating_mul(t as Weight)) + .saturating_add((69_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -110,10 +110,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 15_000 - .saturating_add((2_133_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 23_000 - .saturating_add((285_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 13_000 + .saturating_add((1_310_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 20_000 + .saturating_add((246_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -124,7 +124,7 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1) // Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1) fn submit() -> Weight { - (50_324_000 as Weight) + (48_687_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -139,16 +139,14 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { - (0 as Weight) + fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { + (196_420_000 as Weight) // Standard Error: 7_000 - .saturating_add((1_509_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 15_000 - .saturating_add((25_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 25_000 - .saturating_add((11_565_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 37_000 - .saturating_add((1_704_000 as Weight).saturating_mul(d as Weight)) + .saturating_add((887_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 24_000 + .saturating_add((10_943_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 36_000 + .saturating_add((1_604_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -162,14 +160,14 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 8_000 - .saturating_add((1_500_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 16_000 - .saturating_add((84_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 27_000 - .saturating_add((9_149_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 41_000 - .saturating_add((816_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 5_000 + .saturating_add((907_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 11_000 + .saturating_add((64_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 19_000 + .saturating_add((8_768_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 29_000 + .saturating_add((912_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) } } diff --git a/runtime/kusama/src/weights/pallet_elections_phragmen.rs b/runtime/kusama/src/weights/pallet_elections_phragmen.rs index e88b0b635583..f20c1db2e287 100644 --- a/runtime/kusama/src/weights/pallet_elections_phragmen.rs +++ b/runtime/kusama/src/weights/pallet_elections_phragmen.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -51,9 +51,9 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { - (26_017_000 as Weight) - // Standard Error: 7_000 - .saturating_add((196_000 as Weight).saturating_mul(v as Weight)) + (24_107_000 as Weight) + // Standard Error: 2_000 + .saturating_add((184_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -64,9 +64,9 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { - (39_081_000 as Weight) - // Standard Error: 7_000 - .saturating_add((197_000 as Weight).saturating_mul(v as Weight)) + (36_869_000 as Weight) + // Standard Error: 5_000 + .saturating_add((165_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -77,16 +77,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { - (39_136_000 as Weight) - // Standard Error: 8_000 - .saturating_add((210_000 as Weight).saturating_mul(v as Weight)) + (36_445_000 as Weight) + // Standard Error: 4_000 + .saturating_add((199_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: PhragmenElection Voting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { - (35_694_000 as Weight) + (33_035_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -95,18 +95,18 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: PhragmenElection RunnersUp (r:1 w:0) /// The range of component `c` is `[1, 1000]`. fn submit_candidacy(c: u32, ) -> Weight { - (28_671_000 as Weight) + (25_946_000 as Weight) // Standard Error: 0 - .saturating_add((169_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((101_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: PhragmenElection Candidates (r:1 w:1) /// The range of component `c` is `[1, 1000]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { - (23_893_000 as Weight) + (22_945_000 as Weight) // Standard Error: 0 - .saturating_add((102_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((69_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -116,13 +116,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { - (45_187_000 as Weight) + (41_502_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { - (32_879_000 as Weight) + (30_791_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -137,7 +137,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { - (61_875_000 as Weight) + (57_184_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -151,8 +151,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[1, 5000]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 59_000 - .saturating_add((60_568_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 85_000 + .saturating_add((61_507_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight))) @@ -165,16 +165,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: PhragmenElection ElectionRounds (r:1 w:1) // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) - // Storage: System Account (r:1 w:1) + // Storage: System Account (r:3 w:3) /// The range of component `c` is `[1, 1000]`. /// The range of component `v` is `[1, 10000]`. /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_843_000 - .saturating_add((164_671_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 123_000 - .saturating_add((9_554_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 1_864_000 + .saturating_add((167_385_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 124_000 + .saturating_add((9_721_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(265 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) diff --git a/runtime/kusama/src/weights/pallet_gilt.rs b/runtime/kusama/src/weights/pallet_gilt.rs index dfdb6d9f4c70..b56f50fb9fda 100644 --- a/runtime/kusama/src/weights/pallet_gilt.rs +++ b/runtime/kusama/src/weights/pallet_gilt.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_gilt` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -48,16 +48,16 @@ impl pallet_gilt::WeightInfo for WeightInfo { // Storage: Gilt QueueTotals (r:1 w:1) /// The range of component `l` is `[0, 999]`. fn place_bid(l: u32, ) -> Weight { - (42_170_000 as Weight) + (36_767_000 as Weight) // Standard Error: 0 - .saturating_add((158_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((115_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Gilt Queues (r:1 w:1) // Storage: Gilt QueueTotals (r:1 w:1) fn place_bid_max() -> Weight { - (162_714_000 as Weight) + (119_333_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -65,28 +65,28 @@ impl pallet_gilt::WeightInfo for WeightInfo { // Storage: Gilt QueueTotals (r:1 w:1) /// The range of component `l` is `[1, 1000]`. fn retract_bid(l: u32, ) -> Weight { - (42_861_000 as Weight) + (37_108_000 as Weight) // Standard Error: 0 - .saturating_add((130_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((94_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Gilt ActiveTotal (r:1 w:1) fn set_target() -> Weight { - (5_303_000 as Weight) + (5_188_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Gilt Active (r:1 w:1) // Storage: Gilt ActiveTotal (r:1 w:1) fn thaw() -> Weight { - (43_859_000 as Weight) + (43_654_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Gilt ActiveTotal (r:1 w:0) fn pursue_target_noop() -> Weight { - (1_592_000 as Weight) + (1_584_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Gilt ActiveTotal (r:1 w:1) @@ -95,9 +95,9 @@ impl pallet_gilt::WeightInfo for WeightInfo { // Storage: Gilt Active (r:0 w:1) /// The range of component `b` is `[1, 1000]`. fn pursue_target_per_item(b: u32, ) -> Weight { - (40_008_000 as Weight) - // Standard Error: 1_000 - .saturating_add((4_400_000 as Weight).saturating_mul(b as Weight)) + (21_464_000 as Weight) + // Standard Error: 2_000 + .saturating_add((4_387_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(b as Weight))) @@ -108,9 +108,9 @@ impl pallet_gilt::WeightInfo for WeightInfo { // Storage: Gilt Active (r:0 w:1) /// The range of component `q` is `[1, 300]`. fn pursue_target_per_queue(q: u32, ) -> Weight { - (13_534_000 as Weight) - // Standard Error: 7_000 - .saturating_add((8_392_000 as Weight).saturating_mul(q as Weight)) + (12_881_000 as Weight) + // Standard Error: 8_000 + .saturating_add((8_285_000 as Weight).saturating_mul(q as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(q as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/kusama/src/weights/pallet_identity.rs b/runtime/kusama/src/weights/pallet_identity.rs index 11e7a56829bd..f7709235f029 100644 --- a/runtime/kusama/src/weights/pallet_identity.rs +++ b/runtime/kusama/src/weights/pallet_identity.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -47,9 +47,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - (17_209_000 as Weight) - // Standard Error: 5_000 - .saturating_add((193_000 as Weight).saturating_mul(r as Weight)) + (16_146_000 as Weight) + // Standard Error: 2_000 + .saturating_add((164_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -57,11 +57,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - (30_436_000 as Weight) - // Standard Error: 8_000 - .saturating_add((190_000 as Weight).saturating_mul(r as Weight)) + (28_556_000 as Weight) + // Standard Error: 7_000 + .saturating_add((208_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 1_000 - .saturating_add((368_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((371_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -70,9 +70,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn set_subs_new(s: u32, ) -> Weight { - (28_434_000 as Weight) - // Standard Error: 1_000 - .saturating_add((2_985_000 as Weight).saturating_mul(s as Weight)) + (25_214_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_032_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -83,9 +83,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:0 w:1) /// The range of component `p` is `[1, 100]`. fn set_subs_old(p: u32, ) -> Weight { - (28_248_000 as Weight) - // Standard Error: 0 - .saturating_add((948_000 as Weight).saturating_mul(p as Weight)) + (26_402_000 as Weight) + // Standard Error: 1_000 + .saturating_add((916_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) @@ -97,13 +97,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. /// The range of component `x` is `[1, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - (35_458_000 as Weight) - // Standard Error: 8_000 - .saturating_add((31_000 as Weight).saturating_mul(r as Weight)) + (32_822_000 as Weight) + // Standard Error: 5_000 + .saturating_add((74_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 1_000 - .saturating_add((941_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((909_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 1_000 - .saturating_add((218_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((166_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -113,11 +113,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - (32_522_000 as Weight) - // Standard Error: 5_000 - .saturating_add((190_000 as Weight).saturating_mul(r as Weight)) + (30_696_000 as Weight) + // Standard Error: 4_000 + .saturating_add((163_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 0 - .saturating_add((417_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((377_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -125,38 +125,38 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - (29_256_000 as Weight) - // Standard Error: 10_000 - .saturating_add((153_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 1_000 - .saturating_add((414_000 as Weight).saturating_mul(x as Weight)) + (28_144_000 as Weight) + // Standard Error: 4_000 + .saturating_add((144_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 0 + .saturating_add((363_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - (7_552_000 as Weight) - // Standard Error: 3_000 - .saturating_add((188_000 as Weight).saturating_mul(r as Weight)) + (7_135_000 as Weight) + // Standard Error: 1_000 + .saturating_add((135_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - (7_708_000 as Weight) - // Standard Error: 2_000 - .saturating_add((188_000 as Weight).saturating_mul(r as Weight)) + (6_861_000 as Weight) + // Standard Error: 1_000 + .saturating_add((140_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - (7_617_000 as Weight) - // Standard Error: 3_000 - .saturating_add((182_000 as Weight).saturating_mul(r as Weight)) + (7_143_000 as Weight) + // Standard Error: 1_000 + .saturating_add((133_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -165,11 +165,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[1, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - (22_139_000 as Weight) - // Standard Error: 5_000 - .saturating_add((175_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 0 - .saturating_add((419_000 as Weight).saturating_mul(x as Weight)) + (21_902_000 as Weight) + // Standard Error: 6_000 + .saturating_add((109_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((378_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -180,14 +180,10 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `s` is `[1, 100]`. /// The range of component `x` is `[1, 100]`. - fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { - (46_821_000 as Weight) - // Standard Error: 10_000 - .saturating_add((139_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 1_000 - .saturating_add((959_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 1_000 - .saturating_add((6_000 as Weight).saturating_mul(x as Weight)) + fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight { + (48_712_000 as Weight) + // Standard Error: 0 + .saturating_add((903_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -197,9 +193,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 99]`. fn add_sub(s: u32, ) -> Weight { - (35_453_000 as Weight) + (33_860_000 as Weight) // Standard Error: 0 - .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((97_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -207,7 +203,7 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - (12_964_000 as Weight) + (12_063_000 as Weight) // Standard Error: 0 .saturating_add((27_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -218,9 +214,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - (36_285_000 as Weight) + (34_418_000 as Weight) // Standard Error: 0 - .saturating_add((105_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((84_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -228,9 +224,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 99]`. fn quit_sub(s: u32, ) -> Weight { - (25_499_000 as Weight) + (24_186_000 as Weight) // Standard Error: 0 - .saturating_add((100_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((77_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_im_online.rs b/runtime/kusama/src/weights/pallet_im_online.rs index c57ca8471660..acdffcb50479 100644 --- a/runtime/kusama/src/weights/pallet_im_online.rs +++ b/runtime/kusama/src/weights/pallet_im_online.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -52,11 +52,11 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - (74_080_000 as Weight) + (76_307_000 as Weight) // Standard Error: 0 - .saturating_add((71_000 as Weight).saturating_mul(k as Weight)) - // Standard Error: 3_000 - .saturating_add((345_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((25_000 as Weight).saturating_mul(k as Weight)) + // Standard Error: 4_000 + .saturating_add((339_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_indices.rs b/runtime/kusama/src/weights/pallet_indices.rs index 82ffe4abf779..3114e280f863 100644 --- a/runtime/kusama/src/weights/pallet_indices.rs +++ b/runtime/kusama/src/weights/pallet_indices.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -46,33 +46,33 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - (24_261_000 as Weight) + (23_807_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (29_673_000 as Weight) + (27_946_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - (24_871_000 as Weight) + (23_882_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (25_068_000 as Weight) + (24_029_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - (28_855_000 as Weight) + (27_122_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_membership.rs b/runtime/kusama/src/weights/pallet_membership.rs index 7ddc195068de..3115c7cce83d 100644 --- a/runtime/kusama/src/weights/pallet_membership.rs +++ b/runtime/kusama/src/weights/pallet_membership.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -50,9 +50,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - (15_086_000 as Weight) + (17_986_000 as Weight) // Standard Error: 0 - .saturating_add((86_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((61_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -63,9 +63,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - (17_506_000 as Weight) + (20_684_000 as Weight) // Standard Error: 0 - .saturating_add((75_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((49_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -76,9 +76,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - (17_648_000 as Weight) + (20_694_000 as Weight) // Standard Error: 0 - .saturating_add((83_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((61_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -89,9 +89,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - (17_136_000 as Weight) - // Standard Error: 0 - .saturating_add((214_000 as Weight).saturating_mul(m as Weight)) + (19_769_000 as Weight) + // Standard Error: 1_000 + .saturating_add((186_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -102,9 +102,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - (18_015_000 as Weight) + (20_908_000 as Weight) // Standard Error: 0 - .saturating_add((82_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((58_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -113,17 +113,19 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - (4_505_000 as Weight) + (7_054_000 as Weight) // Standard Error: 0 - .saturating_add((32_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((10_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: TechnicalMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { - (1_718_000 as Weight) + fn clear_prime(m: u32, ) -> Weight { + (3_942_000 as Weight) + // Standard Error: 0 + .saturating_add((1_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/kusama/src/weights/pallet_multisig.rs b/runtime/kusama/src/weights/pallet_multisig.rs index ca4059174d78..4b479907c2ed 100644 --- a/runtime/kusama/src/weights/pallet_multisig.rs +++ b/runtime/kusama/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - (14_951_000 as Weight) + (15_530_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } @@ -55,9 +55,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - (32_034_000 as Weight) + (32_158_000 as Weight) // Standard Error: 0 - .saturating_add((104_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((100_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -69,9 +69,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (34_702_000 as Weight) + (35_654_000 as Weight) // Standard Error: 0 - .saturating_add((109_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((103_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -81,9 +81,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (20_708_000 as Weight) + (21_105_000 as Weight) // Standard Error: 0 - .saturating_add((108_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((100_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -94,9 +94,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (33_421_000 as Weight) + (33_427_000 as Weight) // Standard Error: 0 - .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((117_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -108,11 +108,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (41_419_000 as Weight) - // Standard Error: 1_000 - .saturating_add((161_000 as Weight).saturating_mul(s as Weight)) + (43_547_000 as Weight) + // Standard Error: 0 + .saturating_add((129_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -120,9 +120,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - (31_610_000 as Weight) + (31_185_000 as Weight) // Standard Error: 0 - .saturating_add((111_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((114_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -130,9 +130,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - (20_455_000 as Weight) - // Standard Error: 0 - .saturating_add((110_000 as Weight).saturating_mul(s as Weight)) + (20_549_000 as Weight) + // Standard Error: 1_000 + .saturating_add((107_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -141,9 +141,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_complete(s: u32, ) -> Weight { - (80_319_000 as Weight) - // Standard Error: 0 - .saturating_add((156_000 as Weight).saturating_mul(s as Weight)) + (65_686_000 as Weight) + // Standard Error: 1_000 + .saturating_add((130_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -151,9 +151,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - (56_176_000 as Weight) - // Standard Error: 2_000 - .saturating_add((109_000 as Weight).saturating_mul(s as Weight)) + (47_339_000 as Weight) + // Standard Error: 0 + .saturating_add((112_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_nomination_pools.rs b/runtime/kusama/src/weights/pallet_nomination_pools.rs index d4669ed2330d..f7c145312ba3 100644 --- a/runtime/kusama/src/weights/pallet_nomination_pools.rs +++ b/runtime/kusama/src/weights/pallet_nomination_pools.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -58,7 +58,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn join() -> Weight { - (126_192_000 as Weight) + (125_069_000 as Weight) .saturating_add(T::DbWeight::get().reads(17 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -72,7 +72,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_transfer() -> Weight { - (119_739_000 as Weight) + (120_122_000 as Weight) .saturating_add(T::DbWeight::get().reads(14 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -86,7 +86,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:2 w:2) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_reward() -> Weight { - (127_618_000 as Weight) + (126_951_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -95,7 +95,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_payout() -> Weight { - (50_596_000 as Weight) + (48_376_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -114,7 +114,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools SubPoolsStorage (r:1 w:1) // Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1) fn unbond() -> Weight { - (125_722_000 as Weight) + (126_870_000 as Weight) .saturating_add(T::DbWeight::get().reads(18 as Weight)) .saturating_add(T::DbWeight::get().writes(13 as Weight)) } @@ -124,9 +124,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Balances Locks (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { - (40_877_000 as Weight) + (40_979_000 as Weight) // Standard Error: 0 - .saturating_add((28_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((31_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -140,9 +140,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - (80_389_000 as Weight) + (79_501_000 as Weight) // Standard Error: 0 - .saturating_add((38_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((41_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -166,8 +166,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForBondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - (140_424_000 as Weight) + fn withdraw_unbonded_kill(s: u32, ) -> Weight { + (139_080_000 as Weight) + // Standard Error: 1_000 + .saturating_add((7_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(19 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } @@ -194,7 +196,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn create() -> Weight { - (130_286_000 as Weight) + (131_822_000 as Weight) .saturating_add(T::DbWeight::get().reads(22 as Weight)) .saturating_add(T::DbWeight::get().writes(15 as Weight)) } @@ -212,9 +214,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 24]`. fn nominate(n: u32, ) -> Weight { - (49_274_000 as Weight) - // Standard Error: 5_000 - .saturating_add((2_211_000 as Weight).saturating_mul(n as Weight)) + (50_212_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_152_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(5 as Weight)) @@ -222,7 +224,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Ledger (r:1 w:0) fn set_state() -> Weight { - (26_309_000 as Weight) + (25_448_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -231,7 +233,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForMetadata (r:1 w:1) /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { - (14_349_000 as Weight) + (14_203_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -243,12 +245,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinCreateBond (r:0 w:1) // Storage: NominationPools MaxPools (r:0 w:1) fn set_configs() -> Weight { - (7_320_000 as Weight) + (6_899_000 as Weight) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: NominationPools BondedPools (r:1 w:1) fn update_roles() -> Weight { - (22_414_000 as Weight) + (21_715_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -261,7 +263,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - (47_544_000 as Weight) + (49_057_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_preimage.rs b/runtime/kusama/src/weights/pallet_preimage.rs index 25391c61b934..45f407984e96 100644 --- a/runtime/kusama/src/weights/pallet_preimage.rs +++ b/runtime/kusama/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -77,58 +77,58 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (38_785_000 as Weight) + (35_236_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (25_033_000 as Weight) + (23_396_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (35_720_000 as Weight) + (33_944_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (23_959_000 as Weight) + (22_151_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (15_911_000 as Weight) + (16_617_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (7_002_000 as Weight) + (6_552_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (24_126_000 as Weight) + (23_787_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (16_673_000 as Weight) + (16_327_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (7_011_000 as Weight) + (6_289_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_proxy.rs b/runtime/kusama/src/weights/pallet_proxy.rs index 78fc366bf5fe..39e9134d504c 100644 --- a/runtime/kusama/src/weights/pallet_proxy.rs +++ b/runtime/kusama/src/weights/pallet_proxy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -47,9 +47,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - (18_077_000 as Weight) - // Standard Error: 2_000 - .saturating_add((109_000 as Weight).saturating_mul(p as Weight)) + (17_720_000 as Weight) + // Standard Error: 1_000 + .saturating_add((70_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -58,11 +58,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - (36_335_000 as Weight) - // Standard Error: 2_000 - .saturating_add((181_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((50_000 as Weight).saturating_mul(p as Weight)) + (33_323_000 as Weight) + // Standard Error: 1_000 + .saturating_add((187_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((49_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -70,10 +70,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { - (24_093_000 as Weight) + fn remove_announcement(a: u32, p: u32, ) -> Weight { + (22_697_000 as Weight) // Standard Error: 1_000 - .saturating_add((221_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((170_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((12_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -81,10 +83,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { - (23_978_000 as Weight) + fn reject_announcement(a: u32, p: u32, ) -> Weight { + (22_575_000 as Weight) + // Standard Error: 1_000 + .saturating_add((177_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((224_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -94,38 +98,38 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - (31_340_000 as Weight) + (30_349_000 as Weight) + // Standard Error: 1_000 + .saturating_add((168_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((227_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((68_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((41_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - (26_182_000 as Weight) - // Standard Error: 2_000 - .saturating_add((135_000 as Weight).saturating_mul(p as Weight)) + (25_144_000 as Weight) + // Standard Error: 1_000 + .saturating_add((105_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - (26_511_000 as Weight) - // Standard Error: 3_000 - .saturating_add((155_000 as Weight).saturating_mul(p as Weight)) + (24_770_000 as Weight) + // Standard Error: 1_000 + .saturating_add((131_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - (22_390_000 as Weight) - // Standard Error: 2_000 - .saturating_add((95_000 as Weight).saturating_mul(p as Weight)) + (20_974_000 as Weight) + // Standard Error: 1_000 + .saturating_add((72_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -133,8 +137,8 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn anonymous(p: u32, ) -> Weight { - (29_522_000 as Weight) - // Standard Error: 3_000 + (28_658_000 as Weight) + // Standard Error: 1_000 .saturating_add((30_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -142,9 +146,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_anonymous(p: u32, ) -> Weight { - (23_168_000 as Weight) - // Standard Error: 2_000 - .saturating_add((88_000 as Weight).saturating_mul(p as Weight)) + (22_082_000 as Weight) + // Standard Error: 1_000 + .saturating_add((56_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_scheduler.rs b/runtime/kusama/src/weights/pallet_scheduler.rs index 152476bd029b..975e0714376d 100644 --- a/runtime/kusama/src/weights/pallet_scheduler.rs +++ b/runtime/kusama/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -50,9 +50,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - (963_000 as Weight) - // Standard Error: 34_000 - .saturating_add((28_309_000 as Weight).saturating_mul(s as Weight)) + (1_256_000 as Weight) + // Standard Error: 42_000 + .saturating_add((26_925_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -64,9 +64,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named_resolved(s: u32, ) -> Weight { - (811_000 as Weight) - // Standard Error: 33_000 - .saturating_add((23_183_000 as Weight).saturating_mul(s as Weight)) + (921_000 as Weight) + // Standard Error: 35_000 + .saturating_add((21_922_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -77,9 +77,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - (908_000 as Weight) - // Standard Error: 34_000 - .saturating_add((25_929_000 as Weight).saturating_mul(s as Weight)) + (0 as Weight) + // Standard Error: 62_000 + .saturating_add((24_926_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -90,9 +90,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_resolved(s: u32, ) -> Weight { - (3_329_000 as Weight) + (10_674_000 as Weight) // Standard Error: 31_000 - .saturating_add((22_087_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((20_631_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -103,9 +103,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named_aborted(s: u32, ) -> Weight { - (4_128_000 as Weight) - // Standard Error: 15_000 - .saturating_add((10_074_000 as Weight).saturating_mul(s as Weight)) + (2_607_000 as Weight) + // Standard Error: 20_000 + .saturating_add((10_009_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -115,9 +115,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:0) /// The range of component `s` is `[1, 50]`. fn on_initialize_aborted(s: u32, ) -> Weight { - (5_109_000 as Weight) - // Standard Error: 15_000 - .saturating_add((8_004_000 as Weight).saturating_mul(s as Weight)) + (3_381_000 as Weight) + // Standard Error: 17_000 + .saturating_add((7_945_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -126,9 +126,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_named(s: u32, ) -> Weight { - (8_015_000 as Weight) - // Standard Error: 24_000 - .saturating_add((18_052_000 as Weight).saturating_mul(s as Weight)) + (6_676_000 as Weight) + // Standard Error: 25_000 + .saturating_add((16_966_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -137,9 +137,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic(s: u32, ) -> Weight { - (10_570_000 as Weight) - // Standard Error: 19_000 - .saturating_add((15_585_000 as Weight).saturating_mul(s as Weight)) + (8_899_000 as Weight) + // Standard Error: 24_000 + .saturating_add((14_630_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -149,9 +149,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named(s: u32, ) -> Weight { - (11_019_000 as Weight) - // Standard Error: 15_000 - .saturating_add((13_044_000 as Weight).saturating_mul(s as Weight)) + (8_583_000 as Weight) + // Standard Error: 19_000 + .saturating_add((12_228_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -159,18 +159,18 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize(s: u32, ) -> Weight { - (10_785_000 as Weight) - // Standard Error: 16_000 - .saturating_add((12_136_000 as Weight).saturating_mul(s as Weight)) + (8_544_000 as Weight) + // Standard Error: 19_000 + .saturating_add((11_364_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn schedule(s: u32, ) -> Weight { - (20_141_000 as Weight) + (19_060_000 as Weight) // Standard Error: 1_000 - .saturating_add((48_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((46_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -178,9 +178,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - (18_934_000 as Weight) + (17_694_000 as Weight) // Standard Error: 7_000 - .saturating_add((2_385_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_368_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -188,9 +188,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn schedule_named(s: u32, ) -> Weight { - (23_333_000 as Weight) + (22_258_000 as Weight) // Standard Error: 1_000 - .saturating_add((59_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((60_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -198,9 +198,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - (20_232_000 as Weight) + (18_882_000 as Weight) // Standard Error: 7_000 - .saturating_add((2_393_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_379_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_session.rs b/runtime/kusama/src/weights/pallet_session.rs index 747cc14d9ee9..12b68e2de730 100644 --- a/runtime/kusama/src/weights/pallet_session.rs +++ b/runtime/kusama/src/weights/pallet_session.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -48,7 +48,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:6 w:6) fn set_keys() -> Weight { - (43_786_000 as Weight) + (44_090_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -56,7 +56,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:6) fn purge_keys() -> Weight { - (28_381_000 as Weight) + (27_160_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index 6980268f329a..12b60e9b29ef 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -51,7 +51,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - (41_764_000 as Weight) + (39_601_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -61,7 +61,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - (72_216_000 as Weight) + (69_967_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -75,7 +75,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - (77_934_000 as Weight) + (78_585_000 as Weight) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -85,9 +85,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - (32_181_000 as Weight) + (32_006_000 as Weight) // Standard Error: 0 - .saturating_add((33_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((27_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -105,10 +105,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (62_831_000 as Weight) - // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(s as Weight)) + fn withdraw_unbonded_kill(_s: u32, ) -> Weight { + (60_841_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -124,7 +122,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - (51_316_000 as Weight) + (49_177_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -132,9 +130,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - (11_345_000 as Weight) - // Standard Error: 7_000 - .saturating_add((9_541_000 as Weight).saturating_mul(k as Weight)) + (11_581_000 as Weight) + // Standard Error: 11_000 + .saturating_add((8_835_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) @@ -152,9 +150,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 24]`. fn nominate(n: u32, ) -> Weight { - (54_055_000 as Weight) - // Standard Error: 7_000 - .saturating_add((3_229_000 as Weight).saturating_mul(n as Weight)) + (52_135_000 as Weight) + // Standard Error: 5_000 + .saturating_add((3_209_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(6 as Weight)) @@ -167,48 +165,48 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - (48_796_000 as Weight) + (46_813_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - (10_095_000 as Weight) + (9_568_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - (18_034_000 as Weight) + (16_922_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - (3_828_000 as Weight) + (3_455_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - (3_768_000 as Weight) + (3_461_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - (3_811_000 as Weight) + (3_505_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - (3_842_000 as Weight) + (3_509_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - (4_289_000 as Weight) + (3_866_000 as Weight) // Standard Error: 0 .saturating_add((10_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -228,9 +226,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - (60_194_000 as Weight) - // Standard Error: 1_000 - .saturating_add((906_000 as Weight).saturating_mul(s as Weight)) + (58_815_000 as Weight) + // Standard Error: 2_000 + .saturating_add((904_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -238,9 +236,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - (2_941_063_000 as Weight) - // Standard Error: 194_000 - .saturating_add((17_433_000 as Weight).saturating_mul(s as Weight)) + (3_402_940_000 as Weight) + // Standard Error: 237_000 + .saturating_add((19_758_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -256,9 +254,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) /// The range of component `n` is `[1, 256]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (81_814_000 as Weight) - // Standard Error: 15_000 - .saturating_add((26_329_000 as Weight).saturating_mul(n as Weight)) + (73_127_000 as Weight) + // Standard Error: 22_000 + .saturating_add((26_095_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -277,9 +275,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:2 w:2) /// The range of component `n` is `[1, 256]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (96_333_000 as Weight) - // Standard Error: 23_000 - .saturating_add((35_074_000 as Weight).saturating_mul(n as Weight)) + (80_071_000 as Weight) + // Standard Error: 25_000 + .saturating_add((34_679_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -293,9 +291,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - (70_960_000 as Weight) + (69_288_000 as Weight) // Standard Error: 2_000 - .saturating_add((60_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((51_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -311,8 +309,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `e` is `[1, 100]`. fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 60_000 - .saturating_add((21_592_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 83_000 + .saturating_add((21_591_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) @@ -332,9 +330,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - (66_784_000 as Weight) + (64_446_000 as Weight) // Standard Error: 1_000 - .saturating_add((901_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((899_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -362,10 +360,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_038_000 - .saturating_add((298_321_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 52_000 - .saturating_add((39_784_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 1_296_000 + .saturating_add((286_045_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 125_000 + .saturating_add((37_667_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(192 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight))) @@ -386,12 +384,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 20]`. fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { (0 as Weight) - // Standard Error: 121_000 - .saturating_add((25_245_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 121_000 - .saturating_add((23_840_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 4_131_000 - .saturating_add((42_803_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 108_000 + .saturating_add((24_629_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 108_000 + .saturating_add((22_598_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 2_778_000 + .saturating_add((59_951_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(186 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight))) @@ -403,8 +401,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { (0 as Weight) - // Standard Error: 32_000 - .saturating_add((7_656_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 40_000 + .saturating_add((7_752_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -416,7 +414,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - (6_596_000 as Weight) + (6_388_000 as Weight) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking MinCommission (r:0 w:1) @@ -426,7 +424,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - (6_246_000 as Weight) + (6_064_000 as Weight) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking Ledger (r:1 w:0) @@ -440,14 +438,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - (57_750_000 as Weight) + (55_742_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - (11_510_000 as Weight) + (10_749_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_timestamp.rs b/runtime/kusama/src/weights/pallet_timestamp.rs index dd5cf2b0f9c5..28cf1a976ebf 100644 --- a/runtime/kusama/src/weights/pallet_timestamp.rs +++ b/runtime/kusama/src/weights/pallet_timestamp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -47,11 +47,11 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Babe CurrentSlot (r:1 w:0) fn set() -> Weight { - (8_473_000 as Weight) + (7_545_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (2_194_000 as Weight) + (2_089_000 as Weight) } } diff --git a/runtime/kusama/src/weights/pallet_tips.rs b/runtime/kusama/src/weights/pallet_tips.rs index 71459cfeae6a..c62f354d989f 100644 --- a/runtime/kusama/src/weights/pallet_tips.rs +++ b/runtime/kusama/src/weights/pallet_tips.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -48,7 +48,7 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `r` is `[0, 16384]`. fn report_awesome(r: u32, ) -> Weight { - (29_508_000 as Weight) + (28_045_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -57,7 +57,7 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { - (27_224_000 as Weight) + (26_017_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -67,11 +67,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. /// The range of component `t` is `[1, 19]`. fn tip_new(r: u32, t: u32, ) -> Weight { - (20_813_000 as Weight) + (19_125_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 5_000 - .saturating_add((56_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 2_000 + .saturating_add((41_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -79,9 +79,9 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `t` is `[1, 19]`. fn tip(t: u32, ) -> Weight { - (11_463_000 as Weight) - // Standard Error: 3_000 - .saturating_add((357_000 as Weight).saturating_mul(t as Weight)) + (10_895_000 as Weight) + // Standard Error: 1_000 + .saturating_add((158_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -91,9 +91,9 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 19]`. fn close_tip(t: u32, ) -> Weight { - (43_970_000 as Weight) - // Standard Error: 5_000 - .saturating_add((235_000 as Weight).saturating_mul(t as Weight)) + (42_301_000 as Weight) + // Standard Error: 4_000 + .saturating_add((154_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -101,9 +101,9 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 19]`. fn slash_tip(t: u32, ) -> Weight { - (17_908_000 as Weight) - // Standard Error: 3_000 - .saturating_add((35_000 as Weight).saturating_mul(t as Weight)) + (16_548_000 as Weight) + // Standard Error: 1_000 + .saturating_add((21_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/kusama/src/weights/pallet_treasury.rs b/runtime/kusama/src/weights/pallet_treasury.rs index f821f0073f5b..807d581545fc 100644 --- a/runtime/kusama/src/weights/pallet_treasury.rs +++ b/runtime/kusama/src/weights/pallet_treasury.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -45,19 +45,19 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - (163_000 as Weight) + (153_000 as Weight) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (25_847_000 as Weight) + (25_149_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - (37_460_000 as Weight) + (35_748_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -65,15 +65,15 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { - (10_622_000 as Weight) + (10_082_000 as Weight) // Standard Error: 0 - .saturating_add((35_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((36_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - (6_239_000 as Weight) + (5_612_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -83,9 +83,9 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Proposals (r:2 w:2) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - (34_567_000 as Weight) - // Standard Error: 23_000 - .saturating_add((30_692_000 as Weight).saturating_mul(p as Weight)) + (36_270_000 as Weight) + // Standard Error: 32_000 + .saturating_add((30_142_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) diff --git a/runtime/kusama/src/weights/pallet_utility.rs b/runtime/kusama/src/weights/pallet_utility.rs index 58126ad399b5..711fec6b9dd3 100644 --- a/runtime/kusama/src/weights/pallet_utility.rs +++ b/runtime/kusama/src/weights/pallet_utility.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -46,26 +46,26 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - (12_161_000 as Weight) + (12_531_000 as Weight) // Standard Error: 3_000 - .saturating_add((5_020_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_931_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (5_957_000 as Weight) + (5_661_000 as Weight) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - (19_763_000 as Weight) - // Standard Error: 2_000 - .saturating_add((5_325_000 as Weight).saturating_mul(c as Weight)) + (14_076_000 as Weight) + // Standard Error: 3_000 + .saturating_add((5_323_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (13_409_000 as Weight) + (13_176_000 as Weight) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - (16_621_000 as Weight) - // Standard Error: 2_000 - .saturating_add((4_995_000 as Weight).saturating_mul(c as Weight)) + (20_747_000 as Weight) + // Standard Error: 3_000 + .saturating_add((4_917_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/kusama/src/weights/pallet_vesting.rs b/runtime/kusama/src/weights/pallet_vesting.rs index 69aa88c0d254..67cfbf7483d2 100644 --- a/runtime/kusama/src/weights/pallet_vesting.rs +++ b/runtime/kusama/src/weights/pallet_vesting.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -49,11 +49,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { - (29_778_000 as Weight) + (29_030_000 as Weight) + // Standard Error: 0 + .saturating_add((75_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((94_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((180_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((162_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -62,11 +62,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { - (29_492_000 as Weight) + (29_535_000 as Weight) // Standard Error: 1_000 - .saturating_add((87_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 3_000 - .saturating_add((156_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((69_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 2_000 + .saturating_add((113_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -76,11 +76,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { - (29_022_000 as Weight) + (29_237_000 as Weight) + // Standard Error: 0 + .saturating_add((75_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((107_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((223_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((160_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -90,11 +90,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - (29_845_000 as Weight) - // Standard Error: 1_000 - .saturating_add((91_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((163_000 as Weight).saturating_mul(s as Weight)) + (29_750_000 as Weight) + // Standard Error: 3_000 + .saturating_add((84_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 5_000 + .saturating_add((109_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -104,11 +104,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { - (45_157_000 as Weight) + (44_092_000 as Weight) // Standard Error: 2_000 - .saturating_add((88_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((71_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 4_000 - .saturating_add((168_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -118,11 +118,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - (44_989_000 as Weight) + (44_003_000 as Weight) // Standard Error: 2_000 - .saturating_add((92_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((72_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 4_000 - .saturating_add((178_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((119_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -132,11 +132,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - (30_765_000 as Weight) + (29_853_000 as Weight) + // Standard Error: 0 + .saturating_add((77_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((99_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((191_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((153_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -146,11 +146,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - (30_535_000 as Weight) + (29_466_000 as Weight) // Standard Error: 0 - .saturating_add((94_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((81_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((189_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((158_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/kusama/src/weights/runtime_common_auctions.rs b/runtime/kusama/src/weights/runtime_common_auctions.rs index 7a572cc52471..6813cefeec87 100644 --- a/runtime/kusama/src/weights/runtime_common_auctions.rs +++ b/runtime/kusama/src/weights/runtime_common_auctions.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -47,7 +47,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions AuctionInfo (r:1 w:1) // Storage: Auctions AuctionCounter (r:1 w:1) fn new_auction() -> Weight { - (15_629_000 as Weight) + (16_252_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -59,7 +59,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions ReservedAmounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn bid() -> Weight { - (74_332_000 as Weight) + (71_286_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -76,7 +76,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar Paras (r:1 w:1) fn on_initialize() -> Weight { - (15_497_492_000 as Weight) + (15_586_491_000 as Weight) .saturating_add(T::DbWeight::get().reads(3688 as Weight)) .saturating_add(T::DbWeight::get().writes(3683 as Weight)) } @@ -85,7 +85,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions Winning (r:0 w:3600) // Storage: Auctions AuctionInfo (r:0 w:1) fn cancel_auction() -> Weight { - (4_599_693_000 as Weight) + (4_628_531_000 as Weight) .saturating_add(T::DbWeight::get().reads(73 as Weight)) .saturating_add(T::DbWeight::get().writes(3673 as Weight)) } diff --git a/runtime/kusama/src/weights/runtime_common_claims.rs b/runtime/kusama/src/weights/runtime_common_claims.rs index 7605c1e0aa53..ad6409bbcdd7 100644 --- a/runtime/kusama/src/weights/runtime_common_claims.rs +++ b/runtime/kusama/src/weights/runtime_common_claims.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -52,7 +52,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim() -> Weight { - (140_274_000 as Weight) + (139_399_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -61,7 +61,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Claims (r:0 w:1) // Storage: Claims Signing (r:0 w:1) fn mint_claim() -> Weight { - (10_523_000 as Weight) + (9_284_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -73,7 +73,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim_attest() -> Weight { - (144_849_000 as Weight) + (143_329_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -86,7 +86,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn attest() -> Weight { - (64_176_000 as Weight) + (63_456_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -95,7 +95,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Signing (r:1 w:2) // Storage: Claims Preclaims (r:1 w:1) fn move_claim() -> Weight { - (20_452_000 as Weight) + (19_434_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } diff --git a/runtime/kusama/src/weights/runtime_common_crowdloan.rs b/runtime/kusama/src/weights/runtime_common_crowdloan.rs index dc733010aa6c..2859bff57469 100644 --- a/runtime/kusama/src/weights/runtime_common_crowdloan.rs +++ b/runtime/kusama/src/weights/runtime_common_crowdloan.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -49,7 +49,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Paras ParaLifecycles (r:1 w:0) // Storage: Crowdloan NextFundIndex (r:1 w:1) fn create() -> Weight { - (42_782_000 as Weight) + (43_109_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -61,7 +61,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan NewRaise (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - (114_403_000 as Weight) + (113_745_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -69,7 +69,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) // Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1) fn withdraw() -> Weight { - (51_839_000 as Weight) + (51_061_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -78,7 +78,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn refund(k: u32, ) -> Weight { (0 as Weight) // Standard Error: 17_000 - .saturating_add((19_842_000 as Weight).saturating_mul(k as Weight)) + .saturating_add((19_652_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -87,27 +87,27 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan Funds (r:1 w:1) // Storage: System Account (r:1 w:1) fn dissolve() -> Weight { - (33_944_000 as Weight) + (32_094_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Crowdloan Funds (r:1 w:1) fn edit() -> Weight { - (22_191_000 as Weight) + (21_360_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn add_memo() -> Weight { - (28_517_000 as Weight) + (27_303_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: Crowdloan NewRaise (r:1 w:1) fn poke() -> Weight { - (23_578_000 as Weight) + (22_441_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -124,8 +124,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 19_000 - .saturating_add((52_307_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 43_000 + .saturating_add((51_696_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) diff --git a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs index c9edb8f4603d..a4aae658ce72 100644 --- a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -48,7 +48,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Registrar Paras (r:1 w:1) // Storage: Paras ParaLifecycles (r:1 w:0) fn reserve() -> Weight { - (29_725_000 as Weight) + (28_294_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -62,7 +62,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn register() -> Weight { - (9_210_852_000 as Weight) + (8_981_293_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -76,7 +76,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn force_register() -> Weight { - (9_232_533_000 as Weight) + (8_918_597_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -87,7 +87,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar PendingSwap (r:0 w:1) fn deregister() -> Weight { - (44_734_000 as Weight) + (42_792_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -99,7 +99,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Crowdloan Funds (r:2 w:2) // Storage: Slots Leases (r:2 w:2) fn swap() -> Weight { - (39_487_000 as Weight) + (36_942_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } diff --git a/runtime/kusama/src/weights/runtime_common_slots.rs b/runtime/kusama/src/weights/runtime_common_slots.rs index a37fe4e9c175..d13a1e46dded 100644 --- a/runtime/kusama/src/weights/runtime_common_slots.rs +++ b/runtime/kusama/src/weights/runtime_common_slots.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -47,7 +47,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (29_121_000 as Weight) + (28_926_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -61,10 +61,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { (0 as Weight) - // Standard Error: 16_000 - .saturating_add((7_474_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 16_000 - .saturating_add((18_500_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 30_000 + .saturating_add((6_882_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 30_000 + .saturating_add((17_866_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(t as Weight))) @@ -75,7 +75,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (98_573_000 as Weight) + (92_846_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -85,7 +85,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (22_368_000 as Weight) + (21_081_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_configuration.rs b/runtime/kusama/src/weights/runtime_parachains_configuration.rs index 130bc268c7a1..c524e820a4bb 100644 --- a/runtime/kusama/src/weights/runtime_parachains_configuration.rs +++ b/runtime/kusama/src/weights/runtime_parachains_configuration.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -48,7 +48,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_block_number() -> Weight { - (9_677_000 as Weight) + (9_052_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -56,7 +56,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_u32() -> Weight { - (9_903_000 as Weight) + (9_242_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -64,7 +64,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_option_u32() -> Weight { - (10_066_000 as Weight) + (9_372_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -72,7 +72,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_weight() -> Weight { - (9_875_000 as Weight) + (9_436_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -84,7 +84,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_balance() -> Weight { - (9_939_000 as Weight) + (9_373_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_disputes.rs b/runtime/kusama/src/weights/runtime_parachains_disputes.rs index b7440750d1a0..b509bc42ea65 100644 --- a/runtime/kusama/src/weights/runtime_parachains_disputes.rs +++ b/runtime/kusama/src/weights/runtime_parachains_disputes.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::disputes::WeightInfo for WeightInfo { // Storage: ParasDisputes Frozen (r:0 w:1) fn force_unfreeze() -> Weight { - (3_256_000 as Weight) + (3_180_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs index da128e09505e..d079f0eee336 100644 --- a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -53,7 +53,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_init_open_channel() -> Weight { - (38_525_000 as Weight) + (38_011_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -64,7 +64,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_accept_open_channel() -> Weight { - (34_150_000 as Weight) + (33_575_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -74,7 +74,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_close_channel() -> Weight { - (33_589_000 as Weight) + (31_589_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -88,10 +88,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 20_000 - .saturating_add((10_199_000 as Weight).saturating_mul(i as Weight)) - // Standard Error: 20_000 - .saturating_add((10_156_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 22_000 + .saturating_add((9_971_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 22_000 + .saturating_add((9_951_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(i as Weight))) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(e as Weight))) @@ -110,8 +110,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 26_000 - .saturating_add((23_599_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 35_000 + .saturating_add((23_340_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((7 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -126,8 +126,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 17_000 - .saturating_add((13_373_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 23_000 + .saturating_add((13_159_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -138,9 +138,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { - (27_578_000 as Weight) - // Standard Error: 0 - .saturating_add((60_000 as Weight).saturating_mul(c as Weight)) + (26_400_000 as Weight) + // Standard Error: 1_000 + .saturating_add((51_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -149,8 +149,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 6_000 - .saturating_add((3_818_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 7_000 + .saturating_add((3_786_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) diff --git a/runtime/kusama/src/weights/runtime_parachains_initializer.rs b/runtime/kusama/src/weights/runtime_parachains_initializer.rs index 1ebb86cd4f55..7306fcbcb524 100644 --- a/runtime/kusama/src/weights/runtime_parachains_initializer.rs +++ b/runtime/kusama/src/weights/runtime_parachains_initializer.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -47,7 +47,7 @@ impl runtime_parachains::initializer::WeightInfo for We // Storage: System Digest (r:1 w:1) /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { - (5_872_000 as Weight) + (6_367_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) diff --git a/runtime/kusama/src/weights/runtime_parachains_paras.rs b/runtime/kusama/src/weights/runtime_parachains_paras.rs index 011b1de4e153..1be28f194308 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -63,7 +63,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_head(s: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Paras FutureCodeHash (r:1 w:1) @@ -91,14 +91,14 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { (0 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) fn force_queue_action() -> Weight { - (22_916_000 as Weight) + (19_558_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -115,7 +115,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHashRefs (r:1 w:0) // Storage: Paras CodeByHash (r:0 w:1) fn poke_unused_validation_code() -> Weight { - (5_287_000 as Weight) + (4_740_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -123,7 +123,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras PvfActiveVoteMap (r:1 w:1) fn include_pvf_check_statement() -> Weight { - (104_773_000 as Weight) + (90_598_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -135,7 +135,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: System Digest (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { - (718_766_000 as Weight) + (687_743_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(104 as Weight)) } @@ -148,7 +148,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:100) // Storage: Paras FutureCodeHash (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { - (620_219_000 as Weight) + (643_066_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(204 as Weight)) } @@ -158,7 +158,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras PvfActiveVoteList (r:1 w:1) // Storage: Paras ActionsQueue (r:1 w:1) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { - (569_057_000 as Weight) + (545_691_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -172,7 +172,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CurrentCodeHash (r:0 w:100) // Storage: Paras UpcomingParasGenesis (r:0 w:100) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { - (672_994_000 as Weight) + (722_173_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(304 as Weight)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs index f6b05bf9670e..e8449296b51f 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -76,9 +76,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { - (437_381_000 as Weight) - // Standard Error: 13_000 - .saturating_add((48_363_000 as Weight).saturating_mul(v as Weight)) + (382_740_000 as Weight) + // Standard Error: 25_000 + .saturating_add((48_643_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(28 as Weight)) .saturating_add(T::DbWeight::get().writes(18 as Weight)) } @@ -112,7 +112,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_bitfields() -> Weight { - (420_973_000 as Weight) + (375_411_000 as Weight) .saturating_add(T::DbWeight::get().reads(25 as Weight)) .saturating_add(T::DbWeight::get().writes(17 as Weight)) } @@ -148,9 +148,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { - (1_124_876_000 as Weight) - // Standard Error: 29_000 - .saturating_add((47_819_000 as Weight).saturating_mul(v as Weight)) + (1_067_738_000 as Weight) + // Standard Error: 48_000 + .saturating_add((47_926_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(28 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } @@ -187,7 +187,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_backed_candidate_code_upgrade() -> Weight { - (48_333_587_000 as Weight) + (45_676_661_000 as Weight) .saturating_add(T::DbWeight::get().reads(30 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_ump.rs b/runtime/kusama/src/weights/runtime_parachains_ump.rs index 30371d40488d..f551a06936f4 100644 --- a/runtime/kusama/src/weights/runtime_parachains_ump.rs +++ b/runtime/kusama/src/weights/runtime_parachains_ump.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::ump::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 51200]`. fn process_upward_message(s: u32, ) -> Weight { - (5_398_000 as Weight) + (5_919_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) } @@ -55,13 +55,13 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Storage: Ump RelayDispatchQueues (r:0 w:1) // Storage: Ump RelayDispatchQueueSize (r:0 w:1) fn clean_ump_after_outgoing() -> Weight { - (7_032_000 as Weight) + (6_895_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Ump Overweight (r:1 w:1) fn service_overweight() -> Weight { - (22_780_000 as Weight) + (22_805_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/polkadot/constants/src/weights/block_weights.rs b/runtime/polkadot/constants/src/weights/block_weights.rs index d16f863ad770..8d13fcdc54d0 100644 --- a/runtime/polkadot/constants/src/weights/block_weights.rs +++ b/runtime/polkadot/constants/src/weights/block_weights.rs @@ -16,7 +16,7 @@ // limitations under the License. //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29 (Y/M/D) +//! DATE: 2022-08-19 (Y/M/D) //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` @@ -45,16 +45,16 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 5_751_376, 6_851_894 - /// Average: 5_852_263 - /// Median: 5_837_213 - /// Std-Dev: 117677.54 + /// Min, Max: 5_736_651, 6_591_625 + /// Average: 5_849_907 + /// Median: 5_847_129 + /// Std-Dev: 109200.59 /// /// Percentiles nanoseconds: - /// 99th: 6_018_676 - /// 95th: 5_990_517 - /// 75th: 5_878_053 - pub const BlockExecutionWeight: Weight = 5_852_263 * WEIGHT_PER_NANOS; + /// 99th: 6_131_246 + /// 95th: 5_988_921 + /// 75th: 5_885_724 + pub const BlockExecutionWeight: Weight = 5_849_907 * WEIGHT_PER_NANOS; } #[cfg(test)] diff --git a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs index 6dad60b74a64..e4171f58bca0 100644 --- a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -46,46 +46,46 @@ pub struct WeightInfo(PhantomData); impl frame_benchmarking::baseline::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000000]`. fn addition(_i: u32, ) -> Weight { - (114_000 as Weight) + (122_000 as Weight) } /// The range of component `i` is `[0, 1000000]`. fn subtraction(_i: u32, ) -> Weight { - (115_000 as Weight) + (118_000 as Weight) } /// The range of component `i` is `[0, 1000000]`. fn multiplication(_i: u32, ) -> Weight { - (119_000 as Weight) + (112_000 as Weight) } /// The range of component `i` is `[0, 1000000]`. fn division(_i: u32, ) -> Weight { - (113_000 as Weight) + (115_000 as Weight) } /// The range of component `i` is `[0, 100]`. fn hashing(i: u32, ) -> Weight { - (19_483_528_000 as Weight) - // Standard Error: 136_000 - .saturating_add((887_000 as Weight).saturating_mul(i as Weight)) + (19_362_503_000 as Weight) + // Standard Error: 194_000 + .saturating_add((389_000 as Weight).saturating_mul(i as Weight)) } /// The range of component `i` is `[1, 100]`. fn sr25519_verification(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 27_000 - .saturating_add((47_973_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 39_000 + .saturating_add((47_745_000 as Weight).saturating_mul(i as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_read(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 3_000 - .saturating_add((2_172_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((2_129_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_write(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 0 - .saturating_add((324_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 1_000 + .saturating_add((330_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } } diff --git a/runtime/polkadot/src/weights/frame_election_provider_support.rs b/runtime/polkadot/src/weights/frame_election_provider_support.rs index ff9a89fdaac9..81863c04d03c 100644 --- a/runtime/polkadot/src/weights/frame_election_provider_support.rs +++ b/runtime/polkadot/src/weights/frame_election_provider_support.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -49,19 +49,19 @@ impl frame_election_provider_support::WeightInfo for We /// The range of component `d` is `[5, 16]`. fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 58_000 - .saturating_add((23_071_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 8_146_000 - .saturating_add((3_675_199_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 94_000 + .saturating_add((22_018_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 8_192_000 + .saturating_add((3_552_773_000 as Weight).saturating_mul(d as Weight)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 46_000 - .saturating_add((15_774_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 6_383_000 - .saturating_add((2_643_126_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 74_000 + .saturating_add((14_903_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 6_457_000 + .saturating_add((2_556_711_000 as Weight).saturating_mul(d as Weight)) } } diff --git a/runtime/polkadot/src/weights/frame_system.rs b/runtime/polkadot/src/weights/frame_system.rs index 7e87f8cc73f0..4f1e08c1479f 100644 --- a/runtime/polkadot/src/weights/frame_system.rs +++ b/runtime/polkadot/src/weights/frame_system.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -59,7 +59,7 @@ impl frame_system::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_088_000 as Weight) + (4_732_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((555_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((546_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((436_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((444_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -84,7 +84,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((956_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((961_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/polkadot/src/weights/pallet_bags_list.rs b/runtime/polkadot/src/weights/pallet_bags_list.rs index 28f1cc3a9c44..6e55c53f6c39 100644 --- a/runtime/polkadot/src/weights/pallet_bags_list.rs +++ b/runtime/polkadot/src/weights/pallet_bags_list.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -49,7 +49,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:4 w:4) // Storage: VoterList ListBags (r:1 w:1) fn rebag_non_terminal() -> Weight { - (50_786_000 as Weight) + (51_184_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -58,7 +58,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn rebag_terminal() -> Weight { - (48_972_000 as Weight) + (48_605_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -68,7 +68,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) fn put_in_front_of() -> Weight { - (51_648_000 as Weight) + (52_660_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_balances.rs b/runtime/polkadot/src/weights/pallet_balances.rs index 83c85754633e..fc35c08e309a 100644 --- a/runtime/polkadot/src/weights/pallet_balances.rs +++ b/runtime/polkadot/src/weights/pallet_balances.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -46,43 +46,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (38_613_000 as Weight) + (38_099_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (29_229_000 as Weight) + (28_954_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (19_859_000 as Weight) + (19_163_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (23_054_000 as Weight) + (22_204_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (38_930_000 as Weight) + (38_450_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (35_314_000 as Weight) + (33_958_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (18_020_000 as Weight) + (17_120_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_bounties.rs b/runtime/polkadot/src/weights/pallet_bounties.rs index fc3b4d033fb2..c2009e91cc70 100644 --- a/runtime/polkadot/src/weights/pallet_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,7 +50,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: Bounties Bounties (r:0 w:1) /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { - (26_268_000 as Weight) + (26_205_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -59,34 +59,34 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: Bounties Bounties (r:1 w:1) // Storage: Bounties BountyApprovals (r:1 w:1) fn approve_bounty() -> Weight { - (9_959_000 as Weight) + (9_686_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) fn propose_curator() -> Weight { - (8_072_000 as Weight) + (8_118_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn unassign_curator() -> Weight { - (35_806_000 as Weight) + (35_374_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn accept_curator() -> Weight { - (23_425_000 as Weight) + (22_927_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: ChildBounties ParentChildBounties (r:1 w:0) fn award_bounty() -> Weight { - (19_265_000 as Weight) + (19_186_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -95,7 +95,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn claim_bounty() -> Weight { - (64_404_000 as Weight) + (63_444_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -104,7 +104,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_proposed() -> Weight { - (38_972_000 as Weight) + (38_612_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -113,13 +113,13 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_active() -> Weight { - (48_428_000 as Weight) + (46_153_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Bounties Bounties (r:1 w:1) fn extend_bounty_expiry() -> Weight { - (17_551_000 as Weight) + (16_573_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -129,8 +129,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 100]`. fn spend_funds(b: u32, ) -> Weight { (0 as Weight) - // Standard Error: 22_000 - .saturating_add((30_307_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 28_000 + .saturating_add((29_706_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) diff --git a/runtime/polkadot/src/weights/pallet_child_bounties.rs b/runtime/polkadot/src/weights/pallet_child_bounties.rs index dfd0e8731a3e..997836cbf0c4 100644 --- a/runtime/polkadot/src/weights/pallet_child_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_child_bounties.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -52,7 +52,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (48_406_000 as Weight) + (47_819_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) @@ -62,7 +62,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (14_255_000 as Weight) + (14_018_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -70,7 +70,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (27_136_000 as Weight) + (25_943_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -78,14 +78,14 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (38_970_000 as Weight) + (38_240_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Bounties Bounties (r:1 w:0) // Storage: ChildBounties ChildBounties (r:1 w:1) fn award_child_bounty() -> Weight { - (21_153_000 as Weight) + (20_823_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -94,7 +94,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (65_062_000 as Weight) + (63_323_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -105,7 +105,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (46_147_000 as Weight) + (45_174_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -116,7 +116,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - (56_608_000 as Weight) + (54_312_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_democracy.rs b/runtime/polkadot/src/weights/pallet_democracy.rs index eafb379edd4f..2eaa8f7ccc4e 100644 --- a/runtime/polkadot/src/weights/pallet_democracy.rs +++ b/runtime/polkadot/src/weights/pallet_democracy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -49,16 +49,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - (38_402_000 as Weight) + (37_411_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy DepositOf (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn second(s: u32, ) -> Weight { - (28_378_000 as Weight) + (27_380_000 as Weight) // Standard Error: 0 - .saturating_add((87_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((67_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -67,9 +67,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn vote_new(r: u32, ) -> Weight { - (36_518_000 as Weight) - // Standard Error: 0 - .saturating_add((127_000 as Weight).saturating_mul(r as Weight)) + (35_299_000 as Weight) + // Standard Error: 1_000 + .saturating_add((117_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -78,16 +78,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn vote_existing(r: u32, ) -> Weight { - (36_556_000 as Weight) - // Standard Error: 0 - .saturating_add((127_000 as Weight).saturating_mul(r as Weight)) + (35_585_000 as Weight) + // Standard Error: 1_000 + .saturating_add((110_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - (18_390_000 as Weight) + (17_502_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -99,9 +99,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `p` is `[1, 100]`. fn blacklist(p: u32, ) -> Weight { - (53_739_000 as Weight) - // Standard Error: 3_000 - .saturating_add((208_000 as Weight).saturating_mul(p as Weight)) + (51_416_000 as Weight) + // Standard Error: 6_000 + .saturating_add((181_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -109,27 +109,27 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) /// The range of component `v` is `[1, 100]`. fn external_propose(v: u32, ) -> Weight { - (10_027_000 as Weight) + (9_901_000 as Weight) // Standard Error: 0 - .saturating_add((29_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((10_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - (3_954_000 as Weight) + (3_582_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - (3_849_000 as Weight) + (3_595_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - (18_550_000 as Weight) + (17_658_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -137,9 +137,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:1) /// The range of component `v` is `[0, 100]`. fn veto_external(v: u32, ) -> Weight { - (19_189_000 as Weight) + (18_457_000 as Weight) // Standard Error: 0 - .saturating_add((58_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((45_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -148,24 +148,24 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `p` is `[1, 100]`. fn cancel_proposal(p: u32, ) -> Weight { - (43_321_000 as Weight) + (42_442_000 as Weight) // Standard Error: 1_000 - .saturating_add((192_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((150_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - (12_557_000 as Weight) + (12_097_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn cancel_queued(r: u32, ) -> Weight { - (23_772_000 as Weight) - // Standard Error: 5_000 - .saturating_add((1_821_000 as Weight).saturating_mul(r as Weight)) + (22_952_000 as Weight) + // Standard Error: 4_000 + .saturating_add((1_756_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -174,9 +174,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:0) /// The range of component `r` is `[1, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - (1_775_000 as Weight) - // Standard Error: 3_000 - .saturating_add((3_036_000 as Weight).saturating_mul(r as Weight)) + (1_874_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_927_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -189,9 +189,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:0) /// The range of component `r` is `[1, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - (6_482_000 as Weight) - // Standard Error: 3_000 - .saturating_add((3_039_000 as Weight).saturating_mul(r as Weight)) + (4_956_000 as Weight) + // Standard Error: 19_000 + .saturating_add((3_013_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -201,9 +201,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn delegate(r: u32, ) -> Weight { - (35_564_000 as Weight) + (35_923_000 as Weight) // Standard Error: 5_000 - .saturating_add((4_063_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((3_904_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(4 as Weight)) @@ -213,9 +213,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn undelegate(r: u32, ) -> Weight { - (18_902_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_000_000 as Weight).saturating_mul(r as Weight)) + (20_735_000 as Weight) + // Standard Error: 5_000 + .saturating_add((3_853_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -223,13 +223,13 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - (4_224_000 as Weight) + (3_842_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Democracy Preimages (r:1 w:1) /// The range of component `b` is `[0, 16384]`. fn note_preimage(b: u32, ) -> Weight { - (25_641_000 as Weight) + (25_748_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -238,7 +238,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Preimages (r:1 w:1) /// The range of component `b` is `[0, 16384]`. fn note_imminent_preimage(b: u32, ) -> Weight { - (18_112_000 as Weight) + (17_855_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -248,7 +248,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:0) /// The range of component `b` is `[0, 16384]`. fn reap_preimage(b: u32, ) -> Weight { - (25_435_000 as Weight) + (24_856_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -259,9 +259,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn unlock_remove(r: u32, ) -> Weight { - (23_703_000 as Weight) + (22_749_000 as Weight) // Standard Error: 0 - .saturating_add((32_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((33_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -270,9 +270,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn unlock_set(r: u32, ) -> Weight { - (22_915_000 as Weight) + (21_921_000 as Weight) // Standard Error: 0 - .saturating_add((116_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((102_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -280,9 +280,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn remove_vote(r: u32, ) -> Weight { - (13_990_000 as Weight) + (13_586_000 as Weight) // Standard Error: 0 - .saturating_add((112_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((98_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -290,9 +290,9 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 99]`. fn remove_other_vote(r: u32, ) -> Weight { - (14_317_000 as Weight) + (13_599_000 as Weight) // Standard Error: 0 - .saturating_add((111_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((96_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs index a6ba51733c71..0c2336196b10 100644 --- a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -53,33 +53,33 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: Staking ForceEra (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) fn on_initialize_nothing() -> Weight { - (13_732_000 as Weight) + (13_304_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_signed() -> Weight { - (12_513_000 as Weight) + (12_920_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_unsigned() -> Weight { - (12_264_000 as Weight) + (12_482_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) // Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1) fn finalize_signed_phase_accept_solution() -> Weight { - (26_169_000 as Weight) + (25_726_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn finalize_signed_phase_reject_solution() -> Weight { - (19_867_000 as Weight) + (19_640_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -90,10 +90,10 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_000 - .saturating_add((395_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 3_000 - .saturating_add((87_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 2_000 + .saturating_add((406_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 5_000 + .saturating_add((62_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -109,11 +109,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { - (14_945_000 as Weight) - // Standard Error: 8_000 - .saturating_add((909_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 13_000 - .saturating_add((160_000 as Weight).saturating_mul(d as Weight)) + (113_324_000 as Weight) + // Standard Error: 7_000 + .saturating_add((342_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 11_000 + .saturating_add((54_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -124,7 +124,7 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1) // Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1) fn submit() -> Weight { - (47_490_000 as Weight) + (45_851_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -142,13 +142,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) // Standard Error: 5_000 - .saturating_add((1_173_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((850_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 11_000 - .saturating_add((110_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 18_000 - .saturating_add((8_244_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 27_000 - .saturating_add((1_632_000 as Weight).saturating_mul(d as Weight)) + .saturating_add((11_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 19_000 + .saturating_add((7_957_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 28_000 + .saturating_add((1_659_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -162,14 +162,14 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `d` is `[200, 400]`. fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 5_000 - .saturating_add((1_145_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 10_000 - .saturating_add((73_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 17_000 - .saturating_add((6_079_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 26_000 - .saturating_add((1_269_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 4_000 + .saturating_add((856_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 9_000 + .saturating_add((63_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 16_000 + .saturating_add((5_762_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 24_000 + .saturating_add((1_360_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) } } diff --git a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs index d24b53b603a2..c7cee9e38008 100644 --- a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs +++ b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -51,9 +51,9 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { - (25_399_000 as Weight) - // Standard Error: 5_000 - .saturating_add((158_000 as Weight).saturating_mul(v as Weight)) + (24_201_000 as Weight) + // Standard Error: 3_000 + .saturating_add((157_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -64,9 +64,9 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { - (37_537_000 as Weight) - // Standard Error: 13_000 - .saturating_add((201_000 as Weight).saturating_mul(v as Weight)) + (36_619_000 as Weight) + // Standard Error: 3_000 + .saturating_add((161_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -77,16 +77,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { - (38_122_000 as Weight) - // Standard Error: 7_000 - .saturating_add((151_000 as Weight).saturating_mul(v as Weight)) + (36_953_000 as Weight) + // Standard Error: 3_000 + .saturating_add((121_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: PhragmenElection Voting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { - (34_112_000 as Weight) + (32_792_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -95,18 +95,18 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: PhragmenElection RunnersUp (r:1 w:0) /// The range of component `c` is `[1, 1000]`. fn submit_candidacy(c: u32, ) -> Weight { - (27_347_000 as Weight) + (26_285_000 as Weight) // Standard Error: 0 - .saturating_add((153_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((98_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: PhragmenElection Candidates (r:1 w:1) /// The range of component `c` is `[1, 1000]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { - (23_460_000 as Weight) + (23_041_000 as Weight) // Standard Error: 0 - .saturating_add((93_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((64_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -116,13 +116,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { - (42_940_000 as Weight) + (41_166_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { - (31_659_000 as Weight) + (30_928_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -137,7 +137,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { - (58_478_000 as Weight) + (57_000_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -151,8 +151,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[1, 5000]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 59_000 - .saturating_add((60_310_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 74_000 + .saturating_add((61_573_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight))) @@ -165,16 +165,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: PhragmenElection ElectionRounds (r:1 w:1) // Storage: Council Members (r:0 w:1) // Storage: Council Prime (r:0 w:1) - // Storage: System Account (r:6 w:6) + // Storage: System Account (r:8 w:8) /// The range of component `c` is `[1, 1000]`. /// The range of component `v` is `[1, 10000]`. /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_531_000 - .saturating_add((143_079_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 102_000 - .saturating_add((8_219_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 1_489_000 + .saturating_add((138_137_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 99_000 + .saturating_add((7_943_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(269 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) diff --git a/runtime/polkadot/src/weights/pallet_identity.rs b/runtime/polkadot/src/weights/pallet_identity.rs index 116e94a774b6..87ea8d55ca82 100644 --- a/runtime/polkadot/src/weights/pallet_identity.rs +++ b/runtime/polkadot/src/weights/pallet_identity.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -47,9 +47,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - (16_096_000 as Weight) - // Standard Error: 4_000 - .saturating_add((201_000 as Weight).saturating_mul(r as Weight)) + (15_723_000 as Weight) + // Standard Error: 3_000 + .saturating_add((163_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -57,11 +57,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - (30_626_000 as Weight) - // Standard Error: 10_000 - .saturating_add((160_000 as Weight).saturating_mul(r as Weight)) + (28_673_000 as Weight) + // Standard Error: 6_000 + .saturating_add((188_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 1_000 - .saturating_add((330_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((335_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -70,9 +70,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn set_subs_new(s: u32, ) -> Weight { - (27_314_000 as Weight) - // Standard Error: 3_000 - .saturating_add((2_958_000 as Weight).saturating_mul(s as Weight)) + (25_786_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_924_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -83,9 +83,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:0 w:1) /// The range of component `p` is `[1, 100]`. fn set_subs_old(p: u32, ) -> Weight { - (27_353_000 as Weight) - // Standard Error: 0 - .saturating_add((935_000 as Weight).saturating_mul(p as Weight)) + (25_940_000 as Weight) + // Standard Error: 1_000 + .saturating_add((917_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) @@ -97,13 +97,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. /// The range of component `x` is `[1, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - (32_942_000 as Weight) - // Standard Error: 6_000 - .saturating_add((88_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 0 - .saturating_add((932_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 0 - .saturating_add((204_000 as Weight).saturating_mul(x as Weight)) + (30_589_000 as Weight) + // Standard Error: 9_000 + .saturating_add((106_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((929_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 1_000 + .saturating_add((168_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -113,11 +113,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - (31_354_000 as Weight) - // Standard Error: 4_000 - .saturating_add((184_000 as Weight).saturating_mul(r as Weight)) + (30_524_000 as Weight) + // Standard Error: 3_000 + .saturating_add((160_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 0 - .saturating_add((384_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((339_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -125,38 +125,38 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - (28_693_000 as Weight) - // Standard Error: 5_000 - .saturating_add((127_000 as Weight).saturating_mul(r as Weight)) + (28_075_000 as Weight) + // Standard Error: 3_000 + .saturating_add((114_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 0 - .saturating_add((377_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((330_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - (7_161_000 as Weight) - // Standard Error: 3_000 - .saturating_add((166_000 as Weight).saturating_mul(r as Weight)) + (6_835_000 as Weight) + // Standard Error: 1_000 + .saturating_add((133_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - (7_323_000 as Weight) - // Standard Error: 2_000 - .saturating_add((159_000 as Weight).saturating_mul(r as Weight)) + (6_829_000 as Weight) + // Standard Error: 1_000 + .saturating_add((119_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - (7_198_000 as Weight) - // Standard Error: 3_000 - .saturating_add((168_000 as Weight).saturating_mul(r as Weight)) + (7_029_000 as Weight) + // Standard Error: 1_000 + .saturating_add((118_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -165,11 +165,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[1, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - (22_088_000 as Weight) - // Standard Error: 4_000 - .saturating_add((147_000 as Weight).saturating_mul(r as Weight)) + (21_589_000 as Weight) + // Standard Error: 2_000 + .saturating_add((112_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 0 - .saturating_add((380_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((339_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -181,11 +181,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. /// The range of component `x` is `[1, 100]`. fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight { - (47_641_000 as Weight) - // Standard Error: 20_000 - .saturating_add((82_000 as Weight).saturating_mul(r as Weight)) + (46_356_000 as Weight) + // Standard Error: 11_000 + .saturating_add((93_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 2_000 - .saturating_add((925_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((932_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -195,9 +195,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 99]`. fn add_sub(s: u32, ) -> Weight { - (34_366_000 as Weight) + (33_155_000 as Weight) // Standard Error: 0 - .saturating_add((103_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((87_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -205,9 +205,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - (12_628_000 as Weight) + (12_099_000 as Weight) // Standard Error: 0 - .saturating_add((25_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((28_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -216,9 +216,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - (35_287_000 as Weight) - // Standard Error: 0 - .saturating_add((95_000 as Weight).saturating_mul(s as Weight)) + (34_432_000 as Weight) + // Standard Error: 1_000 + .saturating_add((72_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -226,9 +226,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 99]`. fn quit_sub(s: u32, ) -> Weight { - (24_856_000 as Weight) + (23_989_000 as Weight) // Standard Error: 0 - .saturating_add((92_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((72_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_im_online.rs b/runtime/polkadot/src/weights/pallet_im_online.rs index 7d7b4445a922..9d41e418bf23 100644 --- a/runtime/polkadot/src/weights/pallet_im_online.rs +++ b/runtime/polkadot/src/weights/pallet_im_online.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -52,11 +52,11 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - (77_629_000 as Weight) + (75_125_000 as Weight) // Standard Error: 0 - .saturating_add((62_000 as Weight).saturating_mul(k as Weight)) - // Standard Error: 4_000 - .saturating_add((295_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((26_000 as Weight).saturating_mul(k as Weight)) + // Standard Error: 3_000 + .saturating_add((309_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_indices.rs b/runtime/polkadot/src/weights/pallet_indices.rs index 39ecc6737cd5..fb4ba4658bae 100644 --- a/runtime/polkadot/src/weights/pallet_indices.rs +++ b/runtime/polkadot/src/weights/pallet_indices.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -46,33 +46,33 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - (23_468_000 as Weight) + (23_458_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (29_540_000 as Weight) + (29_114_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - (24_554_000 as Weight) + (24_000_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (24_428_000 as Weight) + (23_959_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - (27_358_000 as Weight) + (26_773_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_membership.rs b/runtime/polkadot/src/weights/pallet_membership.rs index 348768ef36f4..8d943929a46d 100644 --- a/runtime/polkadot/src/weights/pallet_membership.rs +++ b/runtime/polkadot/src/weights/pallet_membership.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,9 +50,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - (14_728_000 as Weight) + (18_204_000 as Weight) // Standard Error: 0 - .saturating_add((72_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((55_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -63,9 +63,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - (16_997_000 as Weight) + (20_617_000 as Weight) // Standard Error: 0 - .saturating_add((64_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((45_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -76,9 +76,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - (17_130_000 as Weight) + (20_686_000 as Weight) // Standard Error: 0 - .saturating_add((74_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((59_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -89,9 +89,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - (16_660_000 as Weight) + (20_032_000 as Weight) // Standard Error: 0 - .saturating_add((191_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((179_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -102,9 +102,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - (17_481_000 as Weight) + (21_386_000 as Weight) // Standard Error: 0 - .saturating_add((69_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((56_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -113,9 +113,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - (4_241_000 as Weight) + (7_077_000 as Weight) // Standard Error: 0 - .saturating_add((29_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((11_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -123,7 +123,7 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { - (1_367_000 as Weight) + (3_931_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/polkadot/src/weights/pallet_multisig.rs b/runtime/polkadot/src/weights/pallet_multisig.rs index 708ccd930ec2..e4a87b195411 100644 --- a/runtime/polkadot/src/weights/pallet_multisig.rs +++ b/runtime/polkadot/src/weights/pallet_multisig.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - (13_840_000 as Weight) + (13_989_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } @@ -55,9 +55,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - (31_415_000 as Weight) - // Standard Error: 1_000 - .saturating_add((91_000 as Weight).saturating_mul(s as Weight)) + (30_373_000 as Weight) + // Standard Error: 0 + .saturating_add((104_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -69,9 +69,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (33_353_000 as Weight) + (32_912_000 as Weight) // Standard Error: 0 - .saturating_add((101_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((108_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -81,9 +81,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (19_834_000 as Weight) + (19_525_000 as Weight) // Standard Error: 0 - .saturating_add((105_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((106_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -94,9 +94,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (32_802_000 as Weight) + (31_081_000 as Weight) // Standard Error: 0 - .saturating_add((113_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((126_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -108,11 +108,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (39_840_000 as Weight) - // Standard Error: 0 - .saturating_add((151_000 as Weight).saturating_mul(s as Weight)) + (44_011_000 as Weight) + // Standard Error: 2_000 + .saturating_add((101_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -120,9 +120,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - (30_112_000 as Weight) + (29_889_000 as Weight) // Standard Error: 0 - .saturating_add((111_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((105_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -130,9 +130,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - (19_579_000 as Weight) + (19_135_000 as Weight) // Standard Error: 0 - .saturating_add((105_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((110_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -141,9 +141,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_complete(s: u32, ) -> Weight { - (72_614_000 as Weight) - // Standard Error: 0 - .saturating_add((147_000 as Weight).saturating_mul(s as Weight)) + (61_253_000 as Weight) + // Standard Error: 1_000 + .saturating_add((139_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -151,9 +151,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - (51_165_000 as Weight) + (44_745_000 as Weight) // Standard Error: 0 - .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((116_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_nomination_pools.rs b/runtime/polkadot/src/weights/pallet_nomination_pools.rs index 82e40e452d2c..beb84b82f23b 100644 --- a/runtime/polkadot/src/weights/pallet_nomination_pools.rs +++ b/runtime/polkadot/src/weights/pallet_nomination_pools.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-02, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=polkadot-dev // --steps=50 // --repeat=20 +// --pallet=pallet_nomination_pools // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=pallet_nomination_pools -// --chain=polkadot-dev // --header=./file_header.txt // --output=./runtime/polkadot/src/weights/pallet_nomination_pools.rs @@ -59,7 +58,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn join() -> Weight { - (118_410_000 as Weight) + (127_049_000 as Weight) .saturating_add(T::DbWeight::get().reads(17 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -73,7 +72,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_transfer() -> Weight { - (110_847_000 as Weight) + (118_664_000 as Weight) .saturating_add(T::DbWeight::get().reads(14 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -87,7 +86,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:2 w:2) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_reward() -> Weight { - (117_431_000 as Weight) + (128_259_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -96,7 +95,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_payout() -> Weight { - (46_087_000 as Weight) + (48_002_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -115,7 +114,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools SubPoolsStorage (r:1 w:1) // Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1) fn unbond() -> Weight { - (116_969_000 as Weight) + (126_313_000 as Weight) .saturating_add(T::DbWeight::get().reads(18 as Weight)) .saturating_add(T::DbWeight::get().writes(13 as Weight)) } @@ -125,9 +124,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Balances Locks (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { - (37_619_000 as Weight) + (41_173_000 as Weight) // Standard Error: 0 - .saturating_add((28_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((31_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -141,9 +140,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - (73_374_000 as Weight) + (80_122_000 as Weight) // Standard Error: 0 - .saturating_add((35_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((39_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -168,9 +167,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (128_477_000 as Weight) + (137_635_000 as Weight) // Standard Error: 1_000 - .saturating_add((11_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(19 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } @@ -197,7 +196,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn create() -> Weight { - (118_156_000 as Weight) + (130_180_000 as Weight) .saturating_add(T::DbWeight::get().reads(22 as Weight)) .saturating_add(T::DbWeight::get().writes(15 as Weight)) } @@ -215,9 +214,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - (47_219_000 as Weight) - // Standard Error: 10_000 - .saturating_add((2_107_000 as Weight).saturating_mul(n as Weight)) + (49_620_000 as Weight) + // Standard Error: 7_000 + .saturating_add((2_222_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(5 as Weight)) @@ -225,7 +224,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Ledger (r:1 w:0) fn set_state() -> Weight { - (23_730_000 as Weight) + (25_600_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -233,10 +232,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools Metadata (r:1 w:1) // Storage: NominationPools CounterForMetadata (r:1 w:1) /// The range of component `n` is `[1, 256]`. - fn set_metadata(n: u32, ) -> Weight { - (13_082_000 as Weight) - // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(n as Weight)) + fn set_metadata(_n: u32, ) -> Weight { + (14_190_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -246,12 +243,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinCreateBond (r:0 w:1) // Storage: NominationPools MaxPools (r:0 w:1) fn set_configs() -> Weight { - (6_135_000 as Weight) + (6_590_000 as Weight) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: NominationPools BondedPools (r:1 w:1) fn update_roles() -> Weight { - (20_373_000 as Weight) + (21_132_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -264,7 +261,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - (45_186_000 as Weight) + (47_706_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_preimage.rs b/runtime/polkadot/src/weights/pallet_preimage.rs index b7c771a498f9..417923f01a80 100644 --- a/runtime/polkadot/src/weights/pallet_preimage.rs +++ b/runtime/polkadot/src/weights/pallet_preimage.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -77,58 +77,58 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (37_307_000 as Weight) + (35_230_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (25_246_000 as Weight) + (23_166_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (35_248_000 as Weight) + (32_732_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (23_596_000 as Weight) + (21_601_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (16_072_000 as Weight) + (16_024_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (7_628_000 as Weight) + (6_304_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (24_828_000 as Weight) + (22_524_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (17_350_000 as Weight) + (15_432_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (7_077_000 as Weight) + (6_208_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_proxy.rs b/runtime/polkadot/src/weights/pallet_proxy.rs index 60ebb5503ab6..cad0f35d84f5 100644 --- a/runtime/polkadot/src/weights/pallet_proxy.rs +++ b/runtime/polkadot/src/weights/pallet_proxy.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -47,9 +47,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - (17_890_000 as Weight) + (17_881_000 as Weight) // Standard Error: 1_000 - .saturating_add((72_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((62_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -58,11 +58,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - (33_743_000 as Weight) - // Standard Error: 2_000 - .saturating_add((205_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((63_000 as Weight).saturating_mul(p as Weight)) + (33_622_000 as Weight) + // Standard Error: 1_000 + .saturating_add((160_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((43_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -71,11 +71,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { - (23_749_000 as Weight) + (22_694_000 as Weight) // Standard Error: 1_000 - .saturating_add((200_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((160_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((5_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((8_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -84,11 +84,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { - (24_009_000 as Weight) + (23_041_000 as Weight) // Standard Error: 1_000 - .saturating_add((187_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((152_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((2_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -98,38 +98,38 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - (31_351_000 as Weight) + (30_007_000 as Weight) // Standard Error: 1_000 - .saturating_add((190_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((53_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((164_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((46_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - (25_706_000 as Weight) - // Standard Error: 2_000 - .saturating_add((129_000 as Weight).saturating_mul(p as Weight)) + (25_173_000 as Weight) + // Standard Error: 1_000 + .saturating_add((90_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - (25_945_000 as Weight) + (25_002_000 as Weight) // Standard Error: 2_000 - .saturating_add((130_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((113_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - (21_877_000 as Weight) - // Standard Error: 2_000 - .saturating_add((95_000 as Weight).saturating_mul(p as Weight)) + (21_348_000 as Weight) + // Standard Error: 1_000 + .saturating_add((54_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -137,18 +137,18 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn anonymous(p: u32, ) -> Weight { - (28_716_000 as Weight) + (28_480_000 as Weight) // Standard Error: 2_000 - .saturating_add((43_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((27_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_anonymous(p: u32, ) -> Weight { - (22_861_000 as Weight) - // Standard Error: 2_000 - .saturating_add((89_000 as Weight).saturating_mul(p as Weight)) + (22_099_000 as Weight) + // Standard Error: 1_000 + .saturating_add((71_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_scheduler.rs b/runtime/polkadot/src/weights/pallet_scheduler.rs index 426b1a934f89..db69454aee9e 100644 --- a/runtime/polkadot/src/weights/pallet_scheduler.rs +++ b/runtime/polkadot/src/weights/pallet_scheduler.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -50,9 +50,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - (2_638_000 as Weight) - // Standard Error: 42_000 - .saturating_add((26_059_000 as Weight).saturating_mul(s as Weight)) + (3_445_000 as Weight) + // Standard Error: 39_000 + .saturating_add((25_402_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -64,9 +64,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named_resolved(s: u32, ) -> Weight { - (1_805_000 as Weight) - // Standard Error: 33_000 - .saturating_add((21_025_000 as Weight).saturating_mul(s as Weight)) + (3_668_000 as Weight) + // Standard Error: 35_000 + .saturating_add((20_334_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -77,9 +77,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 54_000 - .saturating_add((24_216_000 as Weight).saturating_mul(s as Weight)) + (125_000 as Weight) + // Standard Error: 37_000 + .saturating_add((23_169_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -90,9 +90,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_resolved(s: u32, ) -> Weight { - (6_257_000 as Weight) - // Standard Error: 32_000 - .saturating_add((20_045_000 as Weight).saturating_mul(s as Weight)) + (7_788_000 as Weight) + // Standard Error: 53_000 + .saturating_add((19_336_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -103,9 +103,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named_aborted(s: u32, ) -> Weight { - (4_309_000 as Weight) - // Standard Error: 15_000 - .saturating_add((8_717_000 as Weight).saturating_mul(s as Weight)) + (4_356_000 as Weight) + // Standard Error: 16_000 + .saturating_add((8_792_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -115,9 +115,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:0) /// The range of component `s` is `[1, 50]`. fn on_initialize_aborted(s: u32, ) -> Weight { - (5_512_000 as Weight) - // Standard Error: 13_000 - .saturating_add((6_700_000 as Weight).saturating_mul(s as Weight)) + (5_559_000 as Weight) + // Standard Error: 12_000 + .saturating_add((6_664_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -126,9 +126,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_named(s: u32, ) -> Weight { - (8_287_000 as Weight) - // Standard Error: 27_000 - .saturating_add((15_802_000 as Weight).saturating_mul(s as Weight)) + (10_201_000 as Weight) + // Standard Error: 24_000 + .saturating_add((15_168_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -137,9 +137,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic(s: u32, ) -> Weight { - (10_446_000 as Weight) - // Standard Error: 23_000 - .saturating_add((13_475_000 as Weight).saturating_mul(s as Weight)) + (10_698_000 as Weight) + // Standard Error: 20_000 + .saturating_add((12_938_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -149,9 +149,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named(s: u32, ) -> Weight { - (11_353_000 as Weight) - // Standard Error: 20_000 - .saturating_add((11_028_000 as Weight).saturating_mul(s as Weight)) + (11_043_000 as Weight) + // Standard Error: 18_000 + .saturating_add((10_555_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -159,18 +159,18 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize(s: u32, ) -> Weight { - (12_045_000 as Weight) - // Standard Error: 19_000 - .saturating_add((10_148_000 as Weight).saturating_mul(s as Weight)) + (11_488_000 as Weight) + // Standard Error: 18_000 + .saturating_add((9_623_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn schedule(s: u32, ) -> Weight { - (19_339_000 as Weight) + (19_103_000 as Weight) // Standard Error: 1_000 - .saturating_add((50_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((48_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -178,9 +178,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - (18_472_000 as Weight) + (18_526_000 as Weight) // Standard Error: 5_000 - .saturating_add((1_887_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_845_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -188,9 +188,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn schedule_named(s: u32, ) -> Weight { - (22_687_000 as Weight) + (22_422_000 as Weight) // Standard Error: 1_000 - .saturating_add((54_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((59_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -198,9 +198,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - (19_790_000 as Weight) + (20_181_000 as Weight) // Standard Error: 5_000 - .saturating_add((1_897_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_852_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_session.rs b/runtime/polkadot/src/weights/pallet_session.rs index 765eba2170e4..81eb07cb0597 100644 --- a/runtime/polkadot/src/weights/pallet_session.rs +++ b/runtime/polkadot/src/weights/pallet_session.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -48,7 +48,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:6 w:6) fn set_keys() -> Weight { - (43_208_000 as Weight) + (42_571_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -56,7 +56,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:6) fn purge_keys() -> Weight { - (28_052_000 as Weight) + (26_667_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index a9fd20c6c83a..2f22ff8a4cb1 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -51,7 +51,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - (40_799_000 as Weight) + (38_939_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -61,7 +61,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - (70_110_000 as Weight) + (69_559_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -75,7 +75,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - (75_506_000 as Weight) + (75_195_000 as Weight) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -85,9 +85,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - (32_458_000 as Weight) + (31_282_000 as Weight) // Standard Error: 0 - .saturating_add((26_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((32_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -105,10 +105,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (61_208_000 as Weight) - // Standard Error: 1_000 - .saturating_add((3_000 as Weight).saturating_mul(s as Weight)) + fn withdraw_unbonded_kill(_s: u32, ) -> Weight { + (60_846_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -124,7 +122,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - (50_095_000 as Weight) + (49_099_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -132,9 +130,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - (11_377_000 as Weight) - // Standard Error: 11_000 - .saturating_add((8_616_000 as Weight).saturating_mul(k as Weight)) + (11_488_000 as Weight) + // Standard Error: 12_000 + .saturating_add((8_257_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) @@ -152,9 +150,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - (52_482_000 as Weight) - // Standard Error: 16_000 - .saturating_add((3_227_000 as Weight).saturating_mul(n as Weight)) + (52_331_000 as Weight) + // Standard Error: 6_000 + .saturating_add((3_297_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(6 as Weight)) @@ -167,48 +165,48 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - (46_349_000 as Weight) + (46_346_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - (9_963_000 as Weight) + (9_573_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - (17_426_000 as Weight) + (16_956_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - (3_701_000 as Weight) + (3_283_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - (3_736_000 as Weight) + (3_218_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - (3_764_000 as Weight) + (3_188_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - (3_705_000 as Weight) + (3_254_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - (4_226_000 as Weight) + (3_706_000 as Weight) // Standard Error: 0 .saturating_add((10_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -228,9 +226,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - (58_694_000 as Weight) + (58_154_000 as Weight) // Standard Error: 1_000 - .saturating_add((907_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((894_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -238,9 +236,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - (2_544_704_000 as Weight) - // Standard Error: 168_000 - .saturating_add((15_048_000 as Weight).saturating_mul(s as Weight)) + (2_565_318_000 as Weight) + // Standard Error: 176_000 + .saturating_add((14_870_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -256,9 +254,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) /// The range of component `n` is `[1, 256]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (70_868_000 as Weight) + (79_314_000 as Weight) // Standard Error: 20_000 - .saturating_add((25_819_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((25_615_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -277,9 +275,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:2 w:2) /// The range of component `n` is `[1, 256]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (96_725_000 as Weight) - // Standard Error: 27_000 - .saturating_add((35_250_000 as Weight).saturating_mul(n as Weight)) + (100_678_000 as Weight) + // Standard Error: 26_000 + .saturating_add((34_451_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -293,9 +291,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - (69_298_000 as Weight) - // Standard Error: 3_000 - .saturating_add((58_000 as Weight).saturating_mul(l as Weight)) + (68_008_000 as Weight) + // Standard Error: 2_000 + .saturating_add((68_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -311,8 +309,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `e` is `[1, 100]`. fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 62_000 - .saturating_add((21_908_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 84_000 + .saturating_add((21_963_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) @@ -332,9 +330,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - (65_243_000 as Weight) - // Standard Error: 1_000 - .saturating_add((900_000 as Weight).saturating_mul(s as Weight)) + (66_394_000 as Weight) + // Standard Error: 4_000 + .saturating_add((874_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -362,10 +360,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_063_000 - .saturating_add((315_444_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 53_000 - .saturating_add((40_631_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 1_253_000 + .saturating_add((288_357_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 120_000 + .saturating_add((38_464_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(187 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight))) @@ -386,12 +384,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 20]`. fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { (0 as Weight) - // Standard Error: 106_000 - .saturating_add((24_848_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 106_000 - .saturating_add((22_964_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 3_626_000 - .saturating_add((40_931_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 117_000 + .saturating_add((25_453_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 117_000 + .saturating_add((22_630_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 2_987_000 + .saturating_add((45_604_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(181 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight))) @@ -403,8 +401,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { (0 as Weight) - // Standard Error: 36_000 - .saturating_add((7_470_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 37_000 + .saturating_add((7_545_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -416,7 +414,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - (6_374_000 as Weight) + (6_204_000 as Weight) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking MinCommission (r:0 w:1) @@ -426,7 +424,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - (6_470_000 as Weight) + (5_674_000 as Weight) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking Ledger (r:1 w:0) @@ -440,14 +438,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - (57_394_000 as Weight) + (57_011_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - (11_078_000 as Weight) + (10_470_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_timestamp.rs b/runtime/polkadot/src/weights/pallet_timestamp.rs index 7c66c568ee70..d1044a555ad0 100644 --- a/runtime/polkadot/src/weights/pallet_timestamp.rs +++ b/runtime/polkadot/src/weights/pallet_timestamp.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -47,11 +47,11 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Babe CurrentSlot (r:1 w:0) fn set() -> Weight { - (7_804_000 as Weight) + (7_506_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (2_104_000 as Weight) + (2_200_000 as Weight) } } diff --git a/runtime/polkadot/src/weights/pallet_tips.rs b/runtime/polkadot/src/weights/pallet_tips.rs index 6ff016e9d315..5d3df3b3be21 100644 --- a/runtime/polkadot/src/weights/pallet_tips.rs +++ b/runtime/polkadot/src/weights/pallet_tips.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -48,7 +48,7 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `r` is `[0, 16384]`. fn report_awesome(r: u32, ) -> Weight { - (28_536_000 as Weight) + (27_718_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -57,7 +57,7 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { - (26_995_000 as Weight) + (26_157_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -67,11 +67,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. /// The range of component `t` is `[1, 13]`. fn tip_new(r: u32, t: u32, ) -> Weight { - (19_681_000 as Weight) + (18_664_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 7_000 - .saturating_add((66_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 3_000 + .saturating_add((63_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -79,9 +79,9 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `t` is `[1, 13]`. fn tip(t: u32, ) -> Weight { - (11_249_000 as Weight) - // Standard Error: 5_000 - .saturating_add((325_000 as Weight).saturating_mul(t as Weight)) + (10_863_000 as Weight) + // Standard Error: 2_000 + .saturating_add((162_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -91,9 +91,9 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 13]`. fn close_tip(t: u32, ) -> Weight { - (43_385_000 as Weight) - // Standard Error: 15_000 - .saturating_add((193_000 as Weight).saturating_mul(t as Weight)) + (41_570_000 as Weight) + // Standard Error: 5_000 + .saturating_add((195_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -101,9 +101,9 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 13]`. fn slash_tip(t: u32, ) -> Weight { - (17_533_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_000 as Weight).saturating_mul(t as Weight)) + (16_365_000 as Weight) + // Standard Error: 2_000 + .saturating_add((11_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/polkadot/src/weights/pallet_treasury.rs b/runtime/polkadot/src/weights/pallet_treasury.rs index fc16678955f4..cb62cb1670cb 100644 --- a/runtime/polkadot/src/weights/pallet_treasury.rs +++ b/runtime/polkadot/src/weights/pallet_treasury.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -45,19 +45,19 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - (158_000 as Weight) + (150_000 as Weight) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - (23_818_000 as Weight) + (24_642_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - (36_245_000 as Weight) + (34_552_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -65,15 +65,15 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { - (10_203_000 as Weight) + (9_927_000 as Weight) // Standard Error: 0 - .saturating_add((33_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((38_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - (6_046_000 as Weight) + (5_599_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -83,9 +83,9 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: System Account (r:4 w:4) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - (19_631_000 as Weight) + (17_797_000 as Weight) // Standard Error: 28_000 - .saturating_add((29_291_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((29_621_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) diff --git a/runtime/polkadot/src/weights/pallet_utility.rs b/runtime/polkadot/src/weights/pallet_utility.rs index 3aacc2b47750..618ae0566235 100644 --- a/runtime/polkadot/src/weights/pallet_utility.rs +++ b/runtime/polkadot/src/weights/pallet_utility.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -46,26 +46,26 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - (10_583_000 as Weight) + (14_546_000 as Weight) // Standard Error: 3_000 - .saturating_add((4_325_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_678_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (5_398_000 as Weight) + (5_507_000 as Weight) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - (18_169_000 as Weight) - // Standard Error: 3_000 - .saturating_add((4_588_000 as Weight).saturating_mul(c as Weight)) + (12_316_000 as Weight) + // Standard Error: 4_000 + .saturating_add((4_969_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (12_778_000 as Weight) + (12_904_000 as Weight) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - (13_353_000 as Weight) + (15_799_000 as Weight) // Standard Error: 3_000 - .saturating_add((4_301_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_646_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/polkadot/src/weights/pallet_vesting.rs b/runtime/polkadot/src/weights/pallet_vesting.rs index ee6af6730f2a..b7ecd72932c0 100644 --- a/runtime/polkadot/src/weights/pallet_vesting.rs +++ b/runtime/polkadot/src/weights/pallet_vesting.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -49,11 +49,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { - (29_017_000 as Weight) + (28_194_000 as Weight) + // Standard Error: 0 + .saturating_add((75_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((83_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((178_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((161_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -62,11 +62,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { - (29_232_000 as Weight) + (28_109_000 as Weight) // Standard Error: 0 - .saturating_add((73_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((146_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((67_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 1_000 + .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -76,11 +76,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { - (29_692_000 as Weight) + (28_316_000 as Weight) // Standard Error: 0 - .saturating_add((84_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((75_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((165_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((154_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -90,11 +90,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - (29_787_000 as Weight) + (28_998_000 as Weight) + // Standard Error: 0 + .saturating_add((62_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((71_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((139_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((106_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -104,11 +104,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { - (44_187_000 as Weight) + (42_983_000 as Weight) // Standard Error: 2_000 - .saturating_add((84_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 4_000 - .saturating_add((158_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((73_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 3_000 + .saturating_add((126_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -118,11 +118,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - (44_148_000 as Weight) + (42_800_000 as Weight) // Standard Error: 2_000 - .saturating_add((82_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 5_000 - .saturating_add((186_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((57_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 4_000 + .saturating_add((148_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -132,11 +132,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - (30_406_000 as Weight) + (29_188_000 as Weight) + // Standard Error: 0 + .saturating_add((73_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((83_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((171_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((157_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -146,11 +146,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - (30_090_000 as Weight) + (29_144_000 as Weight) // Standard Error: 1_000 - .saturating_add((80_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((172_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((71_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 1_000 + .saturating_add((149_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/polkadot/src/weights/runtime_common_auctions.rs b/runtime/polkadot/src/weights/runtime_common_auctions.rs index 2258797becf9..2cd204f0e973 100644 --- a/runtime/polkadot/src/weights/runtime_common_auctions.rs +++ b/runtime/polkadot/src/weights/runtime_common_auctions.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -47,7 +47,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions AuctionInfo (r:1 w:1) // Storage: Auctions AuctionCounter (r:1 w:1) fn new_auction() -> Weight { - (15_672_000 as Weight) + (15_720_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -59,7 +59,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions ReservedAmounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn bid() -> Weight { - (72_015_000 as Weight) + (70_200_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -76,7 +76,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar Paras (r:1 w:1) fn on_initialize() -> Weight { - (15_685_713_000 as Weight) + (16_024_103_000 as Weight) .saturating_add(T::DbWeight::get().reads(3688 as Weight)) .saturating_add(T::DbWeight::get().writes(3683 as Weight)) } @@ -85,7 +85,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions Winning (r:0 w:3600) // Storage: Auctions AuctionInfo (r:0 w:1) fn cancel_auction() -> Weight { - (4_634_343_000 as Weight) + (4_682_562_000 as Weight) .saturating_add(T::DbWeight::get().reads(73 as Weight)) .saturating_add(T::DbWeight::get().writes(3673 as Weight)) } diff --git a/runtime/polkadot/src/weights/runtime_common_claims.rs b/runtime/polkadot/src/weights/runtime_common_claims.rs index 7e41ba699d91..8a4463aa0df5 100644 --- a/runtime/polkadot/src/weights/runtime_common_claims.rs +++ b/runtime/polkadot/src/weights/runtime_common_claims.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -52,7 +52,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim() -> Weight { - (138_710_000 as Weight) + (138_843_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -61,7 +61,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Claims (r:0 w:1) // Storage: Claims Signing (r:0 w:1) fn mint_claim() -> Weight { - (9_883_000 as Weight) + (9_350_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -73,7 +73,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim_attest() -> Weight { - (144_762_000 as Weight) + (141_991_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } @@ -86,7 +86,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn attest() -> Weight { - (63_367_000 as Weight) + (63_600_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -95,7 +95,7 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Signing (r:1 w:2) // Storage: Claims Preclaims (r:1 w:1) fn move_claim() -> Weight { - (20_120_000 as Weight) + (19_341_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } diff --git a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs index 93a6af86efd2..a1e832c67e6d 100644 --- a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs +++ b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -49,7 +49,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Paras ParaLifecycles (r:1 w:0) // Storage: Crowdloan NextFundIndex (r:1 w:1) fn create() -> Weight { - (43_779_000 as Weight) + (42_118_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -61,7 +61,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan NewRaise (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - (113_671_000 as Weight) + (112_357_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -69,7 +69,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) // Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1) fn withdraw() -> Weight { - (52_784_000 as Weight) + (51_125_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -77,8 +77,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { (0 as Weight) - // Standard Error: 21_000 - .saturating_add((20_125_000 as Weight).saturating_mul(k as Weight)) + // Standard Error: 17_000 + .saturating_add((19_562_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -87,27 +87,27 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan Funds (r:1 w:1) // Storage: System Account (r:1 w:1) fn dissolve() -> Weight { - (34_070_000 as Weight) + (31_834_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Crowdloan Funds (r:1 w:1) fn edit() -> Weight { - (22_450_000 as Weight) + (20_820_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn add_memo() -> Weight { - (29_034_000 as Weight) + (28_173_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: Crowdloan NewRaise (r:1 w:1) fn poke() -> Weight { - (23_923_000 as Weight) + (24_193_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -124,8 +124,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 29_000 - .saturating_add((50_363_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 41_000 + .saturating_add((49_451_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) diff --git a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs index ecf04d284269..41ba49e359d4 100644 --- a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -48,7 +48,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Registrar Paras (r:1 w:1) // Storage: Paras ParaLifecycles (r:1 w:0) fn reserve() -> Weight { - (28_627_000 as Weight) + (27_099_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -63,7 +63,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn register() -> Weight { - (8_578_884_000 as Weight) + (8_586_789_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -78,7 +78,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn force_register() -> Weight { - (8_574_761_000 as Weight) + (8_584_794_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -89,7 +89,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar PendingSwap (r:0 w:1) fn deregister() -> Weight { - (44_121_000 as Weight) + (42_239_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -101,7 +101,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Crowdloan Funds (r:2 w:2) // Storage: Slots Leases (r:2 w:2) fn swap() -> Weight { - (38_119_000 as Weight) + (37_029_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } diff --git a/runtime/polkadot/src/weights/runtime_common_slots.rs b/runtime/polkadot/src/weights/runtime_common_slots.rs index 8d08c3597733..dffafd5df08e 100644 --- a/runtime/polkadot/src/weights/runtime_common_slots.rs +++ b/runtime/polkadot/src/weights/runtime_common_slots.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -47,7 +47,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (28_342_000 as Weight) + (28_307_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -61,10 +61,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { (0 as Weight) - // Standard Error: 20_000 - .saturating_add((7_345_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 20_000 - .saturating_add((18_189_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 28_000 + .saturating_add((6_721_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 28_000 + .saturating_add((17_731_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(t as Weight))) @@ -75,7 +75,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (95_612_000 as Weight) + (92_317_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -85,7 +85,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (21_081_000 as Weight) + (21_444_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_configuration.rs b/runtime/polkadot/src/weights/runtime_parachains_configuration.rs index cbb0223906aa..da4469ada60a 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_configuration.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_configuration.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -49,7 +49,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_block_number() -> Weight { - (9_898_000 as Weight) + (9_262_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -58,7 +58,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_u32() -> Weight { - (9_754_000 as Weight) + (9_271_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -67,7 +67,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_option_u32() -> Weight { - (10_060_000 as Weight) + (9_169_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -76,7 +76,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_weight() -> Weight { - (9_835_000 as Weight) + (9_210_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -89,7 +89,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_balance() -> Weight { - (9_739_000 as Weight) + (9_213_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_disputes.rs b/runtime/polkadot/src/weights/runtime_parachains_disputes.rs index 7160f878c811..12dc18d5a4c3 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_disputes.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_disputes.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::disputes::WeightInfo for WeightInfo { // Storage: ParasDisputes Frozen (r:0 w:1) fn force_unfreeze() -> Weight { - (3_325_000 as Weight) + (3_112_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs index 9f2bda22277a..498b1c77c296 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -47,7 +47,7 @@ impl runtime_parachains::initializer::WeightInfo for We // Storage: System Digest (r:1 w:1) /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { - (6_407_000 as Weight) + (6_191_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras.rs b/runtime/polkadot/src/weights/runtime_parachains_paras.rs index bf87a12c48b4..d43278d07fb9 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -99,7 +99,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) fn force_queue_action() -> Weight { - (21_495_000 as Weight) + (18_998_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -116,7 +116,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHashRefs (r:1 w:0) // Storage: Paras CodeByHash (r:0 w:1) fn poke_unused_validation_code() -> Weight { - (4_952_000 as Weight) + (4_773_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -125,7 +125,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras PvfActiveVoteMap (r:1 w:1) fn include_pvf_check_statement() -> Weight { - (102_572_000 as Weight) + (92_826_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -138,7 +138,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: System Digest (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { - (691_907_000 as Weight) + (682_896_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(104 as Weight)) } @@ -152,7 +152,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:100) // Storage: Paras FutureCodeHash (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { - (596_649_000 as Weight) + (630_660_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(204 as Weight)) } @@ -163,7 +163,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras PvfActiveVoteList (r:1 w:1) // Storage: Paras ActionsQueue (r:1 w:1) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { - (548_429_000 as Weight) + (532_765_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -178,7 +178,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CurrentCodeHash (r:0 w:100) // Storage: Paras UpcomingParasGenesis (r:0 w:100) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { - (656_296_000 as Weight) + (705_429_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(304 as Weight)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs index 4a6708eba9f1..cecf8b4a72f7 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 @@ -77,9 +77,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { - (405_053_000 as Weight) - // Standard Error: 21_000 - .saturating_add((48_672_000 as Weight).saturating_mul(v as Weight)) + (364_277_000 as Weight) + // Standard Error: 23_000 + .saturating_add((48_774_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(29 as Weight)) .saturating_add(T::DbWeight::get().writes(18 as Weight)) } @@ -114,7 +114,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_bitfields() -> Weight { - (389_756_000 as Weight) + (361_620_000 as Weight) .saturating_add(T::DbWeight::get().reads(26 as Weight)) .saturating_add(T::DbWeight::get().writes(17 as Weight)) } @@ -151,9 +151,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { - (1_037_639_000 as Weight) - // Standard Error: 35_000 - .saturating_add((48_175_000 as Weight).saturating_mul(v as Weight)) + (984_915_000 as Weight) + // Standard Error: 47_000 + .saturating_add((48_309_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(29 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } @@ -191,7 +191,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_backed_candidate_code_upgrade() -> Weight { - (43_173_187_000 as Weight) + (43_858_899_000 as Weight) .saturating_add(T::DbWeight::get().reads(31 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } diff --git a/runtime/rococo/constants/src/weights/block_weights.rs b/runtime/rococo/constants/src/weights/block_weights.rs index 50168543f29e..901557d28e47 100644 --- a/runtime/rococo/constants/src/weights/block_weights.rs +++ b/runtime/rococo/constants/src/weights/block_weights.rs @@ -16,8 +16,8 @@ // limitations under the License. //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29 (Y/M/D) -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19 (Y/M/D) +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -45,16 +45,16 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 4_031_173, 4_259_926 - /// Average: 4_098_258 - /// Median: 4_089_916 - /// Std-Dev: 52674.64 + /// Min, Max: 4_039_227, 4_394_160 + /// Average: 4_084_738 + /// Median: 4_077_180 + /// Std-Dev: 44325.29 /// /// Percentiles nanoseconds: - /// 99th: 4_240_739 - /// 95th: 4_176_095 - /// 75th: 4_142_738 - pub const BlockExecutionWeight: Weight = 4_098_258 * WEIGHT_PER_NANOS; + /// 99th: 4_189_094 + /// 95th: 4_152_261 + /// 75th: 4_098_529 + pub const BlockExecutionWeight: Weight = 4_084_738 * WEIGHT_PER_NANOS; } #[cfg(test)] diff --git a/runtime/rococo/src/weights/frame_system.rs b/runtime/rococo/src/weights/frame_system.rs index 6649baca4e7e..ed634c8c35bf 100644 --- a/runtime/rococo/src/weights/frame_system.rs +++ b/runtime/rococo/src/weights/frame_system.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -59,7 +59,7 @@ impl frame_system::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_066_000 as Weight) + (4_572_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((544_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((548_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((441_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((444_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -84,7 +84,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((969_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((955_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) } } diff --git a/runtime/rococo/src/weights/pallet_balances.rs b/runtime/rococo/src/weights/pallet_balances.rs index fdeda98000ef..df97c6bbf663 100644 --- a/runtime/rococo/src/weights/pallet_balances.rs +++ b/runtime/rococo/src/weights/pallet_balances.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -46,43 +46,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (39_072_000 as Weight) + (38_175_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (29_578_000 as Weight) + (29_538_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (20_651_000 as Weight) + (19_473_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (23_714_000 as Weight) + (22_442_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (40_470_000 as Weight) + (38_465_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (35_751_000 as Weight) + (34_577_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (17_822_000 as Weight) + (17_476_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/rococo/src/weights/pallet_collective.rs b/runtime/rococo/src/weights/pallet_collective.rs index 658903f99ff1..cf38499ba4ae 100644 --- a/runtime/rococo/src/weights/pallet_collective.rs +++ b/runtime/rococo/src/weights/pallet_collective.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -51,12 +51,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. /// The range of component `n` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. - fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + fn set_members(m: u32, n: u32, p: u32, ) -> Weight { (0 as Weight) // Standard Error: 11_000 - .saturating_add((12_200_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((9_184_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 11_000 - .saturating_add((14_904_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((10_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 11_000 + .saturating_add((11_927_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -66,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { - (16_694_000 as Weight) + (16_514_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((38_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((15_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Collective Members (r:1 w:0) @@ -78,11 +80,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - (19_087_000 as Weight) + (19_149_000 as Weight) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((64_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((20_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } // Storage: Collective Members (r:1 w:0) @@ -94,13 +96,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - (25_511_000 as Weight) + (25_040_000 as Weight) + // Standard Error: 0 + .saturating_add((3_000 as Weight).saturating_mul(b as Weight)) + // Standard Error: 0 + .saturating_add((20_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(b as Weight)) - // Standard Error: 1_000 - .saturating_add((40_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 1_000 - .saturating_add((151_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((125_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -108,9 +110,9 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Collective Voting (r:1 w:1) /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - (24_227_000 as Weight) + (23_127_000 as Weight) // Standard Error: 0 - .saturating_add((94_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((53_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -121,11 +123,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - (27_990_000 as Weight) + (27_759_000 as Weight) // Standard Error: 0 - .saturating_add((69_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((25_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((122_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((95_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -137,13 +139,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - (37_103_000 as Weight) + (37_384_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((71_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((29_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((129_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((105_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -155,11 +157,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - (30_365_000 as Weight) + (29_142_000 as Weight) // Standard Error: 0 - .saturating_add((71_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((32_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((127_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((105_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -172,13 +174,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - (40_089_000 as Weight) + (40_384_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(b as Weight)) // Standard Error: 0 - .saturating_add((71_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((26_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 0 - .saturating_add((130_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((103_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -187,9 +189,9 @@ impl pallet_collective::WeightInfo for WeightInfo { // Storage: Collective ProposalOf (r:0 w:1) /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - (18_437_000 as Weight) + (17_661_000 as Weight) // Standard Error: 0 - .saturating_add((126_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((106_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/rococo/src/weights/pallet_im_online.rs b/runtime/rococo/src/weights/pallet_im_online.rs index 18f71da4a344..80026a35aa3e 100644 --- a/runtime/rococo/src/weights/pallet_im_online.rs +++ b/runtime/rococo/src/weights/pallet_im_online.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -53,11 +53,11 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - (74_812_000 as Weight) + (74_601_000 as Weight) // Standard Error: 0 - .saturating_add((70_000 as Weight).saturating_mul(k as Weight)) + .saturating_add((27_000 as Weight).saturating_mul(k as Weight)) // Standard Error: 3_000 - .saturating_add((352_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((337_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/rococo/src/weights/pallet_indices.rs b/runtime/rococo/src/weights/pallet_indices.rs index 0f7a75dbdacc..f50130575cc4 100644 --- a/runtime/rococo/src/weights/pallet_indices.rs +++ b/runtime/rococo/src/weights/pallet_indices.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -46,33 +46,33 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - (23_402_000 as Weight) + (23_133_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (28_620_000 as Weight) + (27_865_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - (24_985_000 as Weight) + (23_625_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (24_671_000 as Weight) + (24_179_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - (27_941_000 as Weight) + (26_857_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/rococo/src/weights/pallet_membership.rs b/runtime/rococo/src/weights/pallet_membership.rs index ec1ff462d04e..caf5cd4e32ea 100644 --- a/runtime/rococo/src/weights/pallet_membership.rs +++ b/runtime/rococo/src/weights/pallet_membership.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -50,9 +50,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Collective Prime (r:0 w:1) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - (14_009_000 as Weight) + (16_814_000 as Weight) // Standard Error: 0 - .saturating_add((79_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((60_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -63,9 +63,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Collective Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - (16_187_000 as Weight) + (19_124_000 as Weight) // Standard Error: 0 - .saturating_add((69_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((51_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -76,9 +76,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Collective Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - (16_027_000 as Weight) + (19_143_000 as Weight) // Standard Error: 0 - .saturating_add((80_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((63_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -89,9 +89,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Collective Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - (15_861_000 as Weight) + (18_621_000 as Weight) // Standard Error: 0 - .saturating_add((201_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((186_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -102,9 +102,9 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Collective Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - (16_696_000 as Weight) + (19_913_000 as Weight) // Standard Error: 0 - .saturating_add((74_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((58_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -113,17 +113,19 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: Collective Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - (3_736_000 as Weight) + (6_445_000 as Weight) // Standard Error: 0 - .saturating_add((32_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((10_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Membership Prime (r:0 w:1) // Storage: Collective Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { - (1_041_000 as Weight) + fn clear_prime(m: u32, ) -> Weight { + (3_524_000 as Weight) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(m as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/runtime/rococo/src/weights/pallet_multisig.rs b/runtime/rococo/src/weights/pallet_multisig.rs index 6c715796b8df..59b75b9764b8 100644 --- a/runtime/rococo/src/weights/pallet_multisig.rs +++ b/runtime/rococo/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - (14_647_000 as Weight) + (14_606_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } @@ -55,9 +55,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - (29_779_000 as Weight) + (29_880_000 as Weight) // Standard Error: 0 - .saturating_add((106_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((100_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -69,9 +69,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (33_120_000 as Weight) - // Standard Error: 1_000 - .saturating_add((102_000 as Weight).saturating_mul(s as Weight)) + (31_636_000 as Weight) + // Standard Error: 0 + .saturating_add((108_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -81,9 +81,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (18_926_000 as Weight) - // Standard Error: 1_000 - .saturating_add((111_000 as Weight).saturating_mul(s as Weight)) + (19_551_000 as Weight) + // Standard Error: 0 + .saturating_add((104_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -94,11 +94,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (31_982_000 as Weight) + (31_196_000 as Weight) // Standard Error: 0 - .saturating_add((121_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((123_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -108,11 +108,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (40_372_000 as Weight) + (39_982_000 as Weight) // Standard Error: 0 - .saturating_add((153_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((131_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -120,9 +120,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - (29_628_000 as Weight) - // Standard Error: 1_000 - .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) + (28_767_000 as Weight) + // Standard Error: 0 + .saturating_add((113_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -130,9 +130,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - (19_333_000 as Weight) + (18_649_000 as Weight) // Standard Error: 0 - .saturating_add((109_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((110_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -141,9 +141,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_complete(s: u32, ) -> Weight { - (77_647_000 as Weight) - // Standard Error: 0 - .saturating_add((155_000 as Weight).saturating_mul(s as Weight)) + (63_055_000 as Weight) + // Standard Error: 1_000 + .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -151,9 +151,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - (53_474_000 as Weight) + (44_870_000 as Weight) // Standard Error: 0 - .saturating_add((113_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((115_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/rococo/src/weights/pallet_proxy.rs b/runtime/rococo/src/weights/pallet_proxy.rs index 68251c8d7e15..5c5474c8eb22 100644 --- a/runtime/rococo/src/weights/pallet_proxy.rs +++ b/runtime/rococo/src/weights/pallet_proxy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -47,9 +47,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - (18_120_000 as Weight) - // Standard Error: 2_000 - .saturating_add((100_000 as Weight).saturating_mul(p as Weight)) + (17_762_000 as Weight) + // Standard Error: 1_000 + .saturating_add((68_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -58,11 +58,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - (34_848_000 as Weight) + (33_577_000 as Weight) // Standard Error: 1_000 - .saturating_add((216_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((59_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((188_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((42_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -70,12 +70,10 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { - (23_707_000 as Weight) - // Standard Error: 4_000 - .saturating_add((230_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 4_000 - .saturating_add((9_000 as Weight).saturating_mul(p as Weight)) + fn remove_announcement(a: u32, _p: u32, ) -> Weight { + (22_715_000 as Weight) + // Standard Error: 1_000 + .saturating_add((179_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -83,10 +81,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { - (24_144_000 as Weight) + fn reject_announcement(a: u32, p: u32, ) -> Weight { + (22_349_000 as Weight) // Standard Error: 1_000 - .saturating_add((211_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((179_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((5_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -96,38 +96,38 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - (31_638_000 as Weight) + (29_863_000 as Weight) // Standard Error: 2_000 - .saturating_add((214_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((182_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((66_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((55_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - (26_155_000 as Weight) + (24_976_000 as Weight) // Standard Error: 2_000 - .saturating_add((133_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((101_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - (26_334_000 as Weight) + (24_934_000 as Weight) // Standard Error: 2_000 - .saturating_add((141_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((118_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - (22_268_000 as Weight) - // Standard Error: 2_000 - .saturating_add((97_000 as Weight).saturating_mul(p as Weight)) + (20_930_000 as Weight) + // Standard Error: 1_000 + .saturating_add((68_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -135,18 +135,18 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn anonymous(p: u32, ) -> Weight { - (28_712_000 as Weight) + (28_030_000 as Weight) // Standard Error: 2_000 - .saturating_add((48_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((33_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_anonymous(p: u32, ) -> Weight { - (23_145_000 as Weight) - // Standard Error: 2_000 - .saturating_add((94_000 as Weight).saturating_mul(p as Weight)) + (21_753_000 as Weight) + // Standard Error: 1_000 + .saturating_add((69_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/rococo/src/weights/pallet_timestamp.rs b/runtime/rococo/src/weights/pallet_timestamp.rs index 78c1bc42eec1..fff1e2c5457b 100644 --- a/runtime/rococo/src/weights/pallet_timestamp.rs +++ b/runtime/rococo/src/weights/pallet_timestamp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -47,11 +47,11 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Babe CurrentSlot (r:1 w:0) fn set() -> Weight { - (7_797_000 as Weight) + (7_692_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (3_545_000 as Weight) + (2_091_000 as Weight) } } diff --git a/runtime/rococo/src/weights/pallet_utility.rs b/runtime/rococo/src/weights/pallet_utility.rs index d219e3991e65..e0e949789c63 100644 --- a/runtime/rococo/src/weights/pallet_utility.rs +++ b/runtime/rococo/src/weights/pallet_utility.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -46,26 +46,26 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - (14_247_000 as Weight) + (12_533_000 as Weight) // Standard Error: 2_000 - .saturating_add((4_831_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((5_050_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (5_650_000 as Weight) + (5_794_000 as Weight) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - (17_892_000 as Weight) + (12_581_000 as Weight) // Standard Error: 2_000 - .saturating_add((5_137_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((5_336_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (12_983_000 as Weight) + (12_912_000 as Weight) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - (18_052_000 as Weight) - // Standard Error: 2_000 - .saturating_add((4_816_000 as Weight).saturating_mul(c as Weight)) + (7_075_000 as Weight) + // Standard Error: 3_000 + .saturating_add((5_067_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/rococo/src/weights/runtime_common_auctions.rs b/runtime/rococo/src/weights/runtime_common_auctions.rs index c895d455cdf5..c3f560c32f3c 100644 --- a/runtime/rococo/src/weights/runtime_common_auctions.rs +++ b/runtime/rococo/src/weights/runtime_common_auctions.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -47,7 +47,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions AuctionInfo (r:1 w:1) // Storage: Auctions AuctionCounter (r:1 w:1) fn new_auction() -> Weight { - (15_277_000 as Weight) + (15_406_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -59,7 +59,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions ReservedAmounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn bid() -> Weight { - (74_109_000 as Weight) + (70_846_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -76,7 +76,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar Paras (r:1 w:1) fn on_initialize() -> Weight { - (3_006_203_000 as Weight) + (2_965_000_000 as Weight) .saturating_add(T::DbWeight::get().reads(688 as Weight)) .saturating_add(T::DbWeight::get().writes(683 as Weight)) } @@ -85,7 +85,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions Winning (r:0 w:600) // Storage: Auctions AuctionInfo (r:0 w:1) fn cancel_auction() -> Weight { - (1_239_487_000 as Weight) + (1_202_383_000 as Weight) .saturating_add(T::DbWeight::get().reads(73 as Weight)) .saturating_add(T::DbWeight::get().writes(673 as Weight)) } diff --git a/runtime/rococo/src/weights/runtime_common_crowdloan.rs b/runtime/rococo/src/weights/runtime_common_crowdloan.rs index 53da87727c26..099623c46867 100644 --- a/runtime/rococo/src/weights/runtime_common_crowdloan.rs +++ b/runtime/rococo/src/weights/runtime_common_crowdloan.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -49,7 +49,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Paras ParaLifecycles (r:1 w:0) // Storage: Crowdloan NextFundIndex (r:1 w:1) fn create() -> Weight { - (42_015_000 as Weight) + (41_754_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -61,7 +61,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan NewRaise (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - (112_701_000 as Weight) + (110_907_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -69,16 +69,16 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) // Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1) fn withdraw() -> Weight { - (50_967_000 as Weight) + (49_546_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 500]`. fn refund(k: u32, ) -> Weight { - (0 as Weight) + (2_505_000 as Weight) // Standard Error: 13_000 - .saturating_add((19_575_000 as Weight).saturating_mul(k as Weight)) + .saturating_add((19_613_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -87,27 +87,27 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan Funds (r:1 w:1) // Storage: System Account (r:1 w:1) fn dissolve() -> Weight { - (32_446_000 as Weight) + (31_248_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Crowdloan Funds (r:1 w:1) fn edit() -> Weight { - (22_828_000 as Weight) + (20_623_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn add_memo() -> Weight { - (26_588_000 as Weight) + (26_451_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: Crowdloan NewRaise (r:1 w:1) fn poke() -> Weight { - (22_299_000 as Weight) + (21_215_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -124,8 +124,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 28_000 - .saturating_add((51_543_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 25_000 + .saturating_add((51_756_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) diff --git a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs index 50dd57846524..6c4547f49d32 100644 --- a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -48,7 +48,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Registrar Paras (r:1 w:1) // Storage: Paras ParaLifecycles (r:1 w:0) fn reserve() -> Weight { - (28_843_000 as Weight) + (27_519_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -63,7 +63,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn register() -> Weight { - (9_077_159_000 as Weight) + (9_070_714_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -78,7 +78,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn force_register() -> Weight { - (9_047_986_000 as Weight) + (8_963_395_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -89,7 +89,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar PendingSwap (r:0 w:1) fn deregister() -> Weight { - (44_370_000 as Weight) + (42_284_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -101,7 +101,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Crowdloan Funds (r:2 w:2) // Storage: Slots Leases (r:2 w:2) fn swap() -> Weight { - (39_232_000 as Weight) + (36_098_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } diff --git a/runtime/rococo/src/weights/runtime_common_slots.rs b/runtime/rococo/src/weights/runtime_common_slots.rs index e0465063ced2..d1971f13caa9 100644 --- a/runtime/rococo/src/weights/runtime_common_slots.rs +++ b/runtime/rococo/src/weights/runtime_common_slots.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -47,7 +47,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (28_365_000 as Weight) + (28_337_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -61,10 +61,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { (0 as Weight) - // Standard Error: 21_000 - .saturating_add((7_363_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 21_000 - .saturating_add((18_510_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 22_000 + .saturating_add((6_753_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 22_000 + .saturating_add((17_808_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(t as Weight))) @@ -75,7 +75,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (96_352_000 as Weight) + (91_710_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -85,7 +85,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (21_649_000 as Weight) + (21_040_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_configuration.rs b/runtime/rococo/src/weights/runtime_parachains_configuration.rs index 421487bfa180..3f9afbf78a42 100644 --- a/runtime/rococo/src/weights/runtime_parachains_configuration.rs +++ b/runtime/rococo/src/weights/runtime_parachains_configuration.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -49,7 +49,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_block_number() -> Weight { - (10_497_000 as Weight) + (9_728_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -58,7 +58,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_u32() -> Weight { - (10_125_000 as Weight) + (9_825_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -67,7 +67,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_option_u32() -> Weight { - (10_382_000 as Weight) + (9_905_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -76,7 +76,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_weight() -> Weight { - (10_402_000 as Weight) + (9_968_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -89,7 +89,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_balance() -> Weight { - (10_440_000 as Weight) + (9_949_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_disputes.rs b/runtime/rococo/src/weights/runtime_parachains_disputes.rs index 4db1c3503693..a0350d904fa2 100644 --- a/runtime/rococo/src/weights/runtime_parachains_disputes.rs +++ b/runtime/rococo/src/weights/runtime_parachains_disputes.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::disputes::WeightInfo for WeightInfo { // Storage: ParasDisputes Frozen (r:0 w:1) fn force_unfreeze() -> Weight { - (3_121_000 as Weight) + (3_239_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs index 549eb754b13d..c651c63cb0b9 100644 --- a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -54,7 +54,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_init_open_channel() -> Weight { - (37_572_000 as Weight) + (37_068_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -66,7 +66,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_accept_open_channel() -> Weight { - (33_244_000 as Weight) + (32_234_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -77,7 +77,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_close_channel() -> Weight { - (32_533_000 as Weight) + (31_418_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -92,9 +92,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { (0 as Weight) // Standard Error: 20_000 - .saturating_add((9_999_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((9_760_000 as Weight).saturating_mul(i as Weight)) // Standard Error: 20_000 - .saturating_add((10_040_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((9_813_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(i as Weight))) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(e as Weight))) @@ -115,7 +115,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_open(c: u32, ) -> Weight { (0 as Weight) // Standard Error: 27_000 - .saturating_add((23_630_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((22_813_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((7 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -130,8 +130,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 18_000 - .saturating_add((13_331_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 16_000 + .saturating_add((12_842_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -142,9 +142,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { - (27_334_000 as Weight) - // Standard Error: 0 - .saturating_add((55_000 as Weight).saturating_mul(c as Weight)) + (26_161_000 as Weight) + // Standard Error: 1_000 + .saturating_add((50_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -154,7 +154,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { (0 as Weight) // Standard Error: 7_000 - .saturating_add((3_832_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((3_723_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) diff --git a/runtime/rococo/src/weights/runtime_parachains_initializer.rs b/runtime/rococo/src/weights/runtime_parachains_initializer.rs index c1032e26dcec..f3ce56f92f09 100644 --- a/runtime/rococo/src/weights/runtime_parachains_initializer.rs +++ b/runtime/rococo/src/weights/runtime_parachains_initializer.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -47,9 +47,9 @@ impl runtime_parachains::initializer::WeightInfo for We // Storage: System Digest (r:1 w:1) /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { - (5_737_000 as Weight) + (8_670_000 as Weight) // Standard Error: 0 - .saturating_add((2_000 as Weight).saturating_mul(d as Weight)) + .saturating_add((1_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_paras.rs b/runtime/rococo/src/weights/runtime_parachains_paras.rs index dd0daeda3a6b..0b27644c40cc 100644 --- a/runtime/rococo/src/weights/runtime_parachains_paras.rs +++ b/runtime/rococo/src/weights/runtime_parachains_paras.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -99,7 +99,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) fn force_queue_action() -> Weight { - (22_002_000 as Weight) + (19_397_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -116,7 +116,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHashRefs (r:1 w:0) // Storage: Paras CodeByHash (r:0 w:1) fn poke_unused_validation_code() -> Weight { - (4_868_000 as Weight) + (4_787_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -125,7 +125,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras PvfActiveVoteMap (r:1 w:1) fn include_pvf_check_statement() -> Weight { - (104_497_000 as Weight) + (91_856_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -138,7 +138,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: System Digest (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { - (703_600_000 as Weight) + (701_025_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(104 as Weight)) } @@ -152,7 +152,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:100) // Storage: Paras FutureCodeHash (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { - (605_206_000 as Weight) + (637_007_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(204 as Weight)) } @@ -163,7 +163,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras PvfActiveVoteList (r:1 w:1) // Storage: Paras ActionsQueue (r:1 w:1) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { - (559_776_000 as Weight) + (552_615_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -178,7 +178,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CurrentCodeHash (r:0 w:100) // Storage: Paras UpcomingParasGenesis (r:0 w:100) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { - (667_432_000 as Weight) + (705_948_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(304 as Weight)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_ump.rs b/runtime/rococo/src/weights/runtime_parachains_ump.rs index 45da1fbf5c92..f009614dfae3 100644 --- a/runtime/rococo/src/weights/runtime_parachains_ump.rs +++ b/runtime/rococo/src/weights/runtime_parachains_ump.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::ump::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 51200]`. fn process_upward_message(s: u32, ) -> Weight { - (5_339_000 as Weight) + (4_717_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) } @@ -55,13 +55,13 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Storage: Ump RelayDispatchQueues (r:0 w:1) // Storage: Ump RelayDispatchQueueSize (r:0 w:1) fn clean_ump_after_outgoing() -> Weight { - (6_703_000 as Weight) + (6_656_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Ump Overweight (r:1 w:1) fn service_overweight() -> Weight { - (22_724_000 as Weight) + (21_672_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/westend/constants/src/weights/block_weights.rs b/runtime/westend/constants/src/weights/block_weights.rs index 16487217df36..882fd3ffbc87 100644 --- a/runtime/westend/constants/src/weights/block_weights.rs +++ b/runtime/westend/constants/src/weights/block_weights.rs @@ -16,8 +16,8 @@ // limitations under the License. //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29 (Y/M/D) -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19 (Y/M/D) +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` @@ -45,16 +45,16 @@ parameter_types! { /// Calculated by multiplying the *Average* with `1` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 5_164_333, 5_384_350 - /// Average: 5_251_804 - /// Median: 5_253_341 - /// Std-Dev: 53972.35 + /// Min, Max: 4_929_970, 5_140_248 + /// Average: 4_970_728 + /// Median: 4_964_665 + /// Std-Dev: 37170.72 /// /// Percentiles nanoseconds: - /// 99th: 5_376_408 - /// 95th: 5_346_393 - /// 75th: 5_286_569 - pub const BlockExecutionWeight: Weight = 5_251_804 * WEIGHT_PER_NANOS; + /// 99th: 5_084_427 + /// 95th: 5_039_369 + /// 75th: 4_991_020 + pub const BlockExecutionWeight: Weight = 4_970_728 * WEIGHT_PER_NANOS; } #[cfg(test)] diff --git a/runtime/westend/src/weights/frame_election_provider_support.rs b/runtime/westend/src/weights/frame_election_provider_support.rs index d74c91e6925c..7605d35453ed 100644 --- a/runtime/westend/src/weights/frame_election_provider_support.rs +++ b/runtime/westend/src/weights/frame_election_provider_support.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -49,19 +49,19 @@ impl frame_election_provider_support::WeightInfo for We /// The range of component `d` is `[5, 16]`. fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 58_000 - .saturating_add((23_089_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 8_144_000 - .saturating_add((3_668_416_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 91_000 + .saturating_add((21_885_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 7_862_000 + .saturating_add((3_527_431_000 as Weight).saturating_mul(d as Weight)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { (0 as Weight) - // Standard Error: 42_000 - .saturating_add((15_778_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 5_877_000 - .saturating_add((2_624_648_000 as Weight).saturating_mul(d as Weight)) + // Standard Error: 73_000 + .saturating_add((15_030_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 6_376_000 + .saturating_add((2_571_214_000 as Weight).saturating_mul(d as Weight)) } } diff --git a/runtime/westend/src/weights/frame_system.rs b/runtime/westend/src/weights/frame_system.rs index 9cfe3cbcb3aa..bf3d10266a80 100644 --- a/runtime/westend/src/weights/frame_system.rs +++ b/runtime/westend/src/weights/frame_system.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -59,7 +59,7 @@ impl frame_system::WeightInfo for WeightInfo { // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - (5_056_000 as Weight) + (4_936_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((538_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((541_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((439_000 as Weight).saturating_mul(i as Weight)) + .saturating_add((436_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } // Storage: Skipped Metadata (r:0 w:0) diff --git a/runtime/westend/src/weights/pallet_bags_list.rs b/runtime/westend/src/weights/pallet_bags_list.rs index d1765900ca6f..41e72ecdff0e 100644 --- a/runtime/westend/src/weights/pallet_bags_list.rs +++ b/runtime/westend/src/weights/pallet_bags_list.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -49,7 +49,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:4 w:4) // Storage: VoterList ListBags (r:1 w:1) fn rebag_non_terminal() -> Weight { - (51_111_000 as Weight) + (49_879_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -58,7 +58,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn rebag_terminal() -> Weight { - (51_074_000 as Weight) + (48_552_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -68,7 +68,7 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) fn put_in_front_of() -> Weight { - (53_787_000 as Weight) + (51_430_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_balances.rs b/runtime/westend/src/weights/pallet_balances.rs index 52dd61356c4f..d59a583fa729 100644 --- a/runtime/westend/src/weights/pallet_balances.rs +++ b/runtime/westend/src/weights/pallet_balances.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -46,43 +46,43 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (38_662_000 as Weight) + (38_789_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (29_683_000 as Weight) + (29_986_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (20_364_000 as Weight) + (20_160_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (23_543_000 as Weight) + (23_146_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (39_397_000 as Weight) + (39_066_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (35_764_000 as Weight) + (34_523_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - (17_779_000 as Weight) + (18_078_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs index 6f24296d4117..d5a944ceca1b 100644 --- a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -53,33 +53,33 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: Staking ForceEra (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) fn on_initialize_nothing() -> Weight { - (13_185_000 as Weight) + (12_779_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_signed() -> Weight { - (11_931_000 as Weight) + (12_221_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_unsigned() -> Weight { - (12_007_000 as Weight) + (12_394_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: System Account (r:1 w:1) // Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1) fn finalize_signed_phase_accept_solution() -> Weight { - (25_810_000 as Weight) + (25_652_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: System Account (r:1 w:1) fn finalize_signed_phase_reject_solution() -> Weight { - (19_771_000 as Weight) + (19_431_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -91,9 +91,9 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { (0 as Weight) // Standard Error: 1_000 - .saturating_add((391_000 as Weight).saturating_mul(v as Weight)) + .saturating_add((397_000 as Weight).saturating_mul(v as Weight)) // Standard Error: 3_000 - .saturating_add((90_000 as Weight).saturating_mul(t as Weight)) + .saturating_add((100_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -109,11 +109,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { - (42_606_000 as Weight) - // Standard Error: 8_000 - .saturating_add((861_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 12_000 - .saturating_add((138_000 as Weight).saturating_mul(d as Weight)) + (9_172_000 as Weight) + // Standard Error: 6_000 + .saturating_add((413_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 9_000 + .saturating_add((176_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -124,7 +124,7 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1) // Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1) fn submit() -> Weight { - (62_541_000 as Weight) + (58_297_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -139,16 +139,14 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { + fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) // Standard Error: 5_000 - .saturating_add((1_143_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 11_000 - .saturating_add((82_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 18_000 - .saturating_add((8_363_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 28_000 - .saturating_add((1_473_000 as Weight).saturating_mul(d as Weight)) + .saturating_add((870_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 17_000 + .saturating_add((8_088_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 26_000 + .saturating_add((1_705_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -163,13 +161,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { (0 as Weight) // Standard Error: 4_000 - .saturating_add((1_170_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 9_000 - .saturating_add((80_000 as Weight).saturating_mul(t as Weight)) - // Standard Error: 16_000 - .saturating_add((6_296_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 24_000 - .saturating_add((1_405_000 as Weight).saturating_mul(d as Weight)) + .saturating_add((829_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 8_000 + .saturating_add((46_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 14_000 + .saturating_add((5_960_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 21_000 + .saturating_add((1_202_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) } } diff --git a/runtime/westend/src/weights/pallet_identity.rs b/runtime/westend/src/weights/pallet_identity.rs index 0284bf837e18..3305470ef08c 100644 --- a/runtime/westend/src/weights/pallet_identity.rs +++ b/runtime/westend/src/weights/pallet_identity.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -47,9 +47,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - (15_758_000 as Weight) - // Standard Error: 5_000 - .saturating_add((202_000 as Weight).saturating_mul(r as Weight)) + (15_117_000 as Weight) + // Standard Error: 2_000 + .saturating_add((173_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -57,11 +57,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - (29_303_000 as Weight) - // Standard Error: 8_000 + (28_060_000 as Weight) + // Standard Error: 6_000 .saturating_add((191_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 1_000 - .saturating_add((330_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((334_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -70,9 +70,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn set_subs_new(s: u32, ) -> Weight { - (27_607_000 as Weight) + (25_867_000 as Weight) // Standard Error: 2_000 - .saturating_add((2_882_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((2_901_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -83,9 +83,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:0 w:1) /// The range of component `p` is `[1, 100]`. fn set_subs_old(p: u32, ) -> Weight { - (27_124_000 as Weight) - // Standard Error: 0 - .saturating_add((932_000 as Weight).saturating_mul(p as Weight)) + (25_691_000 as Weight) + // Standard Error: 1_000 + .saturating_add((913_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight))) @@ -97,13 +97,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. /// The range of component `x` is `[1, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { - (32_909_000 as Weight) + (32_060_000 as Weight) // Standard Error: 6_000 - .saturating_add((75_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 0 - .saturating_add((925_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 0 - .saturating_add((205_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((80_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 1_000 + .saturating_add((902_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 1_000 + .saturating_add((155_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -113,11 +113,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - (31_899_000 as Weight) + (30_325_000 as Weight) // Standard Error: 4_000 - .saturating_add((157_000 as Weight).saturating_mul(r as Weight)) + .saturating_add((154_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 0 - .saturating_add((376_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((339_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -125,38 +125,38 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 20]`. /// The range of component `x` is `[1, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - (26_983_000 as Weight) - // Standard Error: 14_000 - .saturating_add((209_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 1_000 - .saturating_add((382_000 as Weight).saturating_mul(x as Weight)) + (27_573_000 as Weight) + // Standard Error: 3_000 + .saturating_add((133_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 0 + .saturating_add((329_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - (7_265_000 as Weight) - // Standard Error: 3_000 - .saturating_add((165_000 as Weight).saturating_mul(r as Weight)) + (6_656_000 as Weight) + // Standard Error: 1_000 + .saturating_add((140_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - (7_245_000 as Weight) - // Standard Error: 2_000 - .saturating_add((171_000 as Weight).saturating_mul(r as Weight)) + (6_675_000 as Weight) + // Standard Error: 1_000 + .saturating_add((136_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - (7_262_000 as Weight) - // Standard Error: 3_000 - .saturating_add((160_000 as Weight).saturating_mul(r as Weight)) + (6_816_000 as Weight) + // Standard Error: 1_000 + .saturating_add((127_000 as Weight).saturating_mul(r as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -165,11 +165,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. /// The range of component `x` is `[1, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - (21_975_000 as Weight) - // Standard Error: 5_000 - .saturating_add((137_000 as Weight).saturating_mul(r as Weight)) + (21_495_000 as Weight) + // Standard Error: 2_000 + .saturating_add((113_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 0 - .saturating_add((375_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((335_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -181,13 +181,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. /// The range of component `x` is `[1, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { - (37_382_000 as Weight) - // Standard Error: 6_000 - .saturating_add((47_000 as Weight).saturating_mul(r as Weight)) + (35_711_000 as Weight) + // Standard Error: 3_000 + .saturating_add((77_000 as Weight).saturating_mul(r as Weight)) // Standard Error: 0 - .saturating_add((935_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((914_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((7_000 as Weight).saturating_mul(x as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(x as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -197,9 +197,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 99]`. fn add_sub(s: u32, ) -> Weight { - (33_818_000 as Weight) - // Standard Error: 0 - .saturating_add((111_000 as Weight).saturating_mul(s as Weight)) + (32_948_000 as Weight) + // Standard Error: 1_000 + .saturating_add((92_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -207,9 +207,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - (12_555_000 as Weight) + (11_895_000 as Weight) // Standard Error: 0 - .saturating_add((28_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((29_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -218,9 +218,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - (35_066_000 as Weight) + (33_683_000 as Weight) // Standard Error: 0 - .saturating_add((96_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((79_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -228,9 +228,9 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 99]`. fn quit_sub(s: u32, ) -> Weight { - (25_043_000 as Weight) - // Standard Error: 1_000 - .saturating_add((90_000 as Weight).saturating_mul(s as Weight)) + (23_476_000 as Weight) + // Standard Error: 0 + .saturating_add((81_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_im_online.rs b/runtime/westend/src/weights/pallet_im_online.rs index 450784902991..c47a66039329 100644 --- a/runtime/westend/src/weights/pallet_im_online.rs +++ b/runtime/westend/src/weights/pallet_im_online.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -52,11 +52,11 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - (75_651_000 as Weight) + (73_650_000 as Weight) // Standard Error: 0 - .saturating_add((63_000 as Weight).saturating_mul(k as Weight)) + .saturating_add((26_000 as Weight).saturating_mul(k as Weight)) // Standard Error: 3_000 - .saturating_add((309_000 as Weight).saturating_mul(e as Weight)) + .saturating_add((316_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_indices.rs b/runtime/westend/src/weights/pallet_indices.rs index c03118e422d0..d8a295be8422 100644 --- a/runtime/westend/src/weights/pallet_indices.rs +++ b/runtime/westend/src/weights/pallet_indices.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -46,33 +46,33 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - (22_857_000 as Weight) + (22_910_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (29_145_000 as Weight) + (28_812_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - (24_642_000 as Weight) + (24_455_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (24_839_000 as Weight) + (23_888_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - (28_025_000 as Weight) + (27_183_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_multisig.rs b/runtime/westend/src/weights/pallet_multisig.rs index 2180d53b5b59..18c8d90c54a7 100644 --- a/runtime/westend/src/weights/pallet_multisig.rs +++ b/runtime/westend/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `z` is `[0, 10000]`. fn as_multi_threshold_1(z: u32, ) -> Weight { - (14_034_000 as Weight) + (14_664_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } @@ -55,9 +55,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create(s: u32, z: u32, ) -> Weight { - (30_843_000 as Weight) + (30_606_000 as Weight) // Standard Error: 0 - .saturating_add((103_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((99_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -69,7 +69,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (33_619_000 as Weight) + (32_543_000 as Weight) // Standard Error: 0 .saturating_add((110_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 @@ -81,9 +81,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (20_659_000 as Weight) + (19_984_000 as Weight) // Standard Error: 0 - .saturating_add((100_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((102_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -94,9 +94,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[3, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (32_157_000 as Weight) + (32_058_000 as Weight) // Standard Error: 0 - .saturating_add((126_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((121_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -108,11 +108,11 @@ impl pallet_multisig::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 100]`. /// The range of component `z` is `[0, 10000]`. fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (41_082_000 as Weight) + (40_961_000 as Weight) // Standard Error: 0 - .saturating_add((146_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((129_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -120,7 +120,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - (30_241_000 as Weight) + (29_773_000 as Weight) // Standard Error: 0 .saturating_add((107_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) @@ -130,9 +130,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - (19_880_000 as Weight) + (19_460_000 as Weight) // Standard Error: 0 - .saturating_add((103_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((106_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -141,9 +141,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_complete(s: u32, ) -> Weight { - (72_978_000 as Weight) - // Standard Error: 1_000 - .saturating_add((151_000 as Weight).saturating_mul(s as Weight)) + (61_764_000 as Weight) + // Standard Error: 0 + .saturating_add((130_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -151,7 +151,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - (52_103_000 as Weight) + (45_239_000 as Weight) // Standard Error: 0 .saturating_add((110_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) diff --git a/runtime/westend/src/weights/pallet_nomination_pools.rs b/runtime/westend/src/weights/pallet_nomination_pools.rs index e887e80b33cd..b93b5c44ace7 100644 --- a/runtime/westend/src/weights/pallet_nomination_pools.rs +++ b/runtime/westend/src/weights/pallet_nomination_pools.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -58,7 +58,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn join() -> Weight { - (125_409_000 as Weight) + (127_461_000 as Weight) .saturating_add(T::DbWeight::get().reads(17 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -72,7 +72,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_transfer() -> Weight { - (119_403_000 as Weight) + (119_965_000 as Weight) .saturating_add(T::DbWeight::get().reads(14 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -86,7 +86,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListNodes (r:2 w:2) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_reward() -> Weight { - (128_127_000 as Weight) + (126_924_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -95,7 +95,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_payout() -> Weight { - (49_879_000 as Weight) + (48_168_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -114,7 +114,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools SubPoolsStorage (r:1 w:1) // Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1) fn unbond() -> Weight { - (123_927_000 as Weight) + (124_841_000 as Weight) .saturating_add(T::DbWeight::get().reads(18 as Weight)) .saturating_add(T::DbWeight::get().writes(13 as Weight)) } @@ -124,9 +124,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Balances Locks (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { - (40_494_000 as Weight) + (41_129_000 as Weight) // Standard Error: 0 - .saturating_add((30_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((33_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -140,9 +140,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - (79_488_000 as Weight) - // Standard Error: 0 - .saturating_add((45_000 as Weight).saturating_mul(s as Weight)) + (78_870_000 as Weight) + // Standard Error: 1_000 + .saturating_add((49_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -166,10 +166,8 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForBondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(s: u32, ) -> Weight { - (138_623_000 as Weight) - // Standard Error: 2_000 - .saturating_add((5_000 as Weight).saturating_mul(s as Weight)) + fn withdraw_unbonded_kill(_s: u32, ) -> Weight { + (137_414_000 as Weight) .saturating_add(T::DbWeight::get().reads(19 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } @@ -196,7 +194,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn create() -> Weight { - (131_163_000 as Weight) + (131_154_000 as Weight) .saturating_add(T::DbWeight::get().reads(22 as Weight)) .saturating_add(T::DbWeight::get().writes(15 as Weight)) } @@ -214,9 +212,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - (50_023_000 as Weight) - // Standard Error: 13_000 - .saturating_add((2_186_000 as Weight).saturating_mul(n as Weight)) + (50_310_000 as Weight) + // Standard Error: 4_000 + .saturating_add((2_137_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(5 as Weight)) @@ -224,7 +222,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Ledger (r:1 w:0) fn set_state() -> Weight { - (26_890_000 as Weight) + (25_062_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -233,7 +231,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForMetadata (r:1 w:1) /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { - (14_200_000 as Weight) + (13_890_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) @@ -245,12 +243,12 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinCreateBond (r:0 w:1) // Storage: NominationPools MaxPools (r:0 w:1) fn set_configs() -> Weight { - (7_166_000 as Weight) + (6_811_000 as Weight) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } // Storage: NominationPools BondedPools (r:1 w:1) fn update_roles() -> Weight { - (22_584_000 as Weight) + (21_056_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -263,7 +261,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - (47_655_000 as Weight) + (48_506_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_preimage.rs b/runtime/westend/src/weights/pallet_preimage.rs index e103b2428565..d85380b9d1c8 100644 --- a/runtime/westend/src/weights/pallet_preimage.rs +++ b/runtime/westend/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -77,58 +77,58 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - (36_713_000 as Weight) + (34_210_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - (24_948_000 as Weight) + (22_488_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - (34_801_000 as Weight) + (33_292_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - (23_177_000 as Weight) + (21_366_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - (16_270_000 as Weight) + (15_518_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - (7_393_000 as Weight) + (6_307_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - (23_439_000 as Weight) + (22_313_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - (18_231_000 as Weight) + (16_011_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - (7_350_000 as Weight) + (5_974_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_proxy.rs b/runtime/westend/src/weights/pallet_proxy.rs index a3bb87d9dca9..60c75d650fe2 100644 --- a/runtime/westend/src/weights/pallet_proxy.rs +++ b/runtime/westend/src/weights/pallet_proxy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -47,9 +47,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - (18_076_000 as Weight) - // Standard Error: 2_000 - .saturating_add((92_000 as Weight).saturating_mul(p as Weight)) + (17_846_000 as Weight) + // Standard Error: 1_000 + .saturating_add((62_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -58,11 +58,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - (35_009_000 as Weight) - // Standard Error: 2_000 - .saturating_add((195_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((63_000 as Weight).saturating_mul(p as Weight)) + (33_547_000 as Weight) + // Standard Error: 1_000 + .saturating_add((173_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((49_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -71,11 +71,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { - (24_275_000 as Weight) + (22_907_000 as Weight) // Standard Error: 1_000 - .saturating_add((195_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((157_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((4_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -84,11 +84,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { - (24_436_000 as Weight) + (22_859_000 as Weight) // Standard Error: 1_000 - .saturating_add((190_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((166_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 1_000 - .saturating_add((2_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((9_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -98,38 +98,38 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - (32_256_000 as Weight) - // Standard Error: 2_000 - .saturating_add((185_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((51_000 as Weight).saturating_mul(p as Weight)) + (31_254_000 as Weight) + // Standard Error: 1_000 + .saturating_add((136_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((44_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - (26_395_000 as Weight) - // Standard Error: 2_000 - .saturating_add((112_000 as Weight).saturating_mul(p as Weight)) + (25_519_000 as Weight) + // Standard Error: 1_000 + .saturating_add((81_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - (26_268_000 as Weight) - // Standard Error: 3_000 - .saturating_add((140_000 as Weight).saturating_mul(p as Weight)) + (25_205_000 as Weight) + // Standard Error: 2_000 + .saturating_add((111_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - (22_406_000 as Weight) + (21_393_000 as Weight) // Standard Error: 2_000 - .saturating_add((90_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((62_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -137,18 +137,18 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn anonymous(p: u32, ) -> Weight { - (28_860_000 as Weight) - // Standard Error: 2_000 - .saturating_add((35_000 as Weight).saturating_mul(p as Weight)) + (28_146_000 as Weight) + // Standard Error: 1_000 + .saturating_add((30_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_anonymous(p: u32, ) -> Weight { - (23_340_000 as Weight) - // Standard Error: 2_000 - .saturating_add((93_000 as Weight).saturating_mul(p as Weight)) + (22_187_000 as Weight) + // Standard Error: 1_000 + .saturating_add((68_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_scheduler.rs b/runtime/westend/src/weights/pallet_scheduler.rs index ad2810bebebd..29dd57c08c07 100644 --- a/runtime/westend/src/weights/pallet_scheduler.rs +++ b/runtime/westend/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -50,9 +50,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - (1_466_000 as Weight) - // Standard Error: 42_000 - .saturating_add((26_143_000 as Weight).saturating_mul(s as Weight)) + (2_582_000 as Weight) + // Standard Error: 32_000 + .saturating_add((25_444_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -64,9 +64,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named_resolved(s: u32, ) -> Weight { - (5_605_000 as Weight) - // Standard Error: 37_000 - .saturating_add((20_998_000 as Weight).saturating_mul(s as Weight)) + (4_112_000 as Weight) + // Standard Error: 29_000 + .saturating_add((20_456_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -77,9 +77,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - (2_421_000 as Weight) + (0 as Weight) // Standard Error: 32_000 - .saturating_add((23_616_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((23_106_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -90,9 +90,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_resolved(s: u32, ) -> Weight { - (2_768_000 as Weight) - // Standard Error: 32_000 - .saturating_add((20_110_000 as Weight).saturating_mul(s as Weight)) + (6_481_000 as Weight) + // Standard Error: 21_000 + .saturating_add((19_301_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -103,9 +103,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named_aborted(s: u32, ) -> Weight { - (5_027_000 as Weight) - // Standard Error: 15_000 - .saturating_add((8_824_000 as Weight).saturating_mul(s as Weight)) + (4_817_000 as Weight) + // Standard Error: 13_000 + .saturating_add((8_967_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -115,9 +115,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:1 w:0) /// The range of component `s` is `[1, 50]`. fn on_initialize_aborted(s: u32, ) -> Weight { - (6_098_000 as Weight) - // Standard Error: 17_000 - .saturating_add((6_889_000 as Weight).saturating_mul(s as Weight)) + (6_222_000 as Weight) + // Standard Error: 11_000 + .saturating_add((6_779_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -126,9 +126,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic_named(s: u32, ) -> Weight { - (9_027_000 as Weight) - // Standard Error: 26_000 - .saturating_add((15_626_000 as Weight).saturating_mul(s as Weight)) + (3_607_000 as Weight) + // Standard Error: 79_000 + .saturating_add((15_590_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -137,9 +137,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:2 w:2) /// The range of component `s` is `[1, 50]`. fn on_initialize_periodic(s: u32, ) -> Weight { - (10_863_000 as Weight) - // Standard Error: 20_000 - .saturating_add((13_369_000 as Weight).saturating_mul(s as Weight)) + (11_226_000 as Weight) + // Standard Error: 17_000 + .saturating_add((12_726_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -149,9 +149,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize_named(s: u32, ) -> Weight { - (10_823_000 as Weight) - // Standard Error: 19_000 - .saturating_add((10_996_000 as Weight).saturating_mul(s as Weight)) + (12_159_000 as Weight) + // Standard Error: 13_000 + .saturating_add((10_436_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -159,16 +159,16 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn on_initialize(s: u32, ) -> Weight { - (11_115_000 as Weight) - // Standard Error: 16_000 - .saturating_add((10_072_000 as Weight).saturating_mul(s as Weight)) + (12_359_000 as Weight) + // Standard Error: 26_000 + .saturating_add((9_593_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn schedule(s: u32, ) -> Weight { - (18_953_000 as Weight) + (18_686_000 as Weight) // Standard Error: 1_000 .saturating_add((49_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -178,7 +178,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - (18_656_000 as Weight) + (17_922_000 as Weight) // Standard Error: 5_000 .saturating_add((1_861_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) @@ -188,9 +188,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn schedule_named(s: u32, ) -> Weight { - (22_055_000 as Weight) + (21_794_000 as Weight) // Standard Error: 1_000 - .saturating_add((67_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((64_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -198,9 +198,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - (19_925_000 as Weight) + (19_726_000 as Weight) // Standard Error: 5_000 - .saturating_add((1_871_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((1_854_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_session.rs b/runtime/westend/src/weights/pallet_session.rs index d7f803bc9266..7c01c8729ac0 100644 --- a/runtime/westend/src/weights/pallet_session.rs +++ b/runtime/westend/src/weights/pallet_session.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -48,7 +48,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:6 w:6) fn set_keys() -> Weight { - (43_153_000 as Weight) + (42_352_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -56,7 +56,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:6) fn purge_keys() -> Weight { - (28_064_000 as Weight) + (26_312_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index a75c42b6f109..9a39254529e6 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -51,7 +51,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - (41_514_000 as Weight) + (39_056_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -61,7 +61,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - (71_646_000 as Weight) + (70_307_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -75,7 +75,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - (78_585_000 as Weight) + (75_717_000 as Weight) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -85,9 +85,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - (33_087_000 as Weight) + (31_047_000 as Weight) // Standard Error: 0 - .saturating_add((30_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((31_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -105,8 +105,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - (63_594_000 as Weight) + fn withdraw_unbonded_kill(s: u32, ) -> Weight { + (60_033_000 as Weight) + // Standard Error: 0 + .saturating_add((1_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -122,7 +124,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - (51_267_000 as Weight) + (48_953_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -130,9 +132,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - (10_795_000 as Weight) - // Standard Error: 9_000 - .saturating_add((8_737_000 as Weight).saturating_mul(k as Weight)) + (10_920_000 as Weight) + // Standard Error: 8_000 + .saturating_add((8_111_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight))) @@ -150,9 +152,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - (54_513_000 as Weight) - // Standard Error: 13_000 - .saturating_add((3_258_000 as Weight).saturating_mul(n as Weight)) + (52_622_000 as Weight) + // Standard Error: 11_000 + .saturating_add((3_092_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(6 as Weight)) @@ -165,48 +167,48 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - (48_335_000 as Weight) + (46_206_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - (10_399_000 as Weight) + (9_480_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - (18_705_000 as Weight) + (16_445_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - (3_562_000 as Weight) + (3_236_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - (3_763_000 as Weight) + (3_386_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - (3_731_000 as Weight) + (3_324_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - (3_695_000 as Weight) + (3_340_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - (4_144_000 as Weight) + (3_676_000 as Weight) // Standard Error: 0 .saturating_add((10_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -226,9 +228,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - (60_921_000 as Weight) + (57_723_000 as Weight) // Standard Error: 1_000 - .saturating_add((903_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((894_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -236,9 +238,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - (2_560_343_000 as Weight) - // Standard Error: 168_000 - .saturating_add((15_026_000 as Weight).saturating_mul(s as Weight)) + (2_534_473_000 as Weight) + // Standard Error: 172_000 + .saturating_add((14_773_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -254,9 +256,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) /// The range of component `n` is `[1, 64]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - (77_312_000 as Weight) - // Standard Error: 27_000 - .saturating_add((25_495_000 as Weight).saturating_mul(n as Weight)) + (74_433_000 as Weight) + // Standard Error: 22_000 + .saturating_add((24_296_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -275,9 +277,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:2 w:2) /// The range of component `n` is `[1, 64]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - (94_063_000 as Weight) - // Standard Error: 29_000 - .saturating_add((33_817_000 as Weight).saturating_mul(n as Weight)) + (83_490_000 as Weight) + // Standard Error: 26_000 + .saturating_add((32_049_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) @@ -291,9 +293,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - (72_371_000 as Weight) - // Standard Error: 4_000 - .saturating_add((44_000 as Weight).saturating_mul(l as Weight)) + (68_977_000 as Weight) + // Standard Error: 13_000 + .saturating_add((54_000 as Weight).saturating_mul(l as Weight)) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -309,8 +311,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `e` is `[1, 100]`. fn set_history_depth(e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 64_000 - .saturating_add((22_229_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 90_000 + .saturating_add((22_124_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) .saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight))) @@ -330,9 +332,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - (67_356_000 as Weight) - // Standard Error: 2_000 - .saturating_add((903_000 as Weight).saturating_mul(s as Weight)) + (64_117_000 as Weight) + // Standard Error: 1_000 + .saturating_add((888_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight))) @@ -360,10 +362,10 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[1, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_285_000 - .saturating_add((329_649_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 64_000 - .saturating_add((42_034_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 1_326_000 + .saturating_add((300_625_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 127_000 + .saturating_add((38_619_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(187 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight))) @@ -384,12 +386,12 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 20]`. fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { (0 as Weight) - // Standard Error: 107_000 - .saturating_add((25_748_000 as Weight).saturating_mul(v as Weight)) - // Standard Error: 107_000 - .saturating_add((23_653_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 3_657_000 - .saturating_add((38_091_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 116_000 + .saturating_add((24_599_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 116_000 + .saturating_add((22_573_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 2_973_000 + .saturating_add((34_144_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(181 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(n as Weight))) @@ -401,8 +403,8 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { (0 as Weight) - // Standard Error: 37_000 - .saturating_add((7_774_000 as Weight).saturating_mul(v as Weight)) + // Standard Error: 34_000 + .saturating_add((7_766_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -414,7 +416,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - (6_450_000 as Weight) + (6_082_000 as Weight) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking MinCommission (r:0 w:1) @@ -424,7 +426,7 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - (6_048_000 as Weight) + (5_821_000 as Weight) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking Ledger (r:1 w:0) @@ -438,14 +440,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - (59_086_000 as Weight) + (55_078_000 as Weight) .saturating_add(T::DbWeight::get().reads(11 as Weight)) .saturating_add(T::DbWeight::get().writes(6 as Weight)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - (11_448_000 as Weight) + (10_492_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/westend/src/weights/pallet_timestamp.rs b/runtime/westend/src/weights/pallet_timestamp.rs index 497d55585b5c..f8fbd9a0ce39 100644 --- a/runtime/westend/src/weights/pallet_timestamp.rs +++ b/runtime/westend/src/weights/pallet_timestamp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -47,11 +47,11 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Babe CurrentSlot (r:1 w:0) fn set() -> Weight { - (7_872_000 as Weight) + (7_984_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (2_074_000 as Weight) + (2_224_000 as Weight) } } diff --git a/runtime/westend/src/weights/pallet_utility.rs b/runtime/westend/src/weights/pallet_utility.rs index e76efb78427e..f01a44300513 100644 --- a/runtime/westend/src/weights/pallet_utility.rs +++ b/runtime/westend/src/weights/pallet_utility.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -46,26 +46,26 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - (13_255_000 as Weight) + (21_263_000 as Weight) // Standard Error: 2_000 - .saturating_add((4_317_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_568_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (5_226_000 as Weight) + (5_489_000 as Weight) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - (10_127_000 as Weight) + (12_474_000 as Weight) // Standard Error: 3_000 - .saturating_add((4_608_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((4_877_000 as Weight).saturating_mul(c as Weight)) } fn dispatch_as() -> Weight { - (12_488_000 as Weight) + (12_745_000 as Weight) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - (2_319_000 as Weight) - // Standard Error: 4_000 - .saturating_add((4_297_000 as Weight).saturating_mul(c as Weight)) + (21_712_000 as Weight) + // Standard Error: 2_000 + .saturating_add((4_569_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/runtime/westend/src/weights/pallet_vesting.rs b/runtime/westend/src/weights/pallet_vesting.rs index 420f09ecdebb..b0dfc4e0ae19 100644 --- a/runtime/westend/src/weights/pallet_vesting.rs +++ b/runtime/westend/src/weights/pallet_vesting.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -49,11 +49,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { - (29_825_000 as Weight) - // Standard Error: 0 - .saturating_add((92_000 as Weight).saturating_mul(l as Weight)) + (28_533_000 as Weight) + // Standard Error: 1_000 + .saturating_add((70_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((179_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((152_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -62,11 +62,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { - (29_898_000 as Weight) + (28_491_000 as Weight) // Standard Error: 0 - .saturating_add((81_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((149_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((61_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 1_000 + .saturating_add((128_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -76,11 +76,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { - (30_331_000 as Weight) + (28_340_000 as Weight) + // Standard Error: 0 + .saturating_add((71_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((87_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 2_000 - .saturating_add((177_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((150_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -90,11 +90,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - (30_620_000 as Weight) + (28_558_000 as Weight) // Standard Error: 0 - .saturating_add((76_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((64_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 1_000 - .saturating_add((138_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((120_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -104,11 +104,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { - (45_028_000 as Weight) - // Standard Error: 1_000 - .saturating_add((85_000 as Weight).saturating_mul(l as Weight)) + (43_102_000 as Weight) + // Standard Error: 2_000 + .saturating_add((65_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 4_000 - .saturating_add((150_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((130_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -118,11 +118,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - (45_042_000 as Weight) + (42_364_000 as Weight) // Standard Error: 2_000 - .saturating_add((83_000 as Weight).saturating_mul(l as Weight)) - // Standard Error: 4_000 - .saturating_add((157_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((78_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 5_000 + .saturating_add((137_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -132,11 +132,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - (31_238_000 as Weight) - // Standard Error: 0 - .saturating_add((87_000 as Weight).saturating_mul(l as Weight)) + (29_492_000 as Weight) // Standard Error: 1_000 - .saturating_add((177_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((64_000 as Weight).saturating_mul(l as Weight)) + // Standard Error: 2_000 + .saturating_add((154_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -146,11 +146,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - (31_072_000 as Weight) + (29_532_000 as Weight) // Standard Error: 1_000 - .saturating_add((84_000 as Weight).saturating_mul(l as Weight)) + .saturating_add((58_000 as Weight).saturating_mul(l as Weight)) // Standard Error: 2_000 - .saturating_add((174_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((155_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/westend/src/weights/runtime_common_auctions.rs b/runtime/westend/src/weights/runtime_common_auctions.rs index c16b80c243a1..c6b0cb257d00 100644 --- a/runtime/westend/src/weights/runtime_common_auctions.rs +++ b/runtime/westend/src/weights/runtime_common_auctions.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -47,7 +47,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions AuctionInfo (r:1 w:1) // Storage: Auctions AuctionCounter (r:1 w:1) fn new_auction() -> Weight { - (15_429_000 as Weight) + (15_096_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -59,7 +59,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions ReservedAmounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn bid() -> Weight { - (71_506_000 as Weight) + (69_901_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -76,7 +76,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar Paras (r:1 w:1) fn on_initialize() -> Weight { - (15_626_378_000 as Weight) + (15_323_740_000 as Weight) .saturating_add(T::DbWeight::get().reads(3688 as Weight)) .saturating_add(T::DbWeight::get().writes(3683 as Weight)) } @@ -85,7 +85,7 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions Winning (r:0 w:3600) // Storage: Auctions AuctionInfo (r:0 w:1) fn cancel_auction() -> Weight { - (4_701_154_000 as Weight) + (4_582_728_000 as Weight) .saturating_add(T::DbWeight::get().reads(73 as Weight)) .saturating_add(T::DbWeight::get().writes(3673 as Weight)) } diff --git a/runtime/westend/src/weights/runtime_common_crowdloan.rs b/runtime/westend/src/weights/runtime_common_crowdloan.rs index 9968c300126d..0ee0e2a1d385 100644 --- a/runtime/westend/src/weights/runtime_common_crowdloan.rs +++ b/runtime/westend/src/weights/runtime_common_crowdloan.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -49,7 +49,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Paras ParaLifecycles (r:1 w:0) // Storage: Crowdloan NextFundIndex (r:1 w:1) fn create() -> Weight { - (43_107_000 as Weight) + (40_904_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -61,7 +61,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan NewRaise (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - (111_828_000 as Weight) + (111_898_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -69,7 +69,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) // Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1) fn withdraw() -> Weight { - (50_745_000 as Weight) + (48_847_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -77,8 +77,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `k` is `[0, 500]`. fn refund(k: u32, ) -> Weight { (0 as Weight) - // Standard Error: 13_000 - .saturating_add((18_955_000 as Weight).saturating_mul(k as Weight)) + // Standard Error: 14_000 + .saturating_add((18_621_000 as Weight).saturating_mul(k as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(k as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -87,27 +87,27 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan Funds (r:1 w:1) // Storage: System Account (r:1 w:1) fn dissolve() -> Weight { - (32_920_000 as Weight) + (31_423_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: Crowdloan Funds (r:1 w:1) fn edit() -> Weight { - (22_208_000 as Weight) + (20_848_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn add_memo() -> Weight { - (27_562_000 as Weight) + (26_978_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: Crowdloan NewRaise (r:1 w:1) fn poke() -> Weight { - (22_850_000 as Weight) + (22_016_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -124,8 +124,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { (0 as Weight) - // Standard Error: 32_000 - .saturating_add((50_309_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 28_000 + .saturating_add((48_794_000 as Weight).saturating_mul(n as Weight)) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(3 as Weight)) diff --git a/runtime/westend/src/weights/runtime_common_paras_registrar.rs b/runtime/westend/src/weights/runtime_common_paras_registrar.rs index 2261871c7e80..eabb90616951 100644 --- a/runtime/westend/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/westend/src/weights/runtime_common_paras_registrar.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -48,7 +48,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Registrar Paras (r:1 w:1) // Storage: Paras ParaLifecycles (r:1 w:0) fn reserve() -> Weight { - (28_328_000 as Weight) + (28_424_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -62,7 +62,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn register() -> Weight { - (8_656_307_000 as Weight) + (8_625_943_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -76,7 +76,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn force_register() -> Weight { - (8_646_123_000 as Weight) + (8_608_547_000 as Weight) .saturating_add(T::DbWeight::get().reads(7 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -87,7 +87,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar PendingSwap (r:0 w:1) fn deregister() -> Weight { - (44_184_000 as Weight) + (40_944_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -99,7 +99,7 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Crowdloan Funds (r:2 w:2) // Storage: Slots Leases (r:2 w:2) fn swap() -> Weight { - (38_193_000 as Weight) + (37_396_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } diff --git a/runtime/westend/src/weights/runtime_common_slots.rs b/runtime/westend/src/weights/runtime_common_slots.rs index ecf46ec8c128..c439050108bc 100644 --- a/runtime/westend/src/weights/runtime_common_slots.rs +++ b/runtime/westend/src/weights/runtime_common_slots.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -47,7 +47,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (27_720_000 as Weight) + (28_225_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -61,10 +61,10 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { (0 as Weight) - // Standard Error: 19_000 - .saturating_add((7_345_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 19_000 - .saturating_add((18_229_000 as Weight).saturating_mul(t as Weight)) + // Standard Error: 22_000 + .saturating_add((6_678_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 22_000 + .saturating_add((17_665_000 as Weight).saturating_mul(t as Weight)) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(t as Weight))) @@ -75,7 +75,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (94_878_000 as Weight) + (93_216_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(9 as Weight)) } @@ -85,7 +85,7 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - (21_737_000 as Weight) + (20_875_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } diff --git a/runtime/westend/src/weights/runtime_parachains_configuration.rs b/runtime/westend/src/weights/runtime_parachains_configuration.rs index 9bf8bd5137e7..d40d1f4e145c 100644 --- a/runtime/westend/src/weights/runtime_parachains_configuration.rs +++ b/runtime/westend/src/weights/runtime_parachains_configuration.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -48,7 +48,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_block_number() -> Weight { - (9_761_000 as Weight) + (9_098_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -56,7 +56,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_u32() -> Weight { - (9_630_000 as Weight) + (9_160_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -64,7 +64,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_option_u32() -> Weight { - (9_891_000 as Weight) + (9_127_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -72,7 +72,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_weight() -> Weight { - (9_781_000 as Weight) + (9_415_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -84,7 +84,7 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_balance() -> Weight { - (10_177_000 as Weight) + (9_524_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/runtime/westend/src/weights/runtime_parachains_disputes.rs b/runtime/westend/src/weights/runtime_parachains_disputes.rs index 08fc3f9c33dc..ab8c2b7b941c 100644 --- a/runtime/westend/src/weights/runtime_parachains_disputes.rs +++ b/runtime/westend/src/weights/runtime_parachains_disputes.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::disputes::WeightInfo for WeightInfo { // Storage: ParasDisputes Frozen (r:0 w:1) fn force_unfreeze() -> Weight { - (3_493_000 as Weight) + (3_175_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } } diff --git a/runtime/westend/src/weights/runtime_parachains_hrmp.rs b/runtime/westend/src/weights/runtime_parachains_hrmp.rs index 0f9fa72f550c..b5740fcc8055 100644 --- a/runtime/westend/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/westend/src/weights/runtime_parachains_hrmp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -53,7 +53,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_init_open_channel() -> Weight { - (37_845_000 as Weight) + (37_290_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } @@ -64,7 +64,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_accept_open_channel() -> Weight { - (33_853_000 as Weight) + (33_687_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -74,7 +74,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_close_channel() -> Weight { - (32_055_000 as Weight) + (31_507_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } @@ -88,10 +88,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { (0 as Weight) - // Standard Error: 20_000 - .saturating_add((9_991_000 as Weight).saturating_mul(i as Weight)) - // Standard Error: 20_000 - .saturating_add((9_939_000 as Weight).saturating_mul(e as Weight)) + // Standard Error: 18_000 + .saturating_add((9_857_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 18_000 + .saturating_add((9_902_000 as Weight).saturating_mul(e as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(i as Weight))) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(e as Weight))) @@ -110,8 +110,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 32_000 - .saturating_add((23_658_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 35_000 + .saturating_add((23_225_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((7 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -126,8 +126,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 21_000 - .saturating_add((13_396_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 18_000 + .saturating_add((13_030_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) @@ -138,9 +138,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { - (27_259_000 as Weight) - // Standard Error: 0 - .saturating_add((57_000 as Weight).saturating_mul(c as Weight)) + (26_560_000 as Weight) + // Standard Error: 1_000 + .saturating_add((49_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -149,8 +149,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 8_000 - .saturating_add((3_933_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 9_000 + .saturating_add((3_867_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) diff --git a/runtime/westend/src/weights/runtime_parachains_initializer.rs b/runtime/westend/src/weights/runtime_parachains_initializer.rs index 5e7ea1db96d1..370afa635582 100644 --- a/runtime/westend/src/weights/runtime_parachains_initializer.rs +++ b/runtime/westend/src/weights/runtime_parachains_initializer.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -47,7 +47,7 @@ impl runtime_parachains::initializer::WeightInfo for We // Storage: System Digest (r:1 w:1) /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { - (6_029_000 as Weight) + (7_235_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(d as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) diff --git a/runtime/westend/src/weights/runtime_parachains_paras.rs b/runtime/westend/src/weights/runtime_parachains_paras.rs index 1771a91e3124..f1ffe46ac241 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -98,7 +98,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) fn force_queue_action() -> Weight { - (22_617_000 as Weight) + (19_269_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -115,7 +115,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHashRefs (r:1 w:0) // Storage: Paras CodeByHash (r:0 w:1) fn poke_unused_validation_code() -> Weight { - (5_125_000 as Weight) + (4_769_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -123,7 +123,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras PvfActiveVoteMap (r:1 w:1) fn include_pvf_check_statement() -> Weight { - (102_715_000 as Weight) + (92_142_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } @@ -135,7 +135,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: System Digest (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { - (686_504_000 as Weight) + (680_774_000 as Weight) .saturating_add(T::DbWeight::get().reads(6 as Weight)) .saturating_add(T::DbWeight::get().writes(104 as Weight)) } @@ -148,7 +148,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:100) // Storage: Paras FutureCodeHash (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { - (599_186_000 as Weight) + (630_172_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(204 as Weight)) } @@ -158,7 +158,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras PvfActiveVoteList (r:1 w:1) // Storage: Paras ActionsQueue (r:1 w:1) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { - (545_605_000 as Weight) + (535_446_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } @@ -172,7 +172,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CurrentCodeHash (r:0 w:100) // Storage: Paras UpcomingParasGenesis (r:0 w:100) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { - (649_711_000 as Weight) + (702_781_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(304 as Weight)) } diff --git a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs index ddd828da2ff0..cd0696d7dbdc 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -76,9 +76,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { - (397_042_000 as Weight) - // Standard Error: 20_000 - .saturating_add((48_661_000 as Weight).saturating_mul(v as Weight)) + (367_606_000 as Weight) + // Standard Error: 14_000 + .saturating_add((48_163_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(28 as Weight)) .saturating_add(T::DbWeight::get().writes(18 as Weight)) } @@ -112,7 +112,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_bitfields() -> Weight { - (384_655_000 as Weight) + (355_084_000 as Weight) .saturating_add(T::DbWeight::get().reads(25 as Weight)) .saturating_add(T::DbWeight::get().writes(17 as Weight)) } @@ -148,9 +148,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { - (1_052_528_000 as Weight) - // Standard Error: 33_000 - .saturating_add((47_989_000 as Weight).saturating_mul(v as Weight)) + (949_843_000 as Weight) + // Standard Error: 40_000 + .saturating_add((48_022_000 as Weight).saturating_mul(v as Weight)) .saturating_add(T::DbWeight::get().reads(28 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } @@ -187,7 +187,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_backed_candidate_code_upgrade() -> Weight { - (43_186_368_000 as Weight) + (42_881_188_000 as Weight) .saturating_add(T::DbWeight::get().reads(30 as Weight)) .saturating_add(T::DbWeight::get().writes(16 as Weight)) } diff --git a/runtime/westend/src/weights/runtime_parachains_ump.rs b/runtime/westend/src/weights/runtime_parachains_ump.rs index 8968faa686a3..467477a5def0 100644 --- a/runtime/westend/src/weights/runtime_parachains_ump.rs +++ b/runtime/westend/src/weights/runtime_parachains_ump.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-07-29, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -46,7 +46,7 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::ump::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 51200]`. fn process_upward_message(s: u32, ) -> Weight { - (4_570_000 as Weight) + (5_203_000 as Weight) // Standard Error: 0 .saturating_add((2_000 as Weight).saturating_mul(s as Weight)) } @@ -55,13 +55,13 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo // Storage: Ump RelayDispatchQueues (r:0 w:1) // Storage: Ump RelayDispatchQueueSize (r:0 w:1) fn clean_ump_after_outgoing() -> Weight { - (6_717_000 as Weight) + (7_378_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } // Storage: Ump Overweight (r:1 w:1) fn service_overweight() -> Weight { - (21_605_000 as Weight) + (22_049_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } From 157a123d05bb3548c042f91430f65de5a6e51d7e Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Thu, 25 Aug 2022 16:32:31 +0200 Subject: [PATCH 19/23] Fix wrong logic. (#5931) --- node/network/collator-protocol/src/validator_side/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/network/collator-protocol/src/validator_side/mod.rs b/node/network/collator-protocol/src/validator_side/mod.rs index 997ad62a9804..47795aac0ce2 100644 --- a/node/network/collator-protocol/src/validator_side/mod.rs +++ b/node/network/collator-protocol/src/validator_side/mod.rs @@ -730,7 +730,7 @@ async fn handle_peer_view_change(state: &mut State, peer_id: PeerId, view: View) peer_data.update_view(view); state .requested_collations - .retain(|pc, _| pc.peer_id != peer_id || !peer_data.has_advertised(&pc.relay_parent)); + .retain(|pc, _| pc.peer_id != peer_id || peer_data.has_advertised(&pc.relay_parent)); Ok(()) } From 7e4afecf44f066292fb74eeb895940bc597b3481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Fri, 26 Aug 2022 10:27:57 +0200 Subject: [PATCH 20/23] Update Substrate to make companion check happy (#5934) I merged some prs that require one manual update. --- Cargo.lock | 453 +++++++++++++++++++++++++++-------------------------- 1 file changed, 232 insertions(+), 221 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a10aa2823625..9c253a76b802 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -423,7 +423,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "beefy-primitives", @@ -433,7 +433,7 @@ dependencies = [ "hex", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-chain-spec", "sc-client-api", "sc-consensus", @@ -459,7 +459,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -467,7 +467,7 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-rpc", "sc-utils", "serde", @@ -479,7 +479,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "beefy-primitives", "sp-api", @@ -488,7 +488,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "scale-info", @@ -797,6 +797,15 @@ dependencies = [ "nom", ] +[[package]] +name = "cfg-expr" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0aacacf4d96c24b2ad6eb8ee6df040e4f27b0d0b39a5710c30091baa830485db" +dependencies = [ + "smallvec", +] + [[package]] name = "cfg-if" version = "0.1.10" @@ -1903,7 +1912,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "scale-info", ] @@ -1974,7 +1983,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", ] @@ -1992,7 +2001,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -2015,7 +2024,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "Inflector", "chrono", @@ -2066,7 +2075,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2077,7 +2086,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2093,7 +2102,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -2121,7 +2130,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "bitflags", "frame-metadata", @@ -2152,10 +2161,12 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "Inflector", + "cfg-expr", "frame-support-procedural-tools", + "itertools", "proc-macro2", "quote", "syn", @@ -2164,7 +2175,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2176,7 +2187,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "proc-macro2", "quote", @@ -2186,7 +2197,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2209,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -2220,7 +2231,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "log", @@ -2237,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -2252,7 +2263,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "sp-api", @@ -2261,7 +2272,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "sp-api", @@ -2443,7 +2454,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "chrono", "frame-election-provider-support", @@ -3077,7 +3088,7 @@ dependencies = [ "hyper", "jsonrpsee-types", "lazy_static", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.8.5", "rustc-hash", "serde", @@ -3322,7 +3333,7 @@ checksum = "ece7e668abd21387aeb6628130a6f4c802787f014fa46bc83221448322250357" dependencies = [ "kvdb", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", ] [[package]] @@ -3337,7 +3348,7 @@ dependencies = [ "num_cpus", "owning_ref", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "regex", "rocksdb", "smallvec", @@ -3446,7 +3457,7 @@ dependencies = [ "libp2p-websocket", "libp2p-yamux", "multiaddr", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project", "rand 0.7.3", "smallvec", @@ -3491,7 +3502,7 @@ dependencies = [ "multiaddr", "multihash", "multistream-select", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project", "prost", "prost-build", @@ -3527,7 +3538,7 @@ dependencies = [ "futures", "libp2p-core", "log", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "smallvec", "trust-dns-resolver", ] @@ -3676,7 +3687,7 @@ dependencies = [ "libp2p-core", "log", "nohash-hasher", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.7.3", "smallvec", "unsigned-varint", @@ -3902,7 +3913,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "log", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "quicksink", "rw-stream-sink", "soketto", @@ -3918,7 +3929,7 @@ checksum = "c6dea686217a06072033dc025631932810e2f6ad784e4fafa42e27d311c7a81c" dependencies = [ "futures", "libp2p-core", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "thiserror", "yamux", ] @@ -4816,7 +4827,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -4830,7 +4841,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -4846,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -4861,7 +4872,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -4885,7 +4896,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4905,7 +4916,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4924,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -4939,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "beefy-primitives", "frame-support", @@ -4955,7 +4966,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4978,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -4996,7 +5007,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5032,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5048,7 +5059,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5071,7 +5082,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5084,7 +5095,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5102,7 +5113,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5140,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5156,7 +5167,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5176,7 +5187,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5193,7 +5204,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5210,7 +5221,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5228,7 +5239,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5243,7 +5254,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5258,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -5275,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5294,7 +5305,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "sp-api", @@ -5304,7 +5315,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -5321,7 +5332,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5344,7 +5355,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5360,7 +5371,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5375,7 +5386,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5390,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5417,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -5427,7 +5438,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5443,7 +5454,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -5457,7 +5468,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5480,7 +5491,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5491,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "log", "sp-arithmetic", @@ -5500,7 +5511,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -5514,7 +5525,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5532,7 +5543,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5551,7 +5562,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-support", "frame-system", @@ -5567,7 +5578,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5582,7 +5593,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5593,7 +5604,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5610,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5637,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-benchmarking", "frame-support", @@ -5747,7 +5758,7 @@ dependencies = [ "hashbrown 0.12.3", "impl-trait-for-tuples", "parity-util-mem-derive", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "primitive-types", "smallvec", "tikv-jemalloc-ctl", @@ -5800,9 +5811,9 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", "parking_lot_core 0.9.1", @@ -6285,7 +6296,7 @@ dependencies = [ "futures", "futures-timer", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-test-helpers", @@ -6336,7 +6347,7 @@ dependencies = [ "lru 0.7.8", "merlin", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -6373,7 +6384,7 @@ dependencies = [ "kvdb-memorydb", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-erasure-coding", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -6481,7 +6492,7 @@ dependencies = [ "kvdb", "kvdb-memorydb", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-test-helpers", @@ -6644,7 +6655,7 @@ dependencies = [ "log", "mick-jaeger", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-primitives", "polkadot-primitives", "sc-network", @@ -6739,7 +6750,7 @@ version = "0.9.27" dependencies = [ "async-trait", "futures", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-overseer", @@ -6825,7 +6836,7 @@ dependencies = [ "lru 0.7.8", "orchestra", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -8100,7 +8111,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8442,7 +8453,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "log", "sp-core", @@ -8453,7 +8464,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "futures-timer", @@ -8479,7 +8490,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "futures-timer", @@ -8502,7 +8513,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8518,7 +8529,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8535,7 +8546,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8546,7 +8557,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "chrono", "clap", @@ -8585,14 +8596,14 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "fnv", "futures", "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -8613,7 +8624,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "hash-db", "kvdb", @@ -8623,7 +8634,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-client-api", "sc-state-db", "sp-arithmetic", @@ -8638,14 +8649,14 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "futures", "futures-timer", "libp2p", "log", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-client-api", "sc-utils", "serde", @@ -8662,7 +8673,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "fork-tree", @@ -8673,7 +8684,7 @@ dependencies = [ "num-rational 0.2.4", "num-traits", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.7.3", "sc-client-api", "sc-consensus", @@ -8704,7 +8715,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "jsonrpsee", @@ -8726,7 +8737,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8739,7 +8750,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "futures", @@ -8764,12 +8775,12 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "lazy_static", "lru 0.7.8", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-executor-common", "sc-executor-wasmi", "sc-executor-wasmtime", @@ -8791,7 +8802,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "environmental", "parity-scale-codec", @@ -8807,7 +8818,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "log", "parity-scale-codec", @@ -8822,7 +8833,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8842,7 +8853,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "ahash", "async-trait", @@ -8854,7 +8865,7 @@ dependencies = [ "hex", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.8.5", "sc-block-builder", "sc-chain-spec", @@ -8883,7 +8894,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "finality-grandpa", "futures", @@ -8904,7 +8915,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "ansi_term", "futures", @@ -8921,11 +8932,11 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "hex", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "serde_json", "sp-application-crypto", "sp-core", @@ -8936,7 +8947,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "asynchronous-codec", @@ -8956,7 +8967,7 @@ dependencies = [ "log", "lru 0.7.8", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project", "prost", "prost-build", @@ -8985,7 +8996,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "bitflags", @@ -9007,7 +9018,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "ahash", "futures", @@ -9025,7 +9036,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "hex", @@ -9046,7 +9057,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "fork-tree", "futures", @@ -9074,7 +9085,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "bytes", "fnv", @@ -9087,7 +9098,7 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.7.3", "sc-client-api", "sc-network-common", @@ -9104,7 +9115,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "libp2p", @@ -9117,7 +9128,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9126,14 +9137,14 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "hash-db", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -9156,13 +9167,13 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "jsonrpsee", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-chain-spec", "sc-transaction-pool-api", "scale-info", @@ -9179,7 +9190,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "jsonrpsee", @@ -9192,7 +9203,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "directories", @@ -9204,7 +9215,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project", "rand 0.7.3", "sc-block-builder", @@ -9259,13 +9270,13 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "log", "parity-scale-codec", "parity-util-mem", "parity-util-mem-derive", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-client-api", "sp-core", ] @@ -9273,7 +9284,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9292,7 +9303,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "libc", @@ -9311,13 +9322,13 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "chrono", "futures", "libp2p", "log", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project", "rand 0.7.3", "serde", @@ -9329,7 +9340,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "ansi_term", "atty", @@ -9338,7 +9349,7 @@ dependencies = [ "libc", "log", "once_cell", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "regex", "rustc-hash", "sc-client-api", @@ -9360,7 +9371,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9371,7 +9382,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "futures-timer", @@ -9379,7 +9390,7 @@ dependencies = [ "log", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sc-client-api", "sc-transaction-pool-api", "sc-utils", @@ -9397,7 +9408,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "log", @@ -9410,13 +9421,13 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "futures-timer", "lazy_static", "log", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "prometheus", ] @@ -9613,9 +9624,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.81" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c" +checksum = "e55a28e3aaef9d5ce0506d0a14dbba8054ddc7e499ef522dd8b26859ec9d4a44" dependencies = [ "itoa 1.0.1", "ryu", @@ -9895,7 +9906,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "hash-db", "log", @@ -9913,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "blake2", "proc-macro-crate", @@ -9925,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "scale-info", @@ -9938,7 +9949,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "integer-sqrt", "num-traits", @@ -9953,7 +9964,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "scale-info", @@ -9966,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "parity-scale-codec", @@ -9978,7 +9989,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "sp-api", @@ -9990,13 +10001,13 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "log", "lru 0.7.8", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "sp-api", "sp-consensus", "sp-database", @@ -10008,7 +10019,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "futures", @@ -10027,7 +10038,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "merlin", @@ -10050,7 +10061,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "scale-info", @@ -10064,7 +10075,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "scale-info", @@ -10077,7 +10088,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "base58", "bitflags", @@ -10097,7 +10108,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "parity-util-mem", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "primitive-types", "rand 0.7.3", "regex", @@ -10123,7 +10134,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "blake2", "byteorder", @@ -10137,7 +10148,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "proc-macro2", "quote", @@ -10148,16 +10159,16 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "kvdb", - "parking_lot 0.12.0", + "parking_lot 0.12.1", ] [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "proc-macro2", "quote", @@ -10167,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "environmental", "parity-scale-codec", @@ -10178,7 +10189,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "finality-grandpa", "log", @@ -10196,7 +10207,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10210,7 +10221,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "bytes", "futures", @@ -10218,7 +10229,7 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "secp256k1", "sp-core", "sp-externalities", @@ -10236,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "lazy_static", "sp-core", @@ -10247,13 +10258,13 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "futures", "merlin", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "schnorrkel", "serde", "sp-core", @@ -10264,7 +10275,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "thiserror", "zstd", @@ -10273,7 +10284,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "log", "parity-scale-codec", @@ -10288,7 +10299,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "scale-info", @@ -10302,7 +10313,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "sp-api", "sp-core", @@ -10312,7 +10323,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "backtrace", "lazy_static", @@ -10322,7 +10333,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "rustc-hash", "serde", @@ -10332,7 +10343,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "either", "hash256-std-hasher", @@ -10354,7 +10365,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10372,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "Inflector", "proc-macro-crate", @@ -10384,7 +10395,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "log", "parity-scale-codec", @@ -10398,7 +10409,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "scale-info", @@ -10412,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "scale-info", @@ -10423,13 +10434,13 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "hash-db", "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.7.3", "smallvec", "sp-core", @@ -10445,12 +10456,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10463,7 +10474,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "log", "sp-core", @@ -10476,7 +10487,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "futures-timer", @@ -10492,7 +10503,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "sp-std", @@ -10504,7 +10515,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "sp-api", "sp-runtime", @@ -10513,7 +10524,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "log", @@ -10529,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "ahash", "hash-db", @@ -10539,7 +10550,7 @@ dependencies = [ "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "scale-info", "sp-core", "sp-std", @@ -10552,7 +10563,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10569,7 +10580,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10580,7 +10591,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "impl-trait-for-tuples", "log", @@ -10754,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "platforms", ] @@ -10762,7 +10773,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10783,7 +10794,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures-util", "hyper", @@ -10796,7 +10807,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "jsonrpsee", "log", @@ -10817,7 +10828,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "async-trait", "futures", @@ -10843,7 +10854,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10853,7 +10864,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10864,7 +10875,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "ansi_term", "build-helper", @@ -11270,7 +11281,7 @@ dependencies = [ "mio", "num_cpus", "once_cell", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "pin-project-lite 0.2.7", "signal-hook-registry", "socket2", @@ -11562,7 +11573,7 @@ dependencies = [ "lazy_static", "log", "lru-cache", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "resolv-conf", "smallvec", "thiserror", @@ -11578,7 +11589,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#57e3486d9c7bb4deaef33cf9ba2da083b4e40314" +source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" dependencies = [ "clap", "jsonrpsee", @@ -12682,7 +12693,7 @@ dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.0", + "parking_lot 0.12.1", "rand 0.8.5", "static_assertions", ] From ee15e98550621a0ead43f45bfb6a5b6bb6ea54b6 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Sun, 28 Aug 2022 13:58:01 +0100 Subject: [PATCH 21/23] use generated preimage weight (#5904) * use generated preimage weight * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi --- runtime/polkadot/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 502c116a7371..5c5e1d65b5e1 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -284,7 +284,7 @@ parameter_types! { } impl pallet_preimage::Config for Runtime { - type WeightInfo = pallet_preimage::weights::SubstrateWeight; + type WeightInfo = weights::pallet_preimage::WeightInfo; type Event = Event; type Currency = Balances; type ManagerOrigin = EnsureRoot; From 18b0f3f705261dc6f62cc549143c48b7813f4263 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Sun, 28 Aug 2022 14:41:43 +0100 Subject: [PATCH 22/23] Companion for 12095 (#5924) * Companion for 12095 * fix * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 341 ++++++++++++++++++------------------ runtime/kusama/src/lib.rs | 7 +- runtime/polkadot/Cargo.toml | 2 + runtime/polkadot/src/lib.rs | 15 +- runtime/westend/src/lib.rs | 7 +- 5 files changed, 197 insertions(+), 175 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9c253a76b802..d08ab7b9788b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -423,7 +423,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "beefy-primitives", @@ -459,7 +459,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -479,7 +479,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "beefy-primitives", "sp-api", @@ -488,7 +488,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "scale-info", @@ -1983,7 +1983,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", ] @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -2024,7 +2024,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "Inflector", "chrono", @@ -2075,7 +2075,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2086,7 +2086,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2102,7 +2102,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -2130,7 +2130,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "bitflags", "frame-metadata", @@ -2161,7 +2161,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "Inflector", "cfg-expr", @@ -2175,7 +2175,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2187,7 +2187,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "proc-macro2", "quote", @@ -2197,7 +2197,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -2231,7 +2231,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "log", @@ -2248,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -2263,7 +2263,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "sp-api", @@ -2272,7 +2272,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "sp-api", @@ -2454,7 +2454,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "chrono", "frame-election-provider-support", @@ -4827,7 +4827,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4841,7 +4841,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -4872,7 +4872,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4896,7 +4896,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4916,7 +4916,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4950,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "beefy-primitives", "frame-support", @@ -4966,7 +4966,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5007,7 +5007,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5059,7 +5059,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5082,7 +5082,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5095,7 +5095,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5113,7 +5113,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5128,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5151,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5167,7 +5167,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5187,7 +5187,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5204,7 +5204,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5221,7 +5221,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5239,7 +5239,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5254,7 +5254,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -5286,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5305,7 +5305,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "sp-api", @@ -5315,7 +5315,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -5332,7 +5332,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5355,7 +5355,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5371,7 +5371,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5386,7 +5386,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5401,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5417,7 +5417,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -5438,7 +5438,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5454,7 +5454,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -5468,7 +5468,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5491,7 +5491,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "log", "sp-arithmetic", @@ -5511,7 +5511,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -5525,7 +5525,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5543,7 +5543,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5562,7 +5562,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-support", "frame-system", @@ -5578,7 +5578,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5593,7 +5593,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5604,7 +5604,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5621,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5637,7 +5637,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6987,6 +6987,7 @@ dependencies = [ "pallet-multisig", "pallet-nomination-pools", "pallet-nomination-pools-benchmarking", + "pallet-nomination-pools-runtime-api", "pallet-offences", "pallet-offences-benchmarking", "pallet-preimage", @@ -8111,7 +8112,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8453,7 +8454,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "log", "sp-core", @@ -8464,7 +8465,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "futures-timer", @@ -8490,7 +8491,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "futures-timer", @@ -8513,7 +8514,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8529,7 +8530,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8546,7 +8547,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8557,7 +8558,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "chrono", "clap", @@ -8596,7 +8597,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "fnv", "futures", @@ -8624,7 +8625,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "hash-db", "kvdb", @@ -8649,7 +8650,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "futures", @@ -8673,7 +8674,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "fork-tree", @@ -8715,7 +8716,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "jsonrpsee", @@ -8737,7 +8738,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8750,7 +8751,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "futures", @@ -8775,7 +8776,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8802,7 +8803,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "environmental", "parity-scale-codec", @@ -8818,7 +8819,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "log", "parity-scale-codec", @@ -8833,7 +8834,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8853,7 +8854,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "ahash", "async-trait", @@ -8894,7 +8895,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "finality-grandpa", "futures", @@ -8915,7 +8916,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "ansi_term", "futures", @@ -8932,7 +8933,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "hex", @@ -8947,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "asynchronous-codec", @@ -8996,7 +8997,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "bitflags", @@ -9018,7 +9019,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "ahash", "futures", @@ -9036,7 +9037,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "hex", @@ -9057,7 +9058,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "fork-tree", "futures", @@ -9085,7 +9086,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "bytes", "fnv", @@ -9115,7 +9116,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "libp2p", @@ -9128,7 +9129,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9137,7 +9138,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "hash-db", @@ -9167,7 +9168,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "jsonrpsee", @@ -9190,7 +9191,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "jsonrpsee", @@ -9203,7 +9204,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "directories", @@ -9270,7 +9271,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "log", "parity-scale-codec", @@ -9284,7 +9285,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9303,7 +9304,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "libc", @@ -9322,7 +9323,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "chrono", "futures", @@ -9340,7 +9341,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "ansi_term", "atty", @@ -9371,7 +9372,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9382,7 +9383,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "futures-timer", @@ -9408,7 +9409,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "log", @@ -9421,7 +9422,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "futures-timer", @@ -9906,7 +9907,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "hash-db", "log", @@ -9924,7 +9925,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "blake2", "proc-macro-crate", @@ -9936,7 +9937,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9949,7 +9950,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "integer-sqrt", "num-traits", @@ -9964,7 +9965,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9977,7 +9978,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9989,7 +9990,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "sp-api", @@ -10001,7 +10002,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "log", @@ -10019,7 +10020,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "futures", @@ -10038,7 +10039,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "merlin", @@ -10061,7 +10062,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10075,7 +10076,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10088,7 +10089,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "base58", "bitflags", @@ -10134,7 +10135,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "blake2", "byteorder", @@ -10148,7 +10149,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "proc-macro2", "quote", @@ -10159,7 +10160,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10168,7 +10169,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "proc-macro2", "quote", @@ -10178,7 +10179,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "environmental", "parity-scale-codec", @@ -10189,7 +10190,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "finality-grandpa", "log", @@ -10207,7 +10208,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10221,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "bytes", "futures", @@ -10247,7 +10248,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "lazy_static", "sp-core", @@ -10258,7 +10259,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "futures", @@ -10275,7 +10276,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "thiserror", "zstd", @@ -10284,7 +10285,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "log", "parity-scale-codec", @@ -10299,7 +10300,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10313,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "sp-api", "sp-core", @@ -10323,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "backtrace", "lazy_static", @@ -10333,7 +10334,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "rustc-hash", "serde", @@ -10343,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "either", "hash256-std-hasher", @@ -10365,7 +10366,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10383,7 +10384,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "Inflector", "proc-macro-crate", @@ -10395,7 +10396,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "log", "parity-scale-codec", @@ -10409,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10423,7 +10424,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10434,7 +10435,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "hash-db", "log", @@ -10456,12 +10457,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10474,7 +10475,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "log", "sp-core", @@ -10487,7 +10488,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "futures-timer", @@ -10503,7 +10504,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "sp-std", @@ -10515,7 +10516,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "sp-api", "sp-runtime", @@ -10524,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "log", @@ -10540,7 +10541,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "ahash", "hash-db", @@ -10563,7 +10564,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10580,7 +10581,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10591,7 +10592,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "impl-trait-for-tuples", "log", @@ -10765,7 +10766,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "platforms", ] @@ -10773,7 +10774,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10794,7 +10795,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures-util", "hyper", @@ -10807,7 +10808,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "jsonrpsee", "log", @@ -10828,7 +10829,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "async-trait", "futures", @@ -10854,7 +10855,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10864,7 +10865,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10875,7 +10876,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "ansi_term", "build-helper", @@ -11589,7 +11590,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6dd5631aefb004e9704ce9244c4ef79f4fc9c002" +source = "git+https://github.com/paritytech/substrate?branch=master#4c83ee0a406939f1393d19f87675e1fbc49e328d" dependencies = [ "clap", "jsonrpsee", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 3584d0363ab2..5154beb3a966 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -489,6 +489,9 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type OffchainRepeat = OffchainRepeat; type MinerTxPriority = NposSolutionPriority; type DataProvider = Staking; + #[cfg(feature = "fast-runtime")] + type Fallback = onchain::UnboundedExecution; + #[cfg(not(feature = "fast-runtime"))] type Fallback = pallet_election_provider_multi_phase::NoFallback; type GovernanceFallback = onchain::UnboundedExecution; type Solver = SequentialPhragmen< @@ -582,7 +585,7 @@ impl pallet_staking::EraPayout for EraPayout { parameter_types! { // Six sessions in an era (6 hours). - pub const SessionsPerEra: SessionIndex = 6; + pub const SessionsPerEra: SessionIndex = prod_or_fast!(6, 1); // 28 eras for unbonding (7 days). pub const BondingDuration: sp_staking::EraIndex = 28; // 27 eras in which slashes can be cancelled (slightly less than 7 days). @@ -1868,7 +1871,7 @@ sp_api::impl_runtime_apis! { Balance, > for Runtime { fn pending_rewards(member: AccountId) -> Balance { - NominationPools::pending_rewards(member) + NominationPools::pending_rewards(member).unwrap_or_default() } } diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 35f36813ef02..f8202822536e 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -55,6 +55,7 @@ pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "ma pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-nomination-pools = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-nomination-pools-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -145,6 +146,7 @@ std = [ "pallet-membership/std", "pallet-multisig/std", "pallet-nomination-pools/std", + "pallet-nomination-pools-runtime-api/std", "pallet-offences/std", "pallet-preimage/std", "pallet-proxy/std", diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 5c5e1d65b5e1..9b83579ceb61 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -526,6 +526,9 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type OffchainRepeat = OffchainRepeat; type MinerTxPriority = NposSolutionPriority; type DataProvider = Staking; + #[cfg(feature = "fast-runtime")] + type Fallback = onchain::UnboundedExecution; + #[cfg(not(feature = "fast-runtime"))] type Fallback = pallet_election_provider_multi_phase::NoFallback; type GovernanceFallback = onchain::UnboundedExecution; type Solver = SequentialPhragmen< @@ -573,7 +576,7 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (24 hours). - pub const SessionsPerEra: SessionIndex = 6; + pub const SessionsPerEra: SessionIndex = prod_or_fast!(6, 1); // 28 eras for unbonding (28 days). pub const BondingDuration: sp_staking::EraIndex = 28; pub const SlashDeferDuration: sp_staking::EraIndex = 27; @@ -1673,6 +1676,16 @@ sp_api::impl_runtime_apis! { } } + impl pallet_nomination_pools_runtime_api::NominationPoolsApi< + Block, + AccountId, + Balance, + > for Runtime { + fn pending_rewards(member: AccountId) -> Balance { + NominationPools::pending_rewards(member).unwrap_or_default() + } + } + impl tx_pool_api::runtime_api::TaggedTransactionQueue for Runtime { fn validate_transaction( source: TransactionSource, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 9d330677b55d..8712162b919e 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -437,6 +437,9 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type OffchainRepeat = OffchainRepeat; type MinerTxPriority = NposSolutionPriority; type DataProvider = Staking; + #[cfg(feature = "fast-runtime")] + type Fallback = onchain::UnboundedExecution; + #[cfg(not(feature = "fast-runtime"))] type Fallback = pallet_election_provider_multi_phase::NoFallback; type GovernanceFallback = onchain::UnboundedExecution; type Solver = SequentialPhragmen< @@ -476,7 +479,7 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (6 hours). - pub const SessionsPerEra: SessionIndex = 6; + pub const SessionsPerEra: SessionIndex = prod_or_fast!(6, 1); // 2 eras for unbonding (12 hours). pub const BondingDuration: sp_staking::EraIndex = 2; // 1 era in which slashes can be cancelled (6 hours). @@ -1578,7 +1581,7 @@ sp_api::impl_runtime_apis! { Balance, > for Runtime { fn pending_rewards(member: AccountId) -> Balance { - NominationPools::pending_rewards(member) + NominationPools::pending_rewards(member).unwrap_or_default() } } From 81a969cd98bf3c43ab497885bea1ae5a1bde3637 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Aug 2022 08:03:29 +0000 Subject: [PATCH 23/23] Bump futures-util from 0.3.21 to 0.3.23 (#5922) * Bump futures-util from 0.3.21 to 0.3.23 Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.23. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.23) --- updated-dependencies: - dependency-name: futures-util dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fix deprecated warning Signed-off-by: Oliver Tale-Yazdi Signed-off-by: dependabot[bot] Signed-off-by: Oliver Tale-Yazdi Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Oliver Tale-Yazdi --- Cargo.lock | 28 +++++++++---------- .../src/determine_new_blocks.rs | 2 +- node/zombienet-backchannel/Cargo.toml | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d08ab7b9788b..dee0f8241dd3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2337,9 +2337,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" +checksum = "2bfc52cbddcfd745bf1740338492bb0bd83d76c67b445f91c5fb29fae29ecaa1" dependencies = [ "futures-core", "futures-sink", @@ -2347,9 +2347,9 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" +checksum = "d2acedae88d38235936c3922476b10fced7b2b68136f5e3c03c2d5be348a1115" [[package]] name = "futures-executor" @@ -2365,9 +2365,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" +checksum = "93a66fc6d035a26a3ae255a6d2bca35eda63ae4c5512bef54449113f7a1228e5" [[package]] name = "futures-lite" @@ -2386,9 +2386,9 @@ dependencies = [ [[package]] name = "futures-macro" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" +checksum = "0db9cce532b0eae2ccf2766ab246f114b56b9cf6d445e00c2549fbc100ca045d" dependencies = [ "proc-macro2", "quote", @@ -2408,15 +2408,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" +checksum = "ca0bae1fe9752cf7fd9b0064c674ae63f97b37bc714d745cbde0afb7ec4e6765" [[package]] name = "futures-task" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" +checksum = "842fc63b931f4056a24d59de13fb1272134ce261816e063e634ad0c15cdc5306" [[package]] name = "futures-timer" @@ -2426,9 +2426,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.21" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" +checksum = "f0828a5471e340229c11c77ca80017937ce3c58cb788a17e5f1c2d5c485a9577" dependencies = [ "futures-channel", "futures-core", diff --git a/node/subsystem-util/src/determine_new_blocks.rs b/node/subsystem-util/src/determine_new_blocks.rs index c2b54160cc86..aad1625798c2 100644 --- a/node/subsystem-util/src/determine_new_blocks.rs +++ b/node/subsystem-util/src/determine_new_blocks.rs @@ -124,7 +124,7 @@ where Ok(Ok(h)) => h, } }) - .for_each(|x| requests.push(x)); + .for_each(|x| requests.push_back(x)); let batch_headers: Vec<_> = requests.flat_map(|x: Option
| stream::iter(x)).collect().await; diff --git a/node/zombienet-backchannel/Cargo.toml b/node/zombienet-backchannel/Cargo.toml index a7b01c51a1eb..4104fe6fb99b 100644 --- a/node/zombienet-backchannel/Cargo.toml +++ b/node/zombienet-backchannel/Cargo.toml @@ -12,7 +12,7 @@ publish = false tokio = { version = "1.19.2", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] } url = "2.0.0" tokio-tungstenite = "0.17" -futures-util = "0.3.21" +futures-util = "0.3.23" lazy_static = "1.4.0" parity-scale-codec = { version = "3.1.5", features = ["derive"] } reqwest = "0.11"