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

safety precautions for on_idle hook #864

Merged

safety precautions for on_idle hook

011e11e
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

safety precautions for on_idle hook #864

safety precautions for on_idle hook
011e11e
Select commit
Loading
Failed to load commit list.
GitHub Actions / E2E report yarn test-rewards-bootstrap succeeded Dec 9, 2024 in 0s

E2E report yarn test-rewards-bootstrap ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-9c0f8b40-b609-11ef-9cad-ff0f47686d67.xml

7 tests were completed in 768s 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✅ 216s
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