Skip to content

safety precautions for on_idle hook (#864) #818

safety precautions for on_idle hook (#864)

safety precautions for on_idle hook (#864) #818

GitHub Actions / E2E report yarn test-experimentalStaking succeeded Dec 9, 2024 in 1s

E2E report yarn test-experimentalStaking ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-07fc3480-b62c-11ef-a80f-b798e4497920.xml

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

Test suite Passed Failed Skipped Time
test/parallel/xyk-pallet.API.parachainStacking.joinCandidate.test.ts 3✅ 594s
test/staking/API.valuations.test.ts 3✅ 156s
test/staking/happyPath.staking.test.ts 1✅ 498s

✅ test/parallel/xyk-pallet.API.parachainStacking.joinCandidate.test.ts

✅ A user can delegate more using liq token
✅ A User with free tokens can join as collator
✅ A user can schedule and execute bond more

✅ test/staking/API.valuations.test.ts

Collators: MinCandidateStk limit
  ✅ Min Mangatas to be a collator matches with minLiq.
  ✅ Min Mangatas -1 will make joinCollator fail
  ✅ Min Mangatas +1 will make joinCollator work

✅ test/staking/happyPath.staking.test.ts

HappyPath - staking - a collator producing blocks
  ✅ A user that have plenty of vested tokens can be a collator