-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Area
Proposal Pillar
Domain
gov.tools
Which wallet were you using?
Eternl 2
Context
When promoting a proposal from the Proposal Discussion Forum (off-chain) to an actual on-chain Governance Action, users have the option to store the metadata on IPFS and provide the IPFS URL in the final submission step. This is meant to validate whether the metadata file generates the same hash as what is expected by the governance action transaction.
This feature was previously supported as confirmed in GitHub Issue #3851. However, the functionality is now broken β entering an ipfs:// link results in a browser error.
Steps to reproduce
- Go to the Proposal Discussion Forum.
- Create a new proposal or use an existing one.
- Proceed to submit the proposal as an on-chain governance action.
- On the final step, choose to store the metadata on IPFS and paste an
ipfs://link into the field. - Observe the error in browser developer tools console.
Actual behavior
- The interface fails to validate the IPFS URL.
- Console logs the following error:
Fetch API cannot load ipfs://<CID>. URL scheme "ipfs" is not supported.
- Fetch API cannot load ipfs://. URL scheme "ipfs" is not supported.
Expected behavior
ipfs://URLs should be handled properly by routing through an HTTP-compatible IPFS gateway (e.g.,https://ipfs.io/ipfs/<CID>).- The metadata hash should be calculated and validated as before.
- No Fetch API errors should occur.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In QA
Status
No status
