effectai / force-frontend

https://app.effect.network
MIT License
6 stars 5 forks source link

Campaign overview shows incorrect price after a price change #236

Closed jeisses closed 6 months ago

jeisses commented 1 year ago

Issue

If the campaign price is updated it applies to future batches and not existing batches. This results in workers getting paid out less (or more) than is stated

Description

From @rochelle8044 in Discord:

For example, I'm getting messages/tickets about the NFT categorization R3 tasks. It says 10 EFX/task, however, some of the batches were posted with the pay of 3 EFX. Workers are going in, and of course the oldest open batch is given to them, and it's paying 3 EFX, however the task page, campaign page, etc. says 10 EFX. They notice they're only receiving 3 EFX.

Solution

Show reward of the oldest active batch instead of campaign price in overview