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

Checking node #596

Closed
wants to merge 14 commits into from

Merge remote-tracking branch 'origin/develop' into feature/reducingTe…

fde8faa
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Checking node #596

Merge remote-tracking branch 'origin/develop' into feature/reducingTe…
fde8faa
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / E2E report yarn test-sequential-autocompound succeeded Sep 21, 2023 in 0s

E2E report yarn test-sequential-autocompound ✔️

Tests passed successfully

✔️ e2eTests/reports/junit-5236c1f0-58d6-11ee-8001-a3a2a38086fb.xml

7 tests were completed in 725s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/rewardsv2.poolLiquidityRewards.test.ts 4✔️ 473s
test/story/rewardsStory.test.ts 3✔️ 252s

✔️ test/sequential/rewardsv2.poolLiquidityRewards.test.ts

rewards v2 tests › Error cases
  ✔️ Given a user with Liquidity on non promoted pool When tries to activate Then extrinsic fail
rewards v2 tests › A user can get rewards
  ✔️ Given a user with Liquidity activated When tries to deactivate Then the user gets all tokens burn and rewards amount are readable in RPC THEN the user can claim them
  ✔️ Given a user with Liquidity activated When tries to burn some Then the user gets automatically deactivated that amount And rewards are stored in NotYetClaimed section in rewards info
  ✔️ Given a user with Liquidity activated When tries to mint some more Then the user activated amount will grow on that value

✔️ test/story/rewardsStory.test.ts

Story tests > Rewards - autocompound
  ✔️ Given a user1 with minted tokens when two sessions happen, then there are available rewards
  ✔️ Given a user2 WHEN available rewards can claim and mgas are increased
  ✔️ Given a user3 WHEN available rewards can autocompund