Skip to content

fixes the symbol naming for liq pools (#860) #813

fixes the symbol naming for liq pools (#860)

fixes the symbol naming for liq pools (#860) #813

GitHub Actions / E2E report yarn test-sequential-no-bootstrap failed Dec 8, 2024 in 1s

E2E report yarn test-sequential-no-bootstrap ❌

Tests failed

❌ e2eTests/reports/junit.xml-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml

21 tests were completed in 1038s with 12 passed, 9 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.claimAndActivate.test.ts 2✅ 462s
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 2✅ 7❌ 132s
test/sequential/xyk-pallet.scenarios.v2.test.ts 1✅ 1❌ 306s

✅ 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
	Error: Expected: 0

✅ 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
	Error: Expected: 0
  ❌ assets won when assets are bought [Buying Mangata]
	Error: Expected: 0
  ❌ assets won when assets are sold [Selling other in MGA pool] - 6
	Error: Expected: 0
  ❌ assets won when assets are bought [Buying other in MGA pool]
	Error: thrown: Object {
xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store
  ❌ assets won when assets are sold [Selling X connected to MGA pool] - rounding
	Error: Expected: 0
  ❌ assets won when assets are bought [Buying X connected to MGA pool]
	Error: Expected: 0
  ✅ 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
	Error: Expected: 0
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
	Error: expect(received).toEqual(expected) // deep equality

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-ab6b4520-b5a5-11ef-a916-1b0b99074c33.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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
  Actual: 6 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts:141:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-ab6b4520-b5a5-11ef-a916-1b0b99074c33.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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
  Actual: 6 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:101:27
    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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
  Actual: 5 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:140:27
    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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
  Actual: 18 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:172:27
    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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: thrown: Object {
Raw output
Error: thrown: Object {
  "data": "1010: Invalid Transaction: The swap prevalidation has failed",
}
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:177:3
    at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:53:1
    at SourceTextModule.evaluate (node:internal/vm/module:226:23)
    at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
    at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
    at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 0 in e2eTests/reports/junit.xml-ab6b4520-b5a5-11ef-a916-1b0b99074c33.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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
  Actual: 11 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:299:27
    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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
  Actual: 15 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:353:27
    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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.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 Y - X connected toMGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
  Actual: 13 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:448:27
    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-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml

See this annotation in the file changed.

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

test/sequential/xyk-pallet.scenarios.v2.test.ts ► xyk-pallet: Liquidity sufficiency scenario ► xyk-pallet: Liquidity sufficiency scenario

Failed test found in:
  e2eTests/reports/junit.xml-ab6b4520-b5a5-11ef-a916-1b0b99074c33.xml
Error:
  Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality

Expected: "PoolIsEmpty"
Received: "ExcesiveInputAmount"
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.scenarios.v2.test.ts:916:23
    at processTicksAndRejections (node:internal/process/task_queues:95:5)