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

test: resubscribe to a hub with new curve #107

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

parv3213
Copy link
Member

@parv3213 parv3213 commented Feb 2, 2022

No description provided.

@parv3213 parv3213 self-assigned this Feb 2, 2022
);
const burnOwnerFee = 1e8;
const burnBuyerFee = 1e9;
const stepX = ethers.utils.parseEther("2");
Copy link
Member Author

Choose a reason for hiding this comment

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

Check for stepX and stepY values.

Copy link
Member Author

Choose a reason for hiding this comment

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

I mean, check if these values are fit for the test. For example, I tried setting StepY = 5e18, and the tests failed with Error: VM Exception while processing transaction: reverted with panic code 0x11 (Arithmetic operation underflowed or overflowed outside of an unchecked block)

@pegahcarter pegahcarter merged commit 20a17ea into main Feb 4, 2022
@pegahcarter pegahcarter deleted the test/resubs-to-new-cruve branch February 4, 2022 21:40
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