mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 23:41:02 +00:00
primitives: Move out of staging released APIs (#3925)
Runtime release 1.2 includes bumping of the ParachainHost APIs up to v10, so let's move all the released APIs out of vstaging folder, this PR does not include any logic changes only renaming of the modules and some moving around. Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
This commit is contained in:
committed by
GitHub
parent
e6bd920543
commit
d6f68bb906
@@ -114,13 +114,11 @@
|
||||
//! separated from the stable primitives.
|
||||
|
||||
use crate::{
|
||||
async_backing, slashing,
|
||||
vstaging::{self, ApprovalVotingParams},
|
||||
AsyncBackingParams, BlockNumber, CandidateCommitments, CandidateEvent, CandidateHash,
|
||||
CommittedCandidateReceipt, CoreIndex, CoreState, DisputeState, ExecutorParams,
|
||||
GroupRotationInfo, Hash, OccupiedCoreAssumption, PersistedValidationData, PvfCheckStatement,
|
||||
ScrapedOnChainVotes, SessionIndex, SessionInfo, ValidatorId, ValidatorIndex,
|
||||
ValidatorSignature,
|
||||
async_backing, slashing, ApprovalVotingParams, AsyncBackingParams, BlockNumber,
|
||||
CandidateCommitments, CandidateEvent, CandidateHash, CommittedCandidateReceipt, CoreIndex,
|
||||
CoreState, DisputeState, ExecutorParams, GroupRotationInfo, Hash, NodeFeatures,
|
||||
OccupiedCoreAssumption, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes,
|
||||
SessionIndex, SessionInfo, ValidatorId, ValidatorIndex, ValidatorSignature,
|
||||
};
|
||||
|
||||
use polkadot_core_primitives as pcp;
|
||||
@@ -279,7 +277,7 @@ sp_api::decl_runtime_apis! {
|
||||
/// Get node features.
|
||||
/// This is a staging method! Do not use on production runtimes!
|
||||
#[api_version(9)]
|
||||
fn node_features() -> vstaging::NodeFeatures;
|
||||
fn node_features() -> NodeFeatures;
|
||||
|
||||
/***** Added in v10 *****/
|
||||
/// Approval voting configuration parameters
|
||||
|
||||
Reference in New Issue
Block a user