Skip to content

paritytech/pvf-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pvf-checker

The purpose of this tool is to check before releasing a new polkadot binary all existing PVFs on Polkadot and Kusama to make sure the prechecking is passing in case we introduce some changes, e.g. by upgrading wasmtime.

See https://github.com/paritytech/polkadot/issues/7048 for more details.

How it works

This tool uses subxt to connect to an RPC node specified by the --rpc-url flag and query relevant runtime storage items from the relay chain including PVF for each parachain. Once it collected all PVFs, it will spawn a PVF worker and run the check for each PVF.

Example

cargo build --release
cargo run --release -- pvf-check --rpc-url 'wss://kusama-rpc.polkadot.io:443' --skip 2268 --at-block 0x9bdc8043c83217b5646d2db9ad17a7fc919e8d5b788b11c555f8099be7baedf2

Versioning

This tool will be published on crates.io following the same versioning scheme as polkadot.

Suggested usage (hypothetical):

for version in '0.9.41 0.9.42 0.9.43-rc1'; do
    cargo install pvf-checker --version $version
    pvf-checker pvf-check --rpc-url 'wss://kusama-rpc.polkadot.io:443' --skip 2268
done

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages