Closed austin-davis1 closed 2 years ago
We solved this issue by pulling Proposal IDs from the blockchain (filtering ProposalCreated events) rather than trying to store them on IPFS. Problem 1 may be addressed by finding a method to generate a CID without actually pushing to IPFS first. Closing this issue.
With our current setup, we plan to call the propose() function using Ethers and passing in the IPFS CID as part of the hash. This forces us to upload to IPFS before we call propose(), as an IPFS CID is generated upon upload. This creates two problems: