-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
f9f0282
to
ec5b97b
Compare
ec5b97b
to
5d62280
Compare
This commit hooks up the API provided by #4457 to the runtime API subsystem. In a following PR this API will be consumed by the PVF pre-checking subsystem. Co-authored-by: Chris Sosnin <[email protected]>
5d62280
to
1e86546
Compare
@@ -1054,6 +1055,12 @@ sp_api::decl_runtime_apis! { | |||
|
|||
/// Scrape dispute relevant from on-chain, backing votes and resolved disputes. | |||
fn on_chain_votes() -> Option<ScrapedOnChainVotes<H>>; | |||
|
|||
/// Submits a PVF pre-checking statement into the transaction pool. | |||
fn submit_pvf_check_statement(stmt: PvfCheckStatement, signature: ValidatorSignature); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other kind of statements we imported via inherents. How come we are using the transaction pool here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was suggested by Rob here. We never really discussed exactly this part, mostly because I agree with this. On one hand, we can afford routing those through the chain: we do not expect a lot of those and they are not too heavy. On the other hand, it greatly simplifies the whole construction. The next PR is for subsystem and you'll see how simple it is.
That being said, in future we can reconsider and implement it via a network protocol if such need arises.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, I fully understand this - maybe a quick call tomorrow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure thing.
bot merge |
Error: Checks failed for 1e86546 |
This commit hooks up the API provided by #4457 to the runtime API subsystem. In a following PR this API will be consumed by the PVF pre-checking subsystem. Co-authored-by: Chris Sosnin <[email protected]> Co-authored-by: Chris Sosnin <[email protected]>
This commit hooks up the API provided by paritytech#4457 to the runtime API subsystem. In a following PR this API will be consumed by the PVF pre-checking subsystem. Co-authored-by: Chris Sosnin <[email protected]> Co-authored-by: Chris Sosnin <[email protected]>
This commit incorporates the changes made to the runtime in the following PRs: - paritytech#4408 - paritytech#4457 - paritytech#4540 - paritytech#4542 - paritytech#4581 Note that this PR does not include the description of the PVF pre-checker subsystem. This should be addressed within paritytech#4611 Co-authored-by: sandreim <[email protected]>
This commit hooks up the API provided by #4457 to the runtime API
subsystem. In a following PR this API will be consumed by the PVF
pre-checking subsystem.
skip check-dependent-cumulus