Polimec / polimec-node

Decentralized community-driven funding protocol for Web3
https://www.polimec.org/
GNU General Public License v3.0
12 stars 4 forks source link

bump politest version #286

Closed JuaniRios closed 4 months ago

JuaniRios commented 4 months ago

try-runtime output:

polimec-node on  05-06-bump_politest_version [!] via 🦀 v1.76.0-nightly took 7m50s 
❯ try-runtime --runtime ./target/release/wbuild/politest-runtime/politest_runtime.compact.compressed.wasm on-runtime-upgrade live --uri wss://beta.rolimec.org:443
[2024-05-07T08:05:38Z INFO  remote-ext] replacing wss:// in uri with https://: "https://beta.rolimec.org:443" (ws is currently unstable for fetching remote storage, for more see https://github.com/paritytech/jsonrpsee/issues/1086)
[2024-05-07T08:05:38Z INFO  remote-ext] since no at is provided, setting it to latest finalized head, 0xdd9c9b3ab95fdaca010e4d3819b5b4493175b2cbbf1c4bfaf7d0022a4b6be5e9
[2024-05-07T08:05:38Z INFO  remote-ext] since no prefix is filtered, the data for all pallets will be downloaded
[2024-05-07T08:05:38Z INFO  remote-ext] scraping key-pairs from remote at block height 0xdd9c9b3ab95fdaca010e4d3819b5b4493175b2cbbf1c4bfaf7d0022a4b6be5e9
✅ Found 4744 keys (0.20s)
[00:00:00] ✅ Downloaded key values 4,895.7276/s [=====================================================================================================================================] 4744/4744 (0s)
✅ Inserted keys into DB (0.02s)
[2024-05-07T08:05:39Z INFO  remote-ext] adding data for hashed prefix: , took 1.31s
[2024-05-07T08:05:39Z INFO  remote-ext] adding data for hashed key: 3a636f6465
[2024-05-07T08:05:40Z INFO  remote-ext] adding data for hashed key: 26aa394eea5630e07c48ae0c9558cef7f9cce9c888469bb1a0dceaa129672ef8
[2024-05-07T08:05:40Z INFO  remote-ext] adding data for hashed key: 26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac
[2024-05-07T08:05:40Z INFO  remote-ext] 👩‍👦 no child roots found to scrape
[2024-05-07T08:05:40Z INFO  remote-ext] initialized state externalities with storage root 0xf40ab8b7aeebc42660beb51cd54d165d82c3f3d7670c89627a687d7e4f462566 and state_version V1
[2024-05-07T08:05:40Z INFO  try-runtime::cli] Original runtime [Name: RuntimeString::Owned("politest")] [Version: 7003] [Code hash: 0x3e36...dbe1]
[2024-05-07T08:05:40Z INFO  try-runtime::cli] New runtime      [Name: RuntimeString::Owned("politest")] [Version: 7004] [Code hash: 0xba46...8303]
[2024-05-07T08:05:40Z INFO  try-runtime::cli] 🚀 Speed up your workflow by using snapshots instead of live state. See `try-runtime create-snapshot --help`.
[2024-05-07T08:05:40Z INFO  try_runtime_core::misc] ------------------------------------------------------------------

[2024-05-07T08:05:40Z INFO  try_runtime_core::misc] 🔬 Running TryRuntime_on_runtime_upgrade with checks: PreAndPost

[2024-05-07T08:05:40Z INFO  try_runtime_core::misc] ------------------------------------------------------------------

[2024-05-07T08:05:41Z INFO  frame_support::migrations] 🚚 Pallet "Funding" VersionedMigration migrating storage version from 1 to 2.
[2024-05-07T08:05:41Z INFO  runtime::executive] ✅ Entire runtime state decodes without error. 188158 bytes total.
[2024-05-07T08:05:41Z INFO  try_runtime_core::misc] ------------------------------------------------------------------------------------------------------

[2024-05-07T08:05:41Z INFO  try_runtime_core::misc] 🔬 TryRuntime_on_runtime_upgrade succeeded! Running it again without checks for weight measurements.

[2024-05-07T08:05:41Z INFO  try_runtime_core::misc] ------------------------------------------------------------------------------------------------------

