pvf-precheck: teach runtime-api to work with versions (#4510)
As part of #3211 we will need to add a couple of runtime APIs. That change is coming in a following PR. The runtime API for pre-checking will be introduced with a version bump for `ParachainHost`. This commit prepares the ground for that change, by introducing a error condition that signals that the given API is not supported.
Showing
- polkadot/node/core/av-store/src/tests.rs 12 additions, 1 deletionpolkadot/node/core/av-store/src/tests.rs
- polkadot/node/core/runtime-api/src/lib.rs 85 additions, 23 deletionspolkadot/node/core/runtime-api/src/lib.rs
- polkadot/node/subsystem-types/src/errors.rs 18 additions, 14 deletionspolkadot/node/subsystem-types/src/errors.rs
Please register or sign in to comment