blockchainsubstratepolkadot

Substrate: How to perform Parachain Runtime Upgrade via Democracy using Chopsticks


I am trying to perform a runtime upgrade using Acala's Chopsticks.
I followed the authorize > enact an upgrade flow for my parachain, and it works.

To produce blocks in local Polkadot, i connected through ws and executed the command:

{ "jsonrpc": "2.0", "id": "1", "method": "dev_newBlock", "params": [ {"count": 1000} ]}

However when I checked paras > futureCodeUpgrades, I do not see my parachain.
Help.


Solution

  • I posted the same question in StackExchange, and I finally figured it out with the help of my teammates.

    Basically, just produce blocks in both the relaychain and the parachain.