Skip to content

Fix/mint activate lp gasp-1712 (#866) #825

Fix/mint activate lp gasp-1712 (#866)

Fix/mint activate lp gasp-1712 (#866) #825

GitHub Actions / E2E report yarn test-maintenance succeeded Dec 9, 2024 in 0s

E2E report yarn test-maintenance ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-5882ffb0-b64a-11ef-b20f-e392d96f9322.xml

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

Test suite Passed Failed Skipped Time
test/sequential/maintenance-pallet.api.rolldown.test.ts 16✅ 642s
test/sequential/xyk-pallet.api.maintenance-config.test.ts 3✅ 192s
test/sequential/xyk-pallet.api.maintenance-rules.test.ts 5✅ 144s

✅ 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
✅ check UpgradabilityOn can only be set after MaintenanceModeOn is set and MaintenanceMode works without UpgradabilityOn
✅ maintenance- check we can sell GASP tokens THEN switch maintenanceMode to on, repeat the operation and receive error

✅ 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
  ✅ multiswapBuyAsset operation is not allowed in mm
  ✅ sellAsset operation is not allowed in mm
  ✅ buyAsset operation is not allowed in mm
On Maintenance mode - aggregators and candidates are allowed
  ✅ Join as candidate , Aggregate metadata and update CandidateAgg runs on Mm