pallet_collator_assignment_runtime_api::runtime_decl_for_collator_assignment_api::CollatorAssignmentApi,
/// After this function returns, the current block number will be `n`, and the block will be "open",
/// meaning that on_initialize has been executed, but on_finalize has not. To execute on_finalize as
/// well, for example to test a runtime api, manually call `end_block` after this, run the test, and
#[derive(Clone, Encode, Decode, Default, PartialEq, Debug, scale_info::TypeInfo, MaxEncodedLen)]
// Initial state is expecting a call to start() with block number 1, so old state should be
let (relay_parent_storage_root, relay_chain_state) = relay_sproof.into_state_root_and_proof();
// list of registered para ids: para_id, genesis_data, boot_nodes, block_credits, session_credits
pub fn origin_of(account_id: AccountId) -> <Runtime as frame_system::Config>::RuntimeOrigin {
pub fn block_credits_to_required_balance(number_of_blocks: u32, para_id: ParaId) -> Balance {