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-rewards-bootstrap succeeded Dec 9, 2024 in 1s

E2E report yarn test-rewards-bootstrap ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-1f8cb9e0-b62b-11ef-bfc3-5bc3f97efb2a.xml

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

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.configuration.test.ts 2✅ 204s
test/sequential/bootstrap.updatePromotion.test.ts 1✅ 222s
test/sequential/xyk-pallet.asset.bootstrap.register.test.ts 4✅ 348s

✅ test/sequential/bootstrap.configuration.test.ts

✅ bootstrap - Check non-sudo user cannot start bootstrap
✅ bootstrap - Check happy path bootstrap with one user

✅ test/sequential/bootstrap.updatePromotion.test.ts

✅ bootstrap - Check possibility to change promoteBootstrapPool in each phase

✅ test/sequential/xyk-pallet.asset.bootstrap.register.test.ts

✅ register asset with xyk disabled and try to schedule bootstrap, expect to success
✅ register asset with xyk enabled and try to schedule bootstrap, expect to success
✅ try to schedule bootstrap for token when does not have AssetRegistry, expect to success
✅ register asset without asset metadata  and try to schedule bootstrap, expect to success