Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metamask is slow to pop up after clicking create proposal and vote buttons #132

Open
ianconsolata opened this issue Oct 3, 2024 · 2 comments

Comments

@ianconsolata
Copy link
Collaborator

When I click the create proposal or vote buttons, it takes awhile for metamask to pop up and ask me to submit the transaction.

I understand why there would be a delay after I submit the metamask transaction before things get stored on chain, but shouldn't the metamask UI pop up immediately? What is causing the delay?

@hexianglinss
Copy link
Collaborator

Hi @ianconsolata, it's because we need to first store the proposal data in web3.storage, and wait for web3.storage to return the CID before calling Metamask for signing. Therefore, some time needs to be waited before Metamask is opened.

@ianconsolata
Copy link
Collaborator Author

I am checking with the web3.storage team to see if there is a way to get the CID earlier, if not then I think we should just make the loading messages clearer (i.e. "Uploading proposal to web3.storage...") so folks know why it is taking longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants