gitcoinco / easy-retro-pgf

Retroactive Public Goods Funding for everyone.
https://easyretropgf.xyz
MIT License
54 stars 30 forks source link

Submit ballot hashcode mismatch #6

Open cauetomaz opened 8 months ago

cauetomaz commented 8 months ago

I found the tool practical and functional! I just had one problem when trying to submit my basket, the signature in the metamask didn't arrive, then when I tried again there was a conflict in the submission hash code, so I just changed the allocated value of one of the projects and everything worked. Thank you for everyone's time and energy.

owocki commented 8 months ago

@carlbarrdahl perhaps we can help here?

carlbarrdahl commented 8 months ago

Thanks for taking the time to report this @cauetomaz! Will look into it.

carlbarrdahl commented 7 months ago

I found the tool practical and functional! I just had one problem when trying to submit my basket, the signature in the metamask didn't arrive, then when I tried again there was a conflict in the submission hash code, so I just changed the allocated value of one of the projects and everything worked. Thank you for everyone's time and energy.

I haven't been able to reproduce this @cauetomaz. What wallet did you connect and sign with?

cauetomaz commented 7 months ago

Hey carl! I signed with this adress 0xAcD59e854adf632d2322404198624F757C868C97, i dont know why this happened, i hope you find.

carlbarrdahl commented 7 months ago

Hey carl! I signed with this adress 0xAcD59e854adf632d2322404198624F757C868C97, i dont know why this happened, i hope you find.

With Metamask or any other wallet?

cauetomaz commented 7 months ago

Hey carl! I signed with this adress 0xAcD59e854adf632d2322404198624F757C868C97, i dont know why this happened, i hope you find.

With Metamask or any other wallet?

I used a metamask wallet on my android.

carlbarrdahl commented 6 months ago

This was potentially caused by the updated ballot wasn't used (slow network connection could cause an older instance of the ballot to be used)

We now fetch the latest ballot (using refetch) before creating the message and signing it. https://github.com/gitcoinco/easy-retro-pgf/blob/0ac2fd07b65f487d049ad8f34ed0bf2d101dee62/src/features/ballot/hooks/useBallot.ts#L64-L86