You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should probably go in a markdown but it's short so I'm putting it here for now:
In a nutshell, to make a proposal through the Polkadot UI, you would go to Governance → Democracy and click “Submit preimage”.
Then you can select an extrinsic to be enacted, providing the needed parameters. IMPORTANT: whatever extrinsic is submitted for proposal must be able to succeed as the Root origin. For example, if the proposal is to transfer a balance, you would need to submit this as a forceTransfer operation.
Once you choose the extrinsic to execute, the preimage and its hash is constructed for you. There is a storage fee for the proposal based in part on the size of the preimage.
After the submit preimage transaction is included in a block, then you must copy the preimage hash and submit it in the proposal. After the referendum passes, the extrinsic will be executed.
If the proposal is for an upgrade, then you can proceed similarly to a scheduled Sudo upgrade in which you upload the file and submit the proposal using the uploaded WASM file. Note you must still submit extrinsic for authorizing the upgrade before the proposal is enacted, as documented in the link for this issue.
Once you’ve submitted a preimage and it is included in a block, you can go to the Block Explorer panel, then copy the preimage hash by expanding the extrinsic under "recent extrinsics" and submit that.
In a dev environment, to get proposals to work, you’ll need to run the parachain with a relay chain; it doesn’t work with instant sealing.
# Goal
The goal of this PR is to document a process for enacting runtime
upgrades via Polkadot's governance/referendum process.
Closes#269
# Discussion
This PR includes scripts for proposing, endorsing, and voting on
upgrades. Authorization and enactment still must be done manually (via
Polkadot JS UI etc). It may be possible to automate these in the future.
Authored-by: Prakash Venkatraman <pvenkatraman@westmonroe.com>
Notes
To Do
The text was updated successfully, but these errors were encountered: