-
Notifications
You must be signed in to change notification settings - Fork 99
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
Rari Rewards E2E Testing #224
Conversation
…to feat/rari-rewards-e2e
…te RewardsDistributorDelegator contract
totalAllocPoint = await tribalChief.totalAllocPoint(); | ||
expect(stakingTokenWrapper.address).to.be.equal(await tribalChief.stakedToken(3)); | ||
expect((await tribalChief.poolInfo(pid)).allocPoint).to.be.bignumber.equal(toBN(poolAllocPoints)); | ||
expect(totalAllocPoint).to.be.equal(toBN(3100)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is more of a validation/unit test check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test was designed to call the init method, but since that has already been done by a separate deployment script, I removed that action in this test.
expect(totalAllocPoint).to.be.equal(toBN(3100)); | ||
}); | ||
|
||
it('harvest rewards staking token wrapper', async function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic
No description provided.