Skip to content

Checking node

Checking node #1119

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / E2E report yarn test-poolliquidity succeeded Sep 21, 2023 in 1s

E2E report yarn test-poolliquidity ✔️

Tests passed successfully

✔️ e2eTests/reports/junit-b0206c50-58d4-11ee-9403-e5c030ff14f0.xml

9 tests were completed in 1049s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/parallel/xyk-pallet.API.poolLiqidity.activateLiqudity.test.ts 1✔️ 256s
test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts 3✔️ 1048s
test/parallel/xyk-pallet.API.poolLiqudity.burnTokens.test.ts 2✔️ 400s
test/parallel/xyk-pallet.API.poolLiqudity.multipleUserRewards.test.ts 2✔️ 412s
test/parallel/xyk-pallet.API.poolLiqudity.sepClaimRewards.test.ts 1✔️ 688s

✔️ test/parallel/xyk-pallet.API.poolLiqidity.activateLiqudity.test.ts

✔️ Check that a user that deactivate some tokens, put liquidity tokens from frozen to free, then activate some tokens and put liquidity tokens from free to frozen

✔️ test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts

✔️ Check that rewards are generated and can be claimed on each session, then burn all tokens and rewards wont be available
✔️ Given a pool with 2 users with activated rewards WHEN more than one period last AND the user burn all liquidity THEN pool is destroyed but users can still claim pending rewards
✔️ Given a pool with user with activated rewards  WHEN it was deactivated AND activated again THEN the user can receive a reward in both a deactivated and activated pool

✔️ test/parallel/xyk-pallet.API.poolLiqudity.burnTokens.test.ts

✔️ Check that a user can burn tokens when they are activated, and when burning the free, those subtracted first
✔️ Check that a user can burn some tokens on a non-promoted pool

✔️ test/parallel/xyk-pallet.API.poolLiqudity.multipleUserRewards.test.ts

✔️ Users minted a different number of tokens THEN they receive an equivalent amount of rewards
✔️ One user mints X tokens, other mints those X tokens but splitted in 5 mints at the same block, rewards are equal

✔️ test/parallel/xyk-pallet.API.poolLiqudity.sepClaimRewards.test.ts

✔️ One user claim all the rewards on every session and other user claim them at the 3rd session, the sum of rewards are equal