mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 19:11:04 +00:00
cleanup <weight></weight> from docs comments (#13350)
* cleanup <weight></weight> from docs comments * Changes to address review commnets * Fix CI cargo test --docs --------- Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -463,15 +463,11 @@ pub mod pallet {
|
||||
|
||||
#[pallet::call]
|
||||
impl<T: Config> Pallet<T> {
|
||||
/// # <weight>
|
||||
/// - Complexity: `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is
|
||||
/// length of `heartbeat.network_state.external_address`
|
||||
/// ## Complexity:
|
||||
/// - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of
|
||||
/// `heartbeat.network_state.external_address`
|
||||
/// - `O(K)`: decoding of length `K`
|
||||
/// - `O(E)`: decoding/encoding of length `E`
|
||||
/// - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,
|
||||
/// `ReceivedHeartbeats`
|
||||
/// - DbWrites: `ReceivedHeartbeats`
|
||||
/// # </weight>
|
||||
// NOTE: the weight includes the cost of validate_unsigned as it is part of the cost to
|
||||
// import block with such an extrinsic.
|
||||
#[pallet::call_index(0)]
|
||||
|
||||
Reference in New Issue
Block a user