Skip to content

Rari Rewards E2E Testing#224

Merged
ElliotFriedman merged 7 commits intomasterfrom
feat/rari-rewards-e2e
Oct 6, 2021
Merged

Rari Rewards E2E Testing#224
ElliotFriedman merged 7 commits intomasterfrom
feat/rari-rewards-e2e

Conversation

@ElliotFriedman
Copy link
Contributor

@ElliotFriedman ElliotFriedman commented Oct 5, 2021

No description provided.

Comment on lines +1435 to +1438
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));
Copy link
Contributor

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

Copy link
Contributor Author

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 () {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@Joeysantoro Joeysantoro left a comment

Choose a reason for hiding this comment

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

Fantastic

@ElliotFriedman ElliotFriedman merged commit 21e6268 into master Oct 6, 2021
@ElliotFriedman ElliotFriedman deleted the feat/rari-rewards-e2e branch October 6, 2021 20:05
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

Comments