Skip to content

Commit 00c3a2f

Browse files
Update doc comment for claim_staking_rewards (#2273)
# Goal The goal of this PR is to fix the docs formatting Closes N/A # Checklist - [ ] Updated Pallet Readme? - [ ] Updated js/api-augment for Custom RPC APIs? - [ ] Design doc(s) updated? - [ ] Unit Tests added? - [ ] e2e Tests added? - [ ] Benchmarks added? - [x] Spec version incremented?
1 parent cff253b commit 00c3a2f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pallets/capacity/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,9 @@ pub mod pallet {
607607
/// Claim all outstanding Provider Boost rewards, up to ProviderBoostHistoryLimit Reward Eras
608608
/// in the past. Accounts should check for unclaimed rewards before calling this extrinsic
609609
/// to avoid needless transaction fees.
610-
/// Errors:
611-
/// - NotAProviderBoostAccount: if Origin has nothing staked for ProviderBoost
612-
/// - NoRewardsEligibleToClaim: if Origin has no unclaimed rewards to pay out.
610+
/// ### Errors:
611+
/// - NotAProviderBoostAccount: if Origin has nothing staked for ProviderBoost
612+
/// - NoRewardsEligibleToClaim: if Origin has no unclaimed rewards to pay out.
613613
#[pallet::call_index(6)]
614614
#[pallet::weight(T::WeightInfo::claim_staking_rewards())]
615615
pub fn claim_staking_rewards(origin: OriginFor<T>) -> DispatchResult {

runtime/frequency/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
401401
spec_name: create_runtime_str!("frequency"),
402402
impl_name: create_runtime_str!("frequency"),
403403
authoring_version: 1,
404-
spec_version: 142,
404+
spec_version: 143,
405405
impl_version: 0,
406406
apis: RUNTIME_API_VERSIONS,
407407
transaction_version: 1,
@@ -415,7 +415,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
415415
spec_name: create_runtime_str!("frequency-testnet"),
416416
impl_name: create_runtime_str!("frequency"),
417417
authoring_version: 1,
418-
spec_version: 142,
418+
spec_version: 143,
419419
impl_version: 0,
420420
apis: RUNTIME_API_VERSIONS,
421421
transaction_version: 1,

0 commit comments

Comments
 (0)