Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MGX-1239] remove Mangata from error name #814

Merged
merged 1 commit into from
Sep 24, 2024

rename 'NotMangataLiquidityAsset' => 'NotPairedWithNativeAsset'

3747c66
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

[MGX-1239] remove Mangata from error name #814

rename 'NotMangataLiquidityAsset' => 'NotPairedWithNativeAsset'
3747c66
Select commit
Loading
Failed to load commit list.
GitHub Actions / E2E report yarn test-sequential-no-bootstrap succeeded Sep 24, 2024 in 1s

E2E report yarn test-sequential-no-bootstrap ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-bb375dc0-7a8d-11ef-8e03-937b5fc66119.xml

21 tests were completed in 1050s with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.claimAndActivate.test.ts 2✅ 456s
test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts 1✅ 36s
test/sequential/xyk-pallet.API.fees.v2.test.ts 7✅ 102s
test/sequential/xyk-pallet.API.treasury.v2.test.ts 9✅ 144s
test/sequential/xyk-pallet.scenarios.v2.test.ts 2✅ 312s

✅ test/sequential/bootstrap.claimAndActivate.test.ts

bootstrap - checking bootstrapped pool in different situations
  ✅ bootstrap - checking claiming and activating rewards. Promoting pool is true, vesting MGA token for User1 is false
  ✅ bootstrap - checking claiming and activating rewards. Promoting pool is false, vesting MGA token for User1 is false

✅ test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts

✅ xyk-pallet - Assets substracted are incremented by 1 - MGA- SellAsset

✅ test/sequential/xyk-pallet.API.fees.v2.test.ts

API fees test suite
  ✅ xyk-pallet - MGA tokens are subtracted as fee : CreatePool
  ✅ xyk-pallet - MGA tokens are subtracted as fee : MintLiquidity
  ✅ xyk-pallet - MGA tokens are subtracted as fee : BurnLiquidity
  ✅ xyk-pallet - MGA tokens are subtracted as fee : Transfer
  ✅ xyk-pallet - MGA tokens are subtracted as fee : TransferAll
  ✅ xyk-pallet - MGA tokens are not subtracted as fee : SellAsset
  ✅ xyk-pallet - MGA tokens are / are not subtracted as fee : BuyAsset

✅ test/sequential/xyk-pallet.API.treasury.v2.test.ts

xyk-pallet - treasury tests [Mangata]: on treasury we store
  ✅ assets won when assets are sold [Selling Mangata] - 5
  ✅ assets won when assets are bought [Buying Mangata]
  ✅ assets won when assets are sold [Selling other in MGA pool] - 6
  ✅ assets won when assets are bought [Buying other in MGA pool]
xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store
  ✅ assets won when assets are sold [Selling X connected to MGA pool] - rounding
  ✅ assets won when assets are bought [Buying X connected to MGA pool]
  ✅ assets won when assets are sold [Selling Y - X connected toMGA pool] - 6
  ✅ assets won when assets are bought [Buying Y - X connected toMGA pool] - 6
xyk-pallet - treasury tests [Connected - Mangata]: Error cases
  ✅ Not enough tokens to convert fee LINK[https://trello.com/c/p77t0atO]

✅ test/sequential/xyk-pallet.scenarios.v2.test.ts

xyk-pallet: Happy case scenario
  ✅ xyk-pallet: Happy case scenario
xyk-pallet: Liquidity sufficiency scenario
  ✅ xyk-pallet: Liquidity sufficiency scenario