mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 02:21:14 +00:00
runtime-api: add validation_code_hash API (#4629)
This is the first step to close https://github.com/paritytech/polkadot/issues/4524
This commit is contained in:
@@ -673,6 +673,13 @@ pub enum RuntimeApiRequest {
|
||||
SubmitPvfCheckStatement(PvfCheckStatement, ValidatorSignature, RuntimeApiSender<()>),
|
||||
/// Returns code hashes of PVFs that require pre-checking by validators in the active set.
|
||||
PvfsRequirePrecheck(RuntimeApiSender<Vec<ValidationCodeHash>>),
|
||||
/// Get the validation code used by the specified para, taking the given `OccupiedCoreAssumption`, which
|
||||
/// will inform on how the validation data should be computed if the para currently occupies a core.
|
||||
ValidationCodeHash(
|
||||
ParaId,
|
||||
OccupiedCoreAssumption,
|
||||
RuntimeApiSender<Option<ValidationCodeHash>>,
|
||||
),
|
||||
}
|
||||
|
||||
/// A message to the Runtime API subsystem.
|
||||
|
||||
Reference in New Issue
Block a user