Skip to content

Feature/stable pool mgx 1307 #734

Feature/stable pool mgx 1307

Feature/stable pool mgx 1307 #734

GitHub Actions / E2E report yarn test-maintenance failed Nov 26, 2024 in 0s

E2E report yarn test-maintenance ❌

Tests failed

❌ e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

25 tests were completed in 732s with 17 passed, 8 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/maintenance-pallet.api.rolldown.test.ts 16✅ 636s
test/sequential/xyk-pallet.api.maintenance-config.test.ts 3❌ 30s
test/sequential/xyk-pallet.api.maintenance-rules.test.ts 1✅ 5❌ 66s

✅ test/sequential/maintenance-pallet.api.rolldown.test.ts

On [mm] - regular l1 updates must be forbidden › On [%s] - regular l1 updates must be forbidden
  ✅ updateL2fromL1 operation is not allowed in mm
  ✅ withdraw operation is not allowed in mm
  ✅ cancelRequestsFromL1 operation is not allowed in mm
  ✅ forceCancelRequestsFromL1 operation is not allowed in mm
  ✅ forceUpdateL2fromL1 operation is not allowed in mm
  ✅ sequencerSetup operations are allowed in mm
  ✅ sequencerTearDown operations are allowed in mm
  ✅ Update is blocked on maintenance mode but works on upgradeability
On [upgradabilityMm] - regular l1 updates must be forbidden › On [%s] - regular l1 updates must be forbidden
  ✅ updateL2fromL1 operation is not allowed in mm
  ✅ withdraw operation is not allowed in mm
  ✅ cancelRequestsFromL1 operation is not allowed in mm
  ✅ forceCancelRequestsFromL1 operation is not allowed in mm
  ✅ forceUpdateL2fromL1 operation is not allowed in mm
  ✅ sequencerSetup operations are allowed in mm
  ✅ sequencerTearDown operations are allowed in mm
  ✅ Update is blocked on maintenance mode but works on upgradeability

❌ test/sequential/xyk-pallet.api.maintenance-config.test.ts

❌ maintenance- try to change Maintenance Mode with a non-foundation account THEN it failed
	TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
❌ check UpgradabilityOn can only be set after MaintenanceModeOn is set and MaintenanceMode works without UpgradabilityOn
	TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
❌ maintenance- check we can sell MGX tokens and compoundRewards THEN switch maintenanceMode to on, repeat the operation and receive error
	TypeError: Cannot read properties of undefined (reading 'mintLiquidity')

❌ test/sequential/xyk-pallet.api.maintenance-rules.test.ts

On Maintenance mode - multiSwaps / swaps / compound / prov liq are not allowed
  ❌ multiswapSellAsset operation is not allowed in mm
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ multiswapBuyAsset operation is not allowed in mm
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ sellAsset operation is not allowed in mm
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ buyAsset operation is not allowed in mm
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ provideLiquidity operation is not allowed in mm
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
On Maintenance mode - aggregators and candidates are allowed
  ✅ Join as candidate , Aggregate metadata and update CandidateAgg runs on Mm

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-maintenance

test/sequential/xyk-pallet.api.maintenance-config.test.ts ► maintenance- try to change Maintenance Mode with a non-foundation account THEN it failed

Failed test found in:
  e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
    at Function.mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:27:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-config.test.ts:89:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-config.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-maintenance

test/sequential/xyk-pallet.api.maintenance-config.test.ts ► check UpgradabilityOn can only be set after MaintenanceModeOn is set and MaintenanceMode works without UpgradabilityOn

Failed test found in:
  e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
    at Function.mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:27:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-config.test.ts:89:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-config.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-maintenance

test/sequential/xyk-pallet.api.maintenance-config.test.ts ► maintenance- check we can sell MGX tokens and compoundRewards THEN switch maintenanceMode to on, repeat the operation and receive error

Failed test found in:
  e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
    at Function.mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:27:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-config.test.ts:89:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-config.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-maintenance

test/sequential/xyk-pallet.api.maintenance-rules.test.ts ► On Maintenance mode - multiSwaps / swaps / compound / prov liq are not allowed ► multiswapSellAsset operation is not allowed in mm

Failed test found in:
  e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:61:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-maintenance

test/sequential/xyk-pallet.api.maintenance-rules.test.ts ► On Maintenance mode - multiSwaps / swaps / compound / prov liq are not allowed ► multiswapBuyAsset operation is not allowed in mm

Failed test found in:
  e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:61:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-maintenance

test/sequential/xyk-pallet.api.maintenance-rules.test.ts ► On Maintenance mode - multiSwaps / swaps / compound / prov liq are not allowed ► sellAsset operation is not allowed in mm

Failed test found in:
  e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:61:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-maintenance

test/sequential/xyk-pallet.api.maintenance-rules.test.ts ► On Maintenance mode - multiSwaps / swaps / compound / prov liq are not allowed ► buyAsset operation is not allowed in mm

Failed test found in:
  e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:61:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-maintenance

test/sequential/xyk-pallet.api.maintenance-rules.test.ts ► On Maintenance mode - multiSwaps / swaps / compound / prov liq are not allowed ► provideLiquidity operation is not allowed in mm

Failed test found in:
  e2eTests/reports/junit.xml-0c72bd60-abf8-11ef-9abc-7bbb44a3a71e.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:61:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.api.maintenance-rules.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)