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

New farm refactor #59

Merged
merged 3 commits into from
May 17, 2021
Merged

New farm refactor #59

merged 3 commits into from
May 17, 2021

Conversation

catalinnnn
Copy link
Contributor

No description provided.

@@ -175,6 +182,10 @@ pub trait Farm:
"Cannot exit farm with 0 entering amount"
);

// Before removing liquidity, first generate the rewards.
let reward_token_id = self.reward_token_id().get();
Copy link
Contributor

Choose a reason for hiding this comment

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

so here was a logical issue, not ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a unit test ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not a logical issue. There is a test for this, but tests reside inside arwen repo, at least atm

@catalinnnn catalinnnn merged commit 268b731 into main May 17, 2021
@catalinnnn catalinnnn deleted the new-farm-refactor branch September 23, 2021 16:19
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