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

Fix compiler warnings #692

Closed
rndquu opened this issue Jun 20, 2023 · 12 comments · Fixed by #708
Closed

Fix compiler warnings #692

rndquu opened this issue Jun 20, 2023 · 12 comments · Fixed by #708
Assignees
Labels
Permitted Solidity Solidity development work is expected.

Comments

@rndquu
Copy link
Member

rndquu commented Jun 20, 2023

Right now we have some compiler warnings

What should be done:

  1. Fix compiler warnings
  2. Make sure build and test workflow fails on any new warning introduced
@rndquu rndquu added Solidity Solidity development work is expected. Time: <1 Day labels Jun 20, 2023
@rndquu
Copy link
Member Author

rndquu commented Jun 20, 2023

@pavlovcik could you set a priority?

@ubiquity ubiquity deleted a comment from ubiquibot bot Jun 20, 2023
@ubiquity ubiquity deleted a comment from ubiquibot bot Jun 20, 2023
@rndquu rndquu changed the title Fix slither warnings Fix compiler warnings Jun 21, 2023
@molecula451
Copy link
Contributor

molecula451 commented Jun 22, 2023

/start

@ubiquibot
Copy link

ubiquibot bot commented Jun 22, 2023

Skipping /start since the issue is closed

This was referenced Jun 23, 2023
@ubiquibot ubiquibot bot added the Permitted label Jun 27, 2023
@ubiquibot
Copy link

ubiquibot bot commented Jun 27, 2023

[ CLAIM 200 WXDAI ]

0x4D0704f4...D826dCFc4

@rndquu
Copy link
Member Author

rndquu commented Jun 27, 2023

@pavlovcik

there is a 2x multiplier for the current repo

this issue worth 300 USD generated a permit worth 600 WXDAI (which is expected because of the 2x multiplier)

the current issue is worth 200 USD so the permit was expected to be 400 WXDAI instead of 200 WXDAI

am I right?

@0x4007
Copy link
Member

0x4007 commented Jun 27, 2023

I'm pretty sure the generated permit is current because it was only seven minutes ago

@rndquu
Copy link
Member Author

rndquu commented Jun 27, 2023

I'm pretty sure the generated permit is current because it was only seven minutes ago

I don't get you mean by "current". This permit should be 400 WXDAI because of the 2x multiplier, right?

@molecula451
Copy link
Contributor

Thank you guys you fixing it @pavlovcik ?

@molecula451
Copy link
Contributor

molecula451 commented Jun 27, 2023

upss @pavlovcik i think @rndquu is clearer than waters 😁

@molecula451
Copy link
Contributor

molecula451 commented Jun 27, 2023

re-issue 🙏🏻@pavlovcik

@0x4007
Copy link
Member

0x4007 commented Jun 28, 2023

This pricing is accurate for this issue.

The problem is only in the following scenario:

  1. Base-rate is 1000
  2. Bounty is created (price label set to 100 USD)
  3. Admin updates base-rate to 2000
  4. Price labels are not automatically updated yet (we have a feature in the works to handle this, but it's not on production as far as I'm aware)
  5. Bounty hunter completes the bounty and the payment permit is 200 USD even though the price label is still left at 100 USD.

This current issue was created after the base-rate was updated, so the price label is including the boosted base-rate and is accurate.

@rndquu
Copy link
Member Author

rndquu commented Jun 28, 2023

This pricing is accurate for this issue.

The problem is only in the following scenario:

  1. Base-rate is 1000
  2. Bounty is created (price label set to 100 USD)
  3. Admin updates base-rate to 2000
  4. Price labels are not automatically updated yet (we have a feature in the works to handle this, but it's not on production as far as I'm aware)
  5. Bounty hunter completes the bounty and the payment permit is 200 USD even though the price label is still left at 100 USD.

This current issue was created after the base-rate was updated, so the price label is including the boosted base-rate and is accurate.

Yes, you're right. Normally we have 100 USD for <1 day time labels but this issue is already set to 200 USD because of the multiplier.

@molecula451 pls notice that the pricing is accurate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Permitted Solidity Solidity development work is expected.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants