Skip to content

added offset to VerExtrinsicBaseWeight and FeeLockWeight to xyk extri… #702

added offset to VerExtrinsicBaseWeight and FeeLockWeight to xyk extri…

added offset to VerExtrinsicBaseWeight and FeeLockWeight to xyk extri… #702

GitHub Actions / E2E report yarn test-maintenance succeeded Nov 8, 2024 in 1s

E2E report yarn test-maintenance ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-1efcea10-9dce-11ef-be8c-8b0e91c4da90.xml

25 tests were completed in 972s with 25 passed, 0 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✅ 210s
test/sequential/xyk-pallet.api.maintenance-rules.test.ts 6✅ 126s

✅ 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 MGX tokens and compoundRewards 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
  ✅ provideLiquidity 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