[2024-05-07T08:05:41Z INFO  frame_support::migrations] 🚚 Pallet "Funding" VersionedMigration migrating storage version from 1 to 2.
[2024-05-07T08:05:41Z INFO  try_runtime_core::misc] ---------------------------------------------------------------------------------

[2024-05-07T08:05:41Z INFO  try_runtime_core::misc] 🔬 Running TryRuntime_on_runtime_upgrade again to check idempotency: PreAndPost

[2024-05-07T08:05:41Z INFO  try_runtime_core::misc] ---------------------------------------------------------------------------------

[2024-05-07T08:05:41Z WARN  frame_support::migrations] 🚚 Pallet "Funding" VersionedMigration migration 1->2 can be removed; on-chain is already at StorageVersion(2).
[2024-05-07T08:05:41Z INFO  runtime::executive] ✅ Entire runtime state decodes without error. 188158 bytes total.
[2024-05-07T08:05:41Z INFO  try-runtime::cli] PoV size (zstd-compressed compact proof): 6.0 KB. For parachains, it's your responsibility to verify that a PoV of this size fits within any relaychain constraints.
[2024-05-07T08:05:41Z INFO  try-runtime::cli] Consumed ref_time: 0.004075s (0.81% of max 0.5s)
[2024-05-07T08:05:41Z INFO  try-runtime::cli] ✅ No weight safety issues detected. Please note this does not guarantee a successful runtime upgrade. Always test your runtime upgrade with recent state, and ensure that the weight usage of your migrations will not drastically differ between testing and actual on-chain execution.

srtool output:

   Finished production [optimized] target(s) in 13m 06s
✨ Your Substrate WASM Runtime is ready! ✨
✨ WASM  : runtimes/politest/target/srtool/production/wbuild/politest-runtime/politest_runtime.compact.wasm
✨ Z_WASM: runtimes/politest/target/srtool/production/wbuild/politest-runtime/politest_runtime.compact.compressed.wasm
Summary generated with srtool v0.15.0 using the docker image paritytech/srtool:1.77.0:
 Package     : politest-runtime v0.6.0
 GIT commit  : d60f59c3e8e71d51c80c89fafb4b7f2ef2c44c69
 GIT tag     : v0.6.0
 GIT branch  : 05-06-bump_politest_version
 Rustc       : rustc 1.77.0 (aedd173a2 2024-03-17)
 Time        : 2024-05-07T08:25:04Z

== Compact
 Version          : politest-7004 (politest-0.tx2.au1)
 Metadata         : V14
 Size             : 5.09 MB (5336113 bytes)
 setCode          : 0x3ad17ad33dbdecdc976f9adae113239084e2a57afb257343bd3022bc40f2255c
 authorizeUpgrade : 0x067660dc5e780d1daff9cef3457ef8c3083d74f29aaeee4ef4ed565471f55412
 IPFS             : Qmco6LQejkLzvdKS372Sx7T8TxzUQF3QHE5LvaVvpTjsg9
 BLAKE2_256       : 0xf9cc437f34ed03803391391aa94716e0ac33bbb9527e3de6efda5bc86cdf0eb2
 Wasm             : runtimes/politest/target/srtool/production/wbuild/politest-runtime/politest_runtime.compact.wasm

== Compressed
 Version          : politest-7004 (politest-0.tx2.au1)
 Metadata         : V14
 Size             : 1.27 MB (1327325 bytes)
 Compression      : 75.13%
 setCode          : 0xd2a4ec7cd14f25d33445f88c8252080641c4233026536a266031d793e9bd23ea
 authorizeUpgrade : 0x932c2486e5276b8fff1b0774a80a0644894f350400f17a186f8e23df41b6955c
 IPFS             : QmVWRfc1AWmfPht869NvbY5CLphzdMk9JY6gHpk1uSvdQW
 BLAKE2_256       : 0x464ebe979980b56c85b50ce7e2100670a9d161efff47faf0d4ab5a37d8e67eb6
 Wasm             : runtimes/politest/target/srtool/production/wbuild/politest-runtime/politest_runtime.compact.compressed.wasm
JuaniRios commented 4 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JuaniRios and the rest of your teammates on Graphite Graphite

graphite-app[bot] commented 4 months ago

Graphite Automations

"Auto-assign PRs to author" took an action on this PR • (05/06/24)

1 assignee was added to this PR based on Juan Ignacio Rios's automation.