-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements PoV
export and local validation
#4640
Conversation
This pull requests adds a new CLI flag to `polkadot-parachains` `--export-pov-to-path`. This CLI flag will instruct the node to export any `PoV` that it build locally to export to the given folder. Then these `PoV` files can be validated using the introduced `cumulus-pov-validator`. The combination of export and validation can be used for debugging parachain validation issues that may happen on the relay chain.
async move { | ||
let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); | ||
|
||
let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; |
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.
this change seems unrelated, what are the implications? added support for dynamic slot durations?
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.
Yes
let duration = start.elapsed(); | ||
|
||
match res { | ||
Ok(_) => tracing::info!("Validation was successful"), |
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.
I would also add an option to decode the commitments as ValidationResult
to a file for debugging purposes.
The CI pipeline was cancelled due to failure one of the required jobs. |
This pull requests adds a new CLI flag to `polkadot-parachains` `--export-pov-to-path`. This CLI flag will instruct the node to export any `PoV` that it build locally to export to the given folder. Then these `PoV` files can be validated using the introduced `cumulus-pov-validator`. The combination of export and validation can be used for debugging parachain validation issues that may happen on the relay chain.
This pull requests adds a new CLI flag to
polkadot-parachains
--export-pov-to-path
. This CLI flag will instruct the node to export anyPoV
that it build locally to export to the given folder. Then thesePoV
files can be validated using the introducedcumulus-pov-validator
. The combination of export and validation can be used for debugging parachain validation issues that may happen on the relay chain.