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-sequential-no-bootstrap failed Nov 26, 2024 in 0s

E2E report yarn test-sequential-no-bootstrap ❌

Tests failed

❌ e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

21 tests were completed in 666s with 6 passed, 15 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❌ 24s
test/sequential/xyk-pallet.API.fees.v2.test.ts 4✅ 3❌ 66s
test/sequential/xyk-pallet.API.treasury.v2.test.ts 9❌ 36s
test/sequential/xyk-pallet.scenarios.v2.test.ts 2❌ 84s

✅ 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
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')

❌ 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
	TypeError: Cannot read properties of undefined (reading '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
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ xyk-pallet - MGA tokens are / are not subtracted as fee : BuyAsset
	TypeError: Cannot read properties of undefined (reading '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
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying Mangata]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
  ❌ assets won when assets are sold [Selling other in MGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying other in MGA pool]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store
  ❌ assets won when assets are sold [Selling X connected to MGA pool] - rounding
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying X connected to MGA pool]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
  ❌ assets won when assets are sold [Selling Y - X connected toMGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying Y - X connected toMGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
xyk-pallet - treasury tests [Connected - Mangata]: Error cases
  ❌ Not enough tokens to convert fee LINK[https://trello.com/c/p77t0atO]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')

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

xyk-pallet: Happy case scenario
  ❌ xyk-pallet: Happy case scenario
	TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
xyk-pallet: Liquidity sufficiency scenario
  ❌ xyk-pallet: Liquidity sufficiency scenario
	TypeError: Cannot read properties of undefined (reading 'mintLiquidity')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts ► xyk-pallet - Assets substracted are incremented by 1 - MGA- SellAsset

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:4648:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.fees.v2.test.ts ► API fees test suite ► xyk-pallet - MGA tokens are subtracted as fee : MintLiquidity

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.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.fees.v2.test.ts:118:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.fees.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.fees.v2.test.ts ► API fees test suite ► xyk-pallet - MGA tokens are not subtracted as fee : SellAsset

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.fees.v2.test.ts:159:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.fees.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.fees.v2.test.ts ► API fees test suite ► xyk-pallet - MGA tokens are / are not subtracted as fee : BuyAsset

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.fees.v2.test.ts:170:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.fees.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

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

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:88:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are bought [Buying Mangata]

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:122:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

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 other in MGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:154:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are bought [Buying other in MGA pool]

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:190:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are sold [Selling X connected to MGA pool] - rounding

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:271:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are bought [Buying X connected to MGA pool]

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:327:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are sold [Selling Y - X connected toMGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-05526620-abf8-11ef-8032-9107e8fcf6d4.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:360:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)