Skip to content
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

stake-tracker remote externalities tests + improvements #4436

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
2ed0f3e
rustls: Disable logging (#4426)
bkchr May 10, 2024
0044077
Disabling Strategy Implementers Guide (#2955)
Overkillus May 10, 2024
7d63e90
add stake tracker migration test
Ank4n May 9, 2024
a993513
Add docs to request_core_count (#4423)
seadanda May 10, 2024
84d6437
Remove pallet::getter usage from pallet-contracts-mock-network (#4417)
PolkadotDom May 10, 2024
32deb60
Remove `pallet::getter` usage from authority-discovery pallet (#4091)
PolkadotDom May 10, 2024
75f06ce
ext tests and changes
gpestana May 11, 2024
9e0e5fc
xcm-emlator: Use `BlockNumberFor` instead of `parachains_common::Bloc…
bkontur May 12, 2024
5f31981
`remote-externalities`: store block header in snapshot (#4349)
liamaharon May 12, 2024
efc2132
migrations: `take()`should consume read and write operation weight (#…
dastansam May 12, 2024
0fcbd4e
Remove `substrate-frame-cli` (#4403)
ggwpez May 13, 2024
805d54d
Rococo AH: undeploy trie migration (#4414)
ggwpez May 13, 2024
f4b73bd
Add generate and verify logic for `AncestryProof` (#4430)
serban300 May 13, 2024
6d3a6d8
`CheckWeight` SE: Check for extrinsic length + proof size combined (#…
skunert May 13, 2024
477a120
[ci] Add forklift to GHA ARC (#4372)
alvicsam May 13, 2024
d68b3ac
more improvements (wip)
gpestana May 13, 2024
d36da12
prospective-parachains rework (#4035)
alindima May 13, 2024
e973ac9
[ci] Run check-runtime-migration in GHA (#4441)
alvicsam May 13, 2024
fb7362f
Bump `proc-macro-crate` to the latest version (#4409)
tdimitrov May 13, 2024
594c3ed
improve MockValidationDataInherentDataProvider to support async back…
librelois May 13, 2024
115c247
Bridge: use *-uri CLI arguments when starting relayer (#4451)
svyatonik May 14, 2024
cedb1d4
[ci] Cleanup and order GHA workflows (#4449)
alvicsam May 14, 2024
5ac1874
Bridge: add subcommand to relay messages range (#4383)
svyatonik May 14, 2024
712a750
Bump nix from 0.27.1 to 0.28.0 (#4438)
dependabot[bot] May 14, 2024
12ab315
make polkadot-parachain chain-spec extension more relaxed (#4452)
kianenigma May 14, 2024
9c69bb9
Change forks pruning algorithm. (#3962)
shamil-gadelshin May 15, 2024
494f123
Bump fatality crate to 0.1.1 (#4464)
alexggh May 15, 2024
005e3a7
Please consider adding RadiumBlock bootnodes for Westend People and W…
radiumb May 15, 2024
3fcdada
chore: update zombienet version (#4463)
pepoviola May 15, 2024
e6d934c
Update BABE README.md (#4138)
drewstone May 15, 2024
4d47b44
Introduces: Delegated Staking Pallet (#3904)
Ank4n May 15, 2024
f2b367e
Add OnFinality kusama bootnode (#4458)
AlexZhenWang May 15, 2024
404027e
Fix extrinsics count logging in frame-system (#4461)
liuchengxu May 15, 2024
59d7e03
Export all public functions of `sc-service` (#4457)
dastansam May 15, 2024
e31fcff
Make vscode rustanalyzer fast again (#4470)
alexggh May 15, 2024
23c5bbc
[ci] Use default gh runners for small workloads (#4473)
alvicsam May 15, 2024
3a20232
Include RUNTIME_METADATA_HASH in cache key (#4476)
AndWeHaveAPlan May 15, 2024
d237adf
Add IBP bootnodes to `coretime-westend` and `coretime-kusama` and oth…
miloskriz May 15, 2024
289f5bb
XCM Cookbook (#2633)
franciscoaguirre May 16, 2024
717eb2c
[ci] Fix publish-subsystem-benchmarks (#4479)
alvicsam May 16, 2024
76230a1
Deprecate `dmp-queue` pallet (#4475)
ggwpez May 16, 2024
6487ac1
Remove pallet::getter usage from the bounties and child-bounties pall…
PolkadotDom May 16, 2024
4adfa37
[Runtime] Bound XCMP queue (#3952)
ggwpez May 16, 2024
3399bc0
network/discovery: Add to DHT only peers that support genesis-based p…
lexnv May 16, 2024
453bb18
Bridge: drop subscriptions when they are no longer required (#4481)
svyatonik May 16, 2024
8d29397
Demote per-peer validation slots warning to debug (#4480)
dmitry-markin May 16, 2024
04f88f5
Remove pallet::getter usage from the democracy pallet (#4472)
PolkadotDom May 16, 2024
943eb46
Snowbridge - Ethereum Client - Reject finalized updates without a syn…
claravanstaden May 16, 2024
d5fe478
Adds `MaxRank` Config in `pallet-core-fellowship` (#3393)
Doordashcon May 16, 2024
b342eac
remove dandling and dedups; refactors try-state to staking; and other…
gpestana May 16, 2024
9f30963
nit
gpestana May 16, 2024
f86f213
Contracts: remove kitchensink dynamic parameters (#4489)
pgherveou May 17, 2024
2c48b9d
Bridge: fixed relayer version metric value (#4492)
svyatonik May 17, 2024
45439b8
simplifications, improvements
gpestana May 17, 2024
ca0fb0d
pallet_balances: Add `try_state` for checking `Holds` and `Freezes` (…
bkchr May 17, 2024
65c5248
Snowbridge - Ethereum Client - Public storage items (#4501)
claravanstaden May 17, 2024
2e36f57
Allow pool to be destroyed with an extra (erroneous) consumer referen…
Ank4n May 17, 2024
a90d324
Contracts: Remove topics for internal events (#4510)
pgherveou May 17, 2024
247358a
chore: fix typos (#4515)
jimwfs May 19, 2024
e7b6d7d
`remote-externalities`: `rpc_child_get_keys` to use paged scraping (#…
liamaharon May 19, 2024
313fe0f
Remove usage of the pallet::getter macro from pallet-fast-unstake (#4…
PolkadotDom May 20, 2024
278486f
Remove the prospective-parachains subsystem from collators (#4471)
alindima May 21, 2024
b00e168
[xcm]: Use latest `Versioned*` instead of `V4` + bridges doc nits (#4…
bkontur May 21, 2024
d54feeb
Fixed RPC subscriptions leak when subscription stream is finished (#4…
svyatonik May 21, 2024
e0e1f2d
Bridge: added force_set_pallet_state call to pallet-bridge-grandpa (#…
svyatonik May 21, 2024
d05786f
Replace `Multiaddr` & related types with substrate-specific types (#4…
dmitry-markin May 21, 2024
ec46106
chore: bump zombienet version (#4535)
pepoviola May 21, 2024
e86bb91
Update subsystem benchmark baselines (#4532)
AndreiEres May 22, 2024
c7cb1f2
Add Extra Check in Primary Username Setter (#4534)
joepetrowski May 22, 2024
04161b1
Remove `parameterized-consensus-hook` feature (#4380)
s0me0ne-unkn0wn May 22, 2024
b06306c
[Backport] Version bumps and prdocs reordering from 1.12.0 (#4538)
EgorPopelyaev May 22, 2024
ad54bc3
fixed link (#4539)
fasteater May 22, 2024
eda9895
rustls: Disable logging again (#4541)
bkchr May 22, 2024
8dbe4ee
Implement `CheckMetadataHash` extension (#4274)
bkchr May 22, 2024
ae864e6
Update README.md (#4502)
kianenigma May 22, 2024
8949856
Refactor Nomination Pool to support multiple staking strategies (#3905)
Ank4n May 22, 2024
fd16191
Fix README.md Logo URL (#4546)
kianenigma May 23, 2024
a823d18
Fix bridges grandpa benchmarks (#2577) (#4548)
bkontur May 23, 2024
493ba5e
Contracts: Rework host fn benchmarks (#4233)
pgherveou May 23, 2024
03bbc17
Define `OpaqueValue` (#4550)
serban300 May 23, 2024
48d4f65
Mention new XCM docs in sdk docs (#4558)
franciscoaguirre May 23, 2024
700d591
Use polkadot-ckb-merkle-mountain-range dependency (#4562)
serban300 May 24, 2024
ef144b1
Attempt to avoid specifying `BlockHashCount` for different `mocking::…
bkontur May 24, 2024
49bd6a6
Remove litep2p git dependency (#4560)
ggwpez May 24, 2024
1c7a1a5
Polkadot-SDK Umbrella Crate (#3935)
ggwpez May 24, 2024
f469fbf
availability-recovery: bump chunk fetch threshold to 1MB for Polkadot…
sandreim May 24, 2024
e192b76
Avoid using `xcm::v4` and use latest instead for AssetHub benchmarks …
bkontur May 24, 2024
9201f9a
Deprecate XCMv2 (#4131)
franciscoaguirre May 27, 2024
f6cca7e
Bridge: check submit_finality_proof limits before submission (#4549)
svyatonik May 27, 2024
0a752af
Bridge: add subcommand to relay messages delivery confirmation (#4453)
svyatonik May 27, 2024
89b67bc
chore: fix typos (#4590)
omahs May 27, 2024
e0edb06
Add release version to commits and branch names of template synchroni…
rzadp May 27, 2024
2352982
Make markdown lint CI job pass (#4593)
skunert May 27, 2024
ce3e9b7
network: Update litep2p to v0.5.0 (#4570)
lexnv May 27, 2024
0139b15
refactoring and improvements (still failing)
gpestana May 27, 2024
16887b6
chain-spec-builder: help updated (#4597)
michalkucharczyk May 27, 2024
70dd67a
check-weight: Disable total pov size check for mandatory extrinsics (…
skunert May 27, 2024
a709768
[subsystem-benchmarks] Add statement-distribution benchmarks (#3863)
AndreiEres May 27, 2024
2d3a693
`sc-chain-spec`: deprecated code removed (#4410)
michalkucharczyk May 27, 2024
09f07d5
Remove workspace lints from templates (#4598)
rzadp May 28, 2024
523e625
Add availability-recovery from systematic chunks (#1644)
alindima May 28, 2024
3bf283f
[subsytem-bench] Remove redundant banchmark_name param (#4540)
AndreiEres May 28, 2024
bcda9a7
nits
gpestana May 28, 2024
6ed0200
[CI] Deny adding git deps (#4572)
ggwpez May 28, 2024
ea46ad5
Conditional `required` checks (#4544)
AndWeHaveAPlan May 28, 2024
650b124
Improve On_demand_assigner events (#4339)
bolajahmad May 28, 2024
ad22fa6
Add metric to measure the time it takes to gather enough assignments …
alexggh May 28, 2024
2b1c606
parachain-inherent: Make `para_id` more prominent (#4555)
bkchr May 28, 2024
d6cf147
Filter workspace dependencies in the templates (#4599)
rzadp May 28, 2024
5f68c93
Moves runtime macro out of experimental flag (#4249)
codekitz May 29, 2024
89604da
Add omni bencher & chain-spec-builder bins to release (#4557)
EgorPopelyaev May 29, 2024
dfcfa4a
Publish `chain-spec-builder` (#4518)
kianenigma May 29, 2024
aa32faa
Update README.md (#4623)
joshuacheong May 29, 2024
6613c41
removes force chilling in migrations; replaces with for re-nominate
gpestana May 29, 2024
d5053ac
Change `XcmDryRunApi::dry_run_extrinsic` to take a call instead (#4621)
franciscoaguirre May 29, 2024
f4dc8d2
Broker new price adapter (#4521)
eskimor May 29, 2024
4ab078d
pallet-staking: Put tests behind `cfg(debug_assertions)` (#4620)
bkchr May 29, 2024
bcdab07
merge migration phases into 2
gpestana May 30, 2024
153e06f
small ref
gpestana May 30, 2024
bcab07a
Beefy client generic on aduthority Id (#1816)
drskalman May 30, 2024
46a80f1
nits, benchs passing
gpestana May 30, 2024
3bfed97
migration docs; clippy fixes
gpestana May 30, 2024
d539778
Fix broken windows build (#4636)
conr2d May 30, 2024
7fcc09b
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
May 30, 2024
78c24ec
Adds ability to specify chain type in chain-spec-builder (#4542)
codekitz May 31, 2024
71f4f5a
Update `runtime_type` ref doc with the new "Associated Type Bounds" (…
kianenigma May 31, 2024
0ae7219
collator-protocol: remove `elastic-scaling-experimental` feature (#4595)
sandreim May 31, 2024
8d8c0e1
Use Unlicense for templates (#4628)
rzadp May 31, 2024
fc6c318
Implement `XcmPaymentApi` and `DryRunApi` on all system parachains (#…
franciscoaguirre May 31, 2024
b286d3e
benches with lazy voter sorting
gpestana Jun 1, 2024
b50783f
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
Jun 1, 2024
f81751e
Better error for missing index in CRV2 (#4643)
codekitz Jun 2, 2024
5779ec5
update amforc westend and its parachain bootnodes (#4641)
tugytur Jun 2, 2024
795bc77
[Pools] Refactors and runtime apis for DelegateStake (#4537)
Ank4n Jun 3, 2024
27a5732
make all storage items in parachain-system public (#4645)
girazoki Jun 3, 2024
63f0cbf
Update Amforc bootnodes for Kusama and Polkadot (#4668)
tugytur Jun 3, 2024
f66e693
Add chain-spec-builder docker image (#4655)
EgorPopelyaev Jun 3, 2024
05c0d0e
nits for voter update mode
gpestana Jun 3, 2024
4962491
Merge branch 'master' into gpestana/stake-tracker_integration
gpestana Jun 3, 2024
5c6a35f
Merge branch 'gpestana/stake-tracker_integration' into gpestana/stake…
gpestana Jun 3, 2024
17705b8
nit fix after merge master
gpestana Jun 3, 2024
80f4c23
removes ext tests (revert once merged into main PR brach)
gpestana Jun 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .config/lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ exclude = [
"https://github.com/paritytech/polkadot-sdk/substrate/frame/timestamp",
"https://github.com/paritytech/substrate/frame/fast-unstake",
"https://github.com/zkcrypto/bls12_381/blob/e224ad4ea1babfc582ccd751c2bf128611d10936/src/test-data/mod.rs",
"https://polkadot-try-runtime-node.parity-chains.parity.io/",
"https://polkadot.network/the-path-of-a-parachain-block/",
"https://research.web3.foundation/en/latest/polkadot/BABE/Babe/#6-practical-results",
"https://research.web3.foundation/en/latest/polkadot/NPoS/3.%20Balancing.html",
"https://research.web3.foundation/en/latest/polkadot/Token%20Economics.html#inflation-model",
"https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html",
"https://research.web3.foundation/en/latest/polkadot/block-production/Babe.html#-6.-practical-results",
"https://research.web3.foundation/en/latest/polkadot/networking/3-avail-valid.html#topology",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html",
"https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html#inflation-model",
Expand All @@ -53,5 +51,6 @@ exclude = [
"https://www.reddit.com/r/rust/comments/3spfh1/does_collect_allocate_more_than_once_while/",
# 403 rate limited:
"https://etherscan.io/block/11090290",
"https://subscan.io/",
"https://substrate.stackexchange.com/.*",
]
6 changes: 5 additions & 1 deletion .config/zepter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@ workflows:
'--show-path',
'--quiet',
]
# Same as `check`, but with the `--fix` flag.
# The umbrella crate uses more features, so we to check those too:
check_umbrella:
- [ $check.0, '--features=serde,experimental,with-tracing,tuples-96,with-tracing', '-p=polkadot-sdk' ]
# Same as `check_*`, but with the `--fix` flag.
default:
- [ $check.0, '--fix' ]
- [ $check_umbrella.0, '--fix' ]

# Will be displayed when any workflow fails:
help:
Expand Down
33 changes: 33 additions & 0 deletions .forklift/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[compression]
type = "zstd"

[compression.zstd]
compressionLevel = 3

[general]
jobNameVariable = "CI_JOB_NAME"
jobsBlackList = []
logLevel = "warn"
threadsCount = 6

[cache]
extraEnv = ["RUNTIME_METADATA_HASH"]

[metrics]
enabled = true
pushEndpoint = "placeholder"

[metrics.extraLabels]
environment = "production"
job_name = "$CI_JOB_NAME"
project_name = "$CI_PROJECT_PATH"

[storage]
type = "s3"

[storage.s3]
accessKeyId = "placeholder"
bucketName = "placeholder"
concurrency = 10
endpointUrl = "placeholder"
secretAccessKey = "placeholder"
40 changes: 40 additions & 0 deletions .github/scripts/deny-git-deps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"""
Script to deny Git dependencies in the Cargo workspace. Can be passed one optional argument for the
root folder. If not provided, it will use the cwd.

## Usage
python3 .github/scripts/deny-git-deps.py polkadot-sdk
"""

import os
import sys

from cargo_workspace import Workspace, DependencyLocation

KNOWN_BAD_GIT_DEPS = {
'simple-mermaid': ['xcm-docs'],
# Fix in <https://github.com/paritytech/polkadot-sdk/issues/2922>
'bandersnatch_vrfs': ['sp-core'],
}

root = sys.argv[1] if len(sys.argv) > 1 else os.getcwd()
workspace = Workspace.from_path(root)

def check_dep(dep, used_by):
if dep.location != DependencyLocation.GIT:
return

if used_by in KNOWN_BAD_GIT_DEPS.get(dep.name, []):
print(f'🤨 Ignoring git dependency {dep.name} in {used_by}')
else:
print(f'🚫 Found git dependency {dep.name} in {used_by}')
sys.exit(1)

# Check the workspace dependencies that can be inherited:
for dep in workspace.dependencies:
check_dep(dep, "workspace")

# And the dependencies of each crate:
for crate in workspace.crates:
for dep in crate.dependencies:
check_dep(dep, crate.name)
57 changes: 57 additions & 0 deletions .github/workflows/check-changed-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Reusable workflow to perform checks and generate conditions for other workflows.
# Currently it checks if any Rust (build-related) file is changed
# and if the current (caller) workflow file is changed.
# Example:
#
# jobs:
# changes:
# permissions:
# pull-requests: read
# uses: ./.github/workflows/check-changed-files.yml
# some-job:
# needs: changes
# if: ${{ needs.changes.outputs.rust }}
# .......

name: Check changes files

on:
workflow_call:
# Map the workflow outputs to job outputs
outputs:
rust:
value: ${{ jobs.changes.outputs.rust }}
description: 'true if any of the build-related OR current (caller) workflow files have changed'
current-workflow:
value: ${{ jobs.changes.outputs.current-workflow }}
description: 'true if current (caller) workflow file has changed'

jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
# true if current workflow (caller) file is changed
rust: ${{ steps.filter.outputs.rust == 'true' || steps.filter.outputs.current-workflow == 'true' }}
current-workflow: ${{ steps.filter.outputs.current-workflow }}
steps:
- id: current-file
run: echo "current-workflow-file=$(echo ${{ github.workflow_ref }} | sed -nE "s/.*(\.github\/workflows\/[a-zA-Z0-9_-]*\.y[a]?ml)@refs.*/\1/p")" >> $GITHUB_OUTPUT
- run: echo "${{ steps.current-file.outputs.current-workflow-file }}"
# For pull requests it's not necessary to checkout the code
- id: filter
uses: dorny/paths-filter@v3
with:
predicate-quantifier: 'every'
# current-workflow - check if the current (caller) workflow file is changed
# rust - check if any Rust (build-related) file is changed
filters: |
current-workflow:
- '${{ steps.current-file.outputs.current-workflow-file }}'
rust:
- '**/*'
- '!.github/**/*'
- '!prdoc/**/*'
- '!docs/**/*'
#
2 changes: 1 addition & 1 deletion .github/workflows/check-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Check
uses: hack-ink/cargo-featalign-action@bea88a864d6ca7d0c53c26f1391ce1d431dc7f34 # v0.1.1
with:
crate: substrate/bin/node/runtime
crate: templates/parachain/runtime/
features: std,runtime-benchmarks,try-runtime
ignore: sc-executor
default-std: true
1 change: 1 addition & 0 deletions .github/workflows/check-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:
jobs:
check-licenses:
runs-on: ubuntu-latest
timeout-minutes: 10
env:
LICENSES: "'Apache-2.0' 'GPL-3.0-only' 'GPL-3.0-or-later WITH Classpath-exception-2.0'"
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/check-markdown.yml

This file was deleted.

122 changes: 122 additions & 0 deletions .github/workflows/check-runtime-migration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
name: check-runtime-migration

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
FORKLIFT_storage_s3_bucketName: ${{ secrets.FORKLIFT_storage_s3_bucketName }}
FORKLIFT_storage_s3_accessKeyId: ${{ secrets.FORKLIFT_storage_s3_accessKeyId }}
FORKLIFT_storage_s3_secretAccessKey: ${{ secrets.FORKLIFT_storage_s3_secretAccessKey }}
FORKLIFT_storage_s3_endpointUrl: ${{ secrets.FORKLIFT_storage_s3_endpointUrl }}
FORKLIFT_metrics_pushEndpoint: ${{ secrets.FORKLIFT_metrics_pushEndpoint }}

jobs:
set-image:
# GitHub Actions allows using 'env' in a container context.
# However, env variables don't work for forks: https://github.com/orgs/community/discussions/44322
# This workaround sets the container image for each job using 'set-image' job output.
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
steps:
- name: Checkout
uses: actions/checkout@v4
- id: set_image
run: cat .github/env >> $GITHUB_OUTPUT
# rococo and westend are disabled for now (no access to parity-chains.parity.io)
check-runtime-migration:
runs-on: arc-runners-polkadot-sdk-beefy
timeout-minutes: 30
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.IMAGE }}
strategy:
fail-fast: false
matrix:
network: [
# westend,
# rococo,
asset-hub-westend,
asset-hub-rococo,
bridge-hub-westend,
bridge-hub-rococo,
contracts-rococo,
collectives-westend,
coretime-rococo,
]
include:
# - network: westend
# package: westend-runtime
# wasm: westend_runtime.compact.compressed.wasm
# uri: "wss://westend-try-runtime-node.parity-chains.parity.io:443"
# subcommand_extra_args: "--no-weight-warnings"
# command_extra_args: ""
# - network: rococo
# package: rococo-runtime
# wasm: rococo_runtime.compact.compressed.wasm
# uri: "wss://rococo-try-runtime-node.parity-chains.parity.io:443"
# subcommand_extra_args: "--no-weight-warnings"
# command_extra_args: ""
- network: asset-hub-westend
package: asset-hub-westend-runtime
wasm: asset_hub_westend_runtime.compact.compressed.wasm
uri: "wss://westend-asset-hub-rpc.polkadot.io:443"
subcommand_extra_args: ""
command_extra_args: ""
- network: "asset-hub-rococo"
package: "asset-hub-rococo-runtime"
wasm: "asset_hub_rococo_runtime.compact.compressed.wasm"
uri: "wss://rococo-asset-hub-rpc.polkadot.io:443"
subcommand_extra_args: ""
command_extra_args: ""
- network: "bridge-hub-westend"
package: "bridge-hub-westend-runtime"
wasm: "bridge_hub_westend_runtime.compact.compressed.wasm"
uri: "wss://westend-bridge-hub-rpc.polkadot.io:443"
- network: "bridge-hub-rococo"
package: "bridge-hub-rococo-runtime"
wasm: "bridge_hub_rococo_runtime.compact.compressed.wasm"
uri: "wss://rococo-bridge-hub-rpc.polkadot.io:443"
- network: "contracts-rococo"
package: "contracts-rococo-runtime"
wasm: "contracts_rococo_runtime.compact.compressed.wasm"
uri: "wss://rococo-contracts-rpc.polkadot.io:443"
- network: "collectives-westend"
package: "collectives-westend-runtime"
wasm: "collectives_westend_runtime.compact.compressed.wasm"
uri: "wss://westend-collectives-rpc.polkadot.io:443"
command_extra_args: "--disable-spec-name-check"
- network: "coretime-rococo"
package: "coretime-rococo-runtime"
wasm: "coretime_rococo_runtime.compact.compressed.wasm"
uri: "wss://rococo-coretime-rpc.polkadot.io:443"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: script
run: |
echo "Running ${{ matrix.network }} runtime migration check"
export RUST_LOG=remote-ext=debug,runtime=debug

echo "---------- Downloading try-runtime CLI ----------"
curl -sL https://github.com/paritytech/try-runtime-cli/releases/download/v0.5.4/try-runtime-x86_64-unknown-linux-musl -o try-runtime
chmod +x ./try-runtime
echo "Using try-runtime-cli version:"
./try-runtime --version

echo "---------- Building ${{ matrix.package }} runtime ----------"
time forklift cargo build --release --locked -p ${{ matrix.package }} --features try-runtime

echo "---------- Executing on-runtime-upgrade for ${{ matrix.network }} ----------"
time ./try-runtime ${{ matrix.command_extra_args }} \
--runtime ./target/release/wbuild/${{ matrix.package }}/${{ matrix.wasm }} \
on-runtime-upgrade --disable-spec-version-check --checks=all ${{ matrix.subcommand_extra_args }} live --uri ${{ matrix.uri }}
sleep 5
1 change: 1 addition & 0 deletions .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
run: |
export CARGO_TARGET_DIR=target
export RUSTFLAGS='-A warnings -A missing_docs'
export SKIP_WASM_BUILD=1
if ! parity-publish --color always prdoc --since old --validate prdoc/pr_$PR.prdoc --toolchain nightly-2024-03-01 -v; then
cat <<EOF
👋 Hello developer! The SemVer information that you declared in the prdoc file did not match what the CI detected.
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/check-workspace.yml

This file was deleted.

Loading
Loading