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

E2E report yarn test-governance ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-0c655e00-b60b-11ef-8539-e951d4bc0335.xml

24 tests were completed in 1392s with 24 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/parallel/council-pallet.API.foundation.test.ts 21✅ 1284s
test/parallel/foundationMembers.test.ts 3✅ 108s

✅ test/parallel/council-pallet.API.foundation.test.ts

Council tests: Special rules for foundation addresses on mmON
  ✅ Test that Foundation address can/cannot close an already voted proposal
  ✅ Test that NoFoundation address can/cannot close an already voted proposal
  ✅ Test that NoCouncil address can/cannot close an already voted proposal
  ✅ Test that Foundation address can/cannot veto a proposal
  ✅ Test that NoFoundation address can/cannot veto a proposal
  ✅ Test that sudo address can veto a proposal
  ✅ Test that Foundation address can/cannot veto an already voted proposal
  ✅ Test that NoFoundation address can/cannot veto an already voted proposal
  ✅ Test that sudo address can veto an already voted proposal
  ✅ Test that sudo address cannot close an already voted proposal
Council tests: Special rules for foundation addresses on mmOFF
  ✅ Test that Foundation address can/cannot close an already voted proposal
  ✅ Test that NoFoundation address can/cannot close an already voted proposal
  ✅ Test that NoCouncil address can/cannot close an already voted proposal
  ✅ Test that Foundation address can/cannot veto a proposal
  ✅ Test that NoFoundation address can/cannot veto a proposal
  ✅ Test that sudo address can veto a proposal
  ✅ Test that Foundation address can/cannot veto an already voted proposal
  ✅ Test that NoFoundation address can/cannot veto an already voted proposal
  ✅ Test that sudo address can veto an already voted proposal
  ✅ Test that sudo address cannot close an already voted proposal
✅ Test that Closing a motion requires some time for Council mebers but not for founders

✅ test/parallel/foundationMembers.test.ts

✅ A founder can update his own foundation address
✅ Council can not execute this extrinsic
✅ Extrinsic must fail if sudo request any foundation modification