where is the actual text/description for the democracy pallet propose function this is the function I am talking about https://github.com/paritytech/substrate/blob/4d598040e0369b02cd24e8e67eaf317d09f74f85/frame/democracy/src/lib.rs#L629 is the proposal_hash parameter the hash of the content / description of the change being proposed? if so , where is the actual content stored? could it be IPFS?

1 Answer 1


Before you propose the proposal, you need to submit a preimage.

And the data was stored on the chain.

It could be IPFS (in some ways). You could upload your proposal content to IPFS, then use the link as the preimage data.

  • thanks much clearer
    – Neo
    Commented Aug 1, 2022 at 16:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.