Module polkadot_runtime_parachains::runtime_api_impl::v2
source · Expand description
A module exporting runtime API implementation functions for all runtime APIs using v2 primitives.
Runtimes implementing the v2 runtime API are recommended to forward directly to these functions.
Functions
Implementation for the
assumed_validation_data
function of the runtime API.Implementation for the
availability_cores
function of the runtime API.Implementation for the
candidate_events
function of the runtime API.Implementation for the
candidate_pending_availability
function of the runtime API.Implementation for the
check_validation_outputs
function of the runtime API.Implementation for the
dmq_contents
function of the runtime API.Implementation for the
inbound_hrmp_channels_contents
function of the runtime API.Disputes imported via means of on-chain imports.
Implementation for the
persisted_validation_data
function of the runtime API.Returns the list of all PVF code hashes that require pre-checking. See
paras::Pallet::pvfs_require_precheck
.Implementation for the
AuthorityDiscoveryApi::authorities()
function of the runtime API.
It is a heavy call, but currently only used for authority discovery, so it is fine.
Gets next, current and some historical authority ids using session_info
module.Implementation for the
session_index_for_child
function of the runtime API.Get the session info for the given session, if stored.
Submits an PVF pre-checking vote. See
paras::Pallet::submit_pvf_check_statement
.Implementation for the
validation_code
function of the runtime API.Implementation for the
validation_code_by_hash
function of the runtime API.Returns the validation code hash for the given parachain making the given
OccupiedCoreAssumption
.Implementation for the
validator_groups
function of the runtime API.Implementation for the
validators
function of the runtime API.