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

Release Checklist: Karura 2.0.2 #1641

Closed
15 of 38 tasks
xlc opened this issue Nov 25, 2021 · 1 comment
Closed
15 of 38 tasks

Release Checklist: Karura 2.0.2 #1641

xlc opened this issue Nov 25, 2021 · 1 comment
Assignees

Comments

@xlc
Copy link
Member

xlc commented Nov 25, 2021

New Release Details:

✨ Your Substrate WASM Runtime is ready! ✨
Summary generated with srtool v0.9.18 using the docker image paritytech/srtool:1.56.1:
 Package     : karura-runtime v2.0.2
 GIT commit  : 60b7da527176c610b5fbf14c048ceb8a2cc7aedf
 GIT tag     : mandala-runtime-2002
 GIT branch  : release-karura-2.0.2
 Rustc       : rustc 1.56.1 (59eed8a2a 2021-11-01)
 Time        : 2021-11-25T04:52:27Z

== Compact
 Version     : karura-2001 (karura-0.tx1.au1)
 Metadata    : V14
 Size        : 4.58 MB (4807272 bytes)
 Proposal    : 0xd04b9b3bbc08c070337c28ea13cb13a435215abb66ad14a9da5bc42db580411a
 IPFS        : QmbeV8iXbJknpWEvBjzeC8926DxQp9wt3SpVa19vDCfdNt
 BLAKE2_256  : 0x8df83c22646d6bc4e28326012f1b2b82ee4d497df6caafaf70788ab8ff146f06
 Wasm        : runtime/karura/target/srtool/release/wbuild/karura-runtime/karura_runtime.compact.wasm

== Compressed
 Version     : karura-2001 (karura-0.tx1.au1)
 Metadata    : V14
 Size        : 1.07 MB (1121127 bytes)
 Compression : 76.68%
 Proposal    : 0x4475cacb6e0612999c7287c715bad56e786ccb7bd905fb5a52884dec7b8d1f9a
 IPFS        : QmWVGq7w1t4ZeRbaowDFJ1bZRMyt9BsvYwsKcCU3agdJMQ
 BLAKE2_256  : 0x5ccf22068d3c24348197c80444ea105f9cc3f4e86859ae804fd5f76112911997
 Wasm        : runtime/karura/target/srtool/release/wbuild/karura-runtime/karura_runtime.compact.compressed.wasm
  • subwasm info
🏋️  Runtime size:		1.069 MB (1,121,127 bytes)
🗜  Compressed:			Yes, 76.68%
✨ Reserved meta:		OK - [6D, 65, 74, 61]
🎁 Metadata version:		V14
🔥 Core version:		karura-2001 (karura-0.tx1.au1)
🗳️  system.setCode hash:		0x4475cacb6e0612999c7287c715bad56e786ccb7bd905fb5a52884dec7b8d1f9a
🗳️  authorizeUpgrade hash:	0xecab701f330c543ed191f3d9cdaf51a5a50e81b747888a171831c19fd9c7484d
#️⃣  Blake2-256 hash:		0x5ccf22068d3c24348197c80444ea105f9cc3f4e86859ae804fd5f76112911997
📦 IPFS:			https://www.ipfs.io/ipfs/QmWVGq7w1t4ZeRbaowDFJ1bZRMyt9BsvYwsKcCU3agdJMQ

Client Release

  • Verify client Cargo.toml version has been incremented since the last release.
    • Current version: 2.0.2
    • Last version: 2.0.1
  • Check the new client have run on the network without issue for at lease 12 hours.
  • Check new docker image has been published.
  • Check new client is able to sync from scratch
    • docker run --rm acala/karura-node:latest --chain=karura -- --chain=dev

Runtime Release

  • Verify spec_version has been incremented since the last release.
    • Current version: 2001
    • Last version: 1019
  • Verify completed migrations are removed from any public networks.
  • Review subwasm diff
    • subwasm diff wss://karura-rpc-2.aca-api.network/ws karura_runtime.compact.compressed.wasm
  • Verify extrinsic ordering has stayed the same. Bump transaction_version if not.
    • ORML
    • Substrate
    • Cumulus
    • Polkadot
    • Acala
  • Verify new extrinsics have been correctly whitelisted/blacklisted for proxy filters.
  • Verify benchmarks & weights have been updated for any modified runtime logics.
  • Verify we included all the necessary migrations.
    • ORML
    • Substrate
    • Cumulus
    • Polkadot
    • Acala
  • Verify new migrations complete successfully and the runtime state is correctly updated for any public networks.
    • Verify the execution time to perform runtime upgrade with Karura/Acala onchain data.
  • Ensure WASM is reproducible
    • make srtool-build-wasm-karura

All Releases

  • Check new Github release is created with release logs.

Post Release

  • Notify Discord announcement channel.
  • Ensure our own nodes are updated

Compatibility Checklist

SDK & Tools

  • acala.js
  • txwrapper
  • sidecar
  • acala-subql
  • oracle dispatcher

dApps & Wallets

  • polkadot apps
  • Acala dApp
  • Polkawallet

Other

  • Exchanges
  • Gauntlet
  • Faucet (for Mandala)
