Skip to content

Feature: Merge mangata-node repository code #2140

Feature: Merge mangata-node repository code

Feature: Merge mangata-node repository code #2140

GitHub Actions / E2E report yarn test-governance succeeded Jan 21, 2025 in 0s

24 passed, 0 failed and 0 skipped

Tests passed successfully

✅ e2eTests/reports/junit.xml-cc0dbd20-d815-11ef-9c56-c35e64399077.xml

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

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