grants-stack-frontier / op-rf4-voting-ui

https://op-rf4-voting-ui.vercel.app
0 stars 0 forks source link

Ballot Page: OP amounts wrong #246

Closed JSeiferth closed 1 day ago

JSeiferth commented 2 days ago

What was the URL where the error occurred?

https://develop-op-voting.up.railway.app/ballot

What happened?

The OP amount below the percentage allocation to each project should follow this logic RoundAllocation * CategoryAllocation * ProjectAllocation

In my example, 5,000,000 * 10% * 10% should be 50k OP

The page shows 333,333 OP

Screenshot 2024-09-27 at 10 39 08

What should have happened instead?

The page should show 50k OP for Tech NERDs

Steps to Reproduce

  1. Go to ballot page
  2. See OP amount below percentage allocation

What browser(s) are you seeing the problem on?

No response

Relevant log output

No response

JSeiferth commented 2 days ago

This is critical for launch. Would love to check in by mid-day on how we're looking on this

vidvidvid commented 2 days ago

@JSeiferth found the bug and fixed it - pls check it https://develop-op-voting.up.railway.app/ballot feel free to close the issue once you confirm the solution

JSeiferth commented 1 day ago

Fixed, thanks @vidvidvid!