@xlc
Copy link
Member Author

xlc commented Nov 28, 2021

Metadata comparison:
Date: Fri Nov 26 10:28:12 UTC 2021
Reference: wss://karura-rpc-0.aca-api.network
Target version: acala 2.0.2-8765528-x86_64-linux-gnu
-------------------------------------------
              [Spec] name: karura
                     spec_version: 1019 -> 2001
                     transaction_version: 1
          [Metadata] version: 14
           [Modules] num: 62
                     [+] modules: AssetRegistry
                     [-] modules: EvmManager
                          [System] idx: 0 (calls: 10, storage: 17)
                       [Timestamp] idx: 1 (calls: 1, storage: 3)
                       [Scheduler] idx: 2 (calls: 6, storage: 4)
                        [Multisig] idx: 4 (calls: 4, storage: 3)
                           [Proxy] idx: 5 (calls: 10, storage: 3)
                [TransactionPause] idx: 6 (calls: 2, storage: 2)
                   [IdleScheduler] idx: 7 (calls: 1, storage: 3)
                        [Balances] idx: 10 (calls: 6, storage: 6)
                         [Vesting] idx: 13 (calls: 4, storage: 2)
              [TransactionPayment] idx: 14 (calls: 1, storage: 3)
                        [Treasury] idx: 20 (calls: 3, storage: 4)
                        [Bounties] idx: 21 (calls: 9, storage: 5)
                            [Tips] idx: 22 (calls: 6, storage: 3)
                 [ParachainSystem] idx: 30 (calls: 5 -> 4, storage: 20 -> 19)
                                   [-] calls: setUpgradeBlock
                             [setValidationData] idx: 1 -> 0 (args: 1)
                                                 (CumulusPrimitivesParachainInherentParachainInherentData)
                         [sudoSendUpwardMessage] idx: 2 -> 1 (args: 1)
                                                 (Bytes)
                              [authorizeUpgrade] idx: 3 -> 2 (args: 1)
                                                 (H256)
                        [enactAuthorizedUpgrade] idx: 4 -> 3 (args: 1)
                                                 (Bytes)
                                   [+] storage: upgradeRestrictionSignal
                                   [-] storage: pendingRelayChainBlockNumber, lastUpgrade
               [CollatorSelection] idx: 41 (calls: 7, storage: 7)
                         [Session] idx: 42 (calls: 2, storage: 8)
                  [SessionManager] idx: 45 (calls: 1, storage: 4)
                     [PolkadotXcm] idx: 51 (calls: 8 -> 10, storage: 10)
                                   [+] calls: limitedReserveTransferAssets, limitedTeleportAssets
                        [DmpQueue] idx: 53 (calls: 1, storage: 5)
                         [XTokens] idx: 54 (calls: 2, storage: 1)
                       [Authority] idx: 60 (calls: 8, storage: 3)
                  [GeneralCouncil] idx: 61 (calls: 6, storage: 7)
        [GeneralCouncilMembership] idx: 62 (calls: 7, storage: 3)
                [FinancialCouncil] idx: 63 (calls: 6, storage: 7)
      [FinancialCouncilMembership] idx: 64 (calls: 7, storage: 3)
                     [HomaCouncil] idx: 65 (calls: 6, storage: 7)
           [HomaCouncilMembership] idx: 66 (calls: 7, storage: 3)
              [TechnicalCommittee] idx: 67 (calls: 6, storage: 7)
    [TechnicalCommitteeMembership] idx: 68 (calls: 7, storage: 3)
                       [Democracy] idx: 69 (calls: 25, storage: 15)
                     [AcalaOracle] idx: 70 (calls: 1, storage: 5)
         [OperatorMembershipAcala] idx: 71 (calls: 7, storage: 3)
                         [Auction] idx: 80 (calls: 1, storage: 4)
                          [Prices] idx: 90 (calls: 2, storage: 2)
                             [Dex] idx: 91 (calls: 11, storage: 5)
                  [AuctionManager] idx: 100 (calls: 1, storage: 4)
                          [Honzon] idx: 102 (calls: 6, storage: 2)
                     [CdpTreasury] idx: 103 (calls: 3, storage: 3)
                       [CdpEngine] idx: 104 (calls: 4, storage: 5)
               [EmergencyShutdown] idx: 105 (calls: 3, storage: 3)
                        [HomaLite] idx: 115 (calls: 9 -> 11, storage: 7 -> 9)
                                   [+] calls: adjustAvailableStakingBalance, setStakingInterestRatePerUpdate
                                   [+] storage: stakingInterestRatePerUpdate, lastRedeemRequestKeyIterated
                      [Incentives] idx: 120 (calls: 6, storage: 5)
                             [EVM] idx: 130 (calls: 14, storage: 8)
                     [EvmAccounts] idx: 132 (calls: 2, storage: 3)
                            [Sudo] idx: 255 (calls: 4, storage: 2)

@xlc xlc added the a-release label Dec 7, 2021
@xlc xlc closed this as completed Dec 7, 2021
@xlc xlc mentioned this issue Dec 9, 2021
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants