Skip to content

Commit

Permalink
added transferReward case
Browse files Browse the repository at this point in the history
  • Loading branch information
marko03kostic committed Feb 28, 2025
1 parent 45ff1f4 commit 902a22d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/integration/Paranet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,15 @@ describe('@unit Paranet', () => {
)
).to.be.revertedWith('Caller is not incentives pool contract');

await expect(
poolStorage
.connect(accounts[1])
.transferReward(
accounts[0].address,
ethers.parseUnits('100', 12),
)
).to.be.revertedWith('Caller is not incentives pool contract');

});

it('Should handle multiple incentives pools for same paranet', async () => {
Expand Down

0 comments on commit 902a22d

Please sign in to comment.