encointer / encointer-parachain

The common good parachain for Kusama
https://encointer.org
GNU General Public License v3.0
9 stars 13 forks source link

test migrations for runtime v15 (1.5.0) #195

Closed brenzi closed 1 year ago

brenzi commented 1 year ago
cargo build --release --features try-runtime

./target/release/encointer-collator try-runtime --chain encointer-kusama --runtime ./target/release/wbuild/encoint
er-runtime/encointer_runtime.compact.compressed.wasm on-runtime-upgrade --checks=all live --uri wss://encointer.api.onfinality.io/public-ws

yields:

2023-08-07 17:43:35 replacing wss:// in uri with https://: "https://encointer.api.onfinality.io:443/public-ws" (ws is currently unstable for fetching remote storage, for more see https://github.com/paritytech/jsonrpsee/issues/1086)    
2023-08-07 17:43:37 since no at is provided, setting it to latest finalized head, 0xf5f364da06dd90cbd0e03275b79522b97ec797565dc59356a6639aa2f9b1acf3    
2023-08-07 17:43:37 since no prefix is filtered, the data for all pallets will be downloaded    
2023-08-07 17:43:37 scraping key-pairs from remote at block height 0xf5f364da06dd90cbd0e03275b79522b97ec797565dc59356a6639aa2f9b1acf3    
2023-08-07 17:43:49 Querying a total of 6965 keys from prefix , splitting among 4 threads, 1742 keys per thread    
2023-08-07 17:45:34 inserting keys progress = 25% [1742 / 6965]    
2023-08-07 17:46:14 inserting keys progress = 50% [3484 / 6965]    
2023-08-07 17:46:18 inserting keys progress = 75% [5226 / 6965]    
2023-08-07 17:46:20 inserting keys progress = 100% [6965 / 6965]    
2023-08-07 17:46:20 adding data for hashed prefix: , took 162s    
2023-08-07 17:46:20 adding data for hashed key: 3a636f6465    
2023-08-07 17:46:26 adding data for hashed key: 26aa394eea5630e07c48ae0c9558cef7f9cce9c888469bb1a0dceaa129672ef8    
2023-08-07 17:46:27 adding data for hashed key: 26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac    
2023-08-07 17:46:27 initialized state externalities with storage root 0xed2f08569db78249e116f21faaa45184f5b715e3328da9e2552053dd553edc78 and state_version V0    
2023-08-07 17:46:27 original spec: RuntimeString::Owned("encointer-parachain")-12, code hash: ccdfc804e0482f951ef7ad15fda0d38ead81c42e93a8276e60a45c663b8a3b91    
2023-08-07 17:46:27 new spec: RuntimeString::Owned("encointer-parachain")-15, code hash: 2c0290f117459e427d99ee15ad9a1dd789a7d79ec58df5de5e6f0f66b88949ca    
2023-08-07 17:46:28 2 cids will be migrated.    
2023-08-07 17:46:28 2 community metadata entried will be migrated.    
2023-08-07 17:46:28 3 cids by geohash will be migrated.    
2023-08-07 17:46:28 13 locations by geohash will be migrated.    
2023-08-07 17:46:28 16 bootstrappers will be migrated.    
2023-08-07 17:46:28 Running migration with current storage version StorageVersion(2) / onchain StorageVersion(0)    
2023-08-07 17:46:28      Migrating community metadata from v0 to v2 for dpcmj33LUs9...    
2023-08-07 17:46:28      Migrating community metadata from v0 to v2 for u0qj944rhWE...    
2023-08-07 17:46:28 2 community identifiers migrated    
2023-08-07 17:46:28 3 community identifiers by geohash migrated    
2023-08-07 17:46:28 13 locations migrated    
2023-08-07 17:46:28 16 bootstrappers migrated    
2023-08-07 17:46:28 1094 attestations will be migrated.    
2023-08-07 17:46:28 1094 attestations migrated    
2023-08-07 17:46:28 ⚠️ ParachainSystem declares internal migrations (which *might* execute). On-chain `StorageVersion(1)` vs current storage version `StorageVersion(2)`    
2023-08-07 17:46:28 ⚠️ XcmpQueue declares internal migrations (which *might* execute). On-chain `StorageVersion(1)` vs current storage version `StorageVersion(2)`    
2023-08-07 17:46:28 ⚠️ PolkadotXcm declares internal migrations (which *might* execute). On-chain `StorageVersion(0)` vs current storage version `StorageVersion(1)`    
2023-08-07 17:46:28 ⚠️ DmpQueue declares internal migrations (which *might* execute). On-chain `StorageVersion(0)` vs current storage version `StorageVersion(1)`    
2023-08-07 17:46:28 TryRuntime_on_runtime_upgrade executed without errors. Consumed weight = (2000000000 ps, 0 byte), total weight = (500000000000 ps, 5242880 byte) (0.40 %, 0.00 %).    

looking good