Skip to content

Fix/rewards market GASP-1681 (#855) #809

Fix/rewards market GASP-1681 (#855)

Fix/rewards market GASP-1681 (#855) #809

GitHub Actions / E2E report yarn test-governance succeeded Dec 6, 2024 in 1s

E2E report yarn test-governance ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-f4567f10-b3d5-11ef-9952-15b48b3f13d7.xml

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

Test suite Passed Failed Skipped Time
test/parallel/council-pallet.API.foundation.test.ts 21✅ 1278s
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