mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 23:27:56 +00:00
Add check runtimes GH Workflow (#2252)
This PR introduces: - a new script - a new GH Workflow - runtime reference spec files for `rococo` and `westend` It brings a mechanism to check that part(s) of the runtimes' metadata that should not change over time, actually did not change over time. Ideally, the GHW should trigger when a release is edited but GH seem to [have an issue](https://github.com/orgs/community/discussions/47794) that prevents the trigger from working. This is why the check has been implemented as `workflow_dispatch` for a start. The `workflow_dispatch` requires a `release_id` that can be found using: ``` curl -s -H "Authorization: Bearer ${GITHUB_TOKEN}" \ https://api.github.com/repos/paritytech/polkadot-sdk/releases | \ jq '.[] | { name: .name, id: .id }' ``` as documented in the workflow. A sample run can be seen [here](https://github.com/chevdor/polkadot-sdk/actions/runs/6811176342).
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"pallets": {
|
||||
"1": {
|
||||
"constants": {
|
||||
"EpochDuration": {
|
||||
"value": [ 88, 2, 0, 0, 0, 0, 0, 0 ]}
|
||||
}
|
||||
},
|
||||
|
||||
"2": {
|
||||
"constants": {
|
||||
"MinimumPeriod": {
|
||||
"value": [ 184, 11, 0, 0, 0, 0, 0, 0 ]}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user