ChainSafe / ChainSafe/gossamer

Implement runtime API for PRV pre-check subsystem

Open
#4,776 0 comments 0 reactions 0 assignees View on GitHub
T-implementation
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary

PVF pre-check subsystem submits results and pending PVFs via runtime requests, hence we need to implement them

## Implementation details

Implement next run time api:
- session_index_for_child
- validators
- submit_pvf_check_statement
- pvfs_require_precheck
- runtime_api_request

## Other information and links

- parity impl https://github.com/paritytech/polkadot-sdk/blob/master/polkadot/node/core/pvf-checker/src/runtime_api.rs

## Acceptance criteria

[] all listed runtime methods are implemented
[] New code is 60% covered with unit tests

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.