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

Fantom Curve Geist: gauge update #7

Open
wants to merge 1 commit into
base: geist
Choose a base branch
from

Conversation

pata-eth
Copy link

@pata-eth pata-eth commented May 18, 2022

@poolpitako, I've created a draft PR so that you can begin your review of the changes so far. They are minimal as you'll quickly find out. The PR is in draft mode as I'm still investigating the mechanics of the new gauges. I suspect that the way we used to claim rewards with the old gauges is no longer valid with the new ones. I'll keep you posted.

@@ -58,7 +58,7 @@ def test_withdraw_after_donation_1(
assert profit > 0

# specifically check that our gain is greater than our donation or confirm we're no more than 5 wei off.
assert new_params["totalGain"] - prev_params["totalGain"] > donation
assert new_params["totalGain"] - prev_params["totalGain"] >= donation
Copy link
Author

@pata-eth pata-eth May 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

none of the tests make money because the gauge is not currently receiving any CRV or third-party reward token. I've added the '=' so that the test passes.

@pata-eth pata-eth changed the title migrated to new gauge. all tests passing Geist Curve: gauge update May 19, 2022
@pata-eth pata-eth changed the title Geist Curve: gauge update Fantom Curve Geist: gauge update May 20, 2022
@pata-eth pata-eth marked this pull request as ready for review May 20, 2022 01:09
@pata-eth
Copy link
Author

@poolpitako, this is ready for your review

@pata-eth pata-eth force-pushed the geist branch 2 times, most recently from aeb14c7 to dd4e362 Compare May 27, 2022 23:35
@pata-eth
Copy link
Author

Screen Shot 2022-05-27 at 7 01 12 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants