easy-retro-pgf icon indicating copy to clipboard operation
easy-retro-pgf copied to clipboard

Submit ballot hashcode mismatch

Open cauetomaz opened this issue 2 years ago • 7 comments

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.

cauetomaz avatar Jan 12 '24 17:01 cauetomaz

@carlbarrdahl perhaps we can help here?

owocki avatar Jan 12 '24 17:01 owocki

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

carlbarrdahl avatar Jan 12 '24 18:01 carlbarrdahl

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?

carlbarrdahl avatar Jan 19 '24 11:01 carlbarrdahl

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

cauetomaz avatar Jan 19 '24 13:01 cauetomaz

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

With Metamask or any other wallet?

carlbarrdahl avatar Jan 19 '24 14:01 carlbarrdahl

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.

cauetomaz avatar Jan 22 '24 17:01 cauetomaz

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

carlbarrdahl avatar Mar 15 '24 10:03 carlbarrdahl