Skip to content

adds a check that only single ferry can happen on a deposit request g… #801

adds a check that only single ferry can happen on a deposit request g…

adds a check that only single ferry can happen on a deposit request g… #801

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

E2E report yarn test-sequential-no-bootstrap ❌

Tests failed

❌ e2eTests/reports/junit.xml-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.xml

14 tests were completed in 720s with 2 passed, 12 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❌ 23s
test/sequential/xyk-pallet.API.treasury.v2.test.ts 9❌ 36s
test/sequential/xyk-pallet.scenarios.v2.test.ts 2❌ 204s

✅ 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.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 'sellAsset')
xyk-pallet: Liquidity sufficiency scenario
  ❌ xyk-pallet: Liquidity sufficiency scenario
	TypeError: Cannot read properties of undefined (reading 'sellAsset')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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)

Check failure on line 0 in e2eTests/reports/junit.xml-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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:412: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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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]: Error cases ► Not enough tokens to convert fee LINK[https://trello.com/c/p77t0atO]

Failed test found in:
  e2eTests/reports/junit.xml-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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:471: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-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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: Happy case scenario ► xyk-pallet: Happy case scenario

Failed test found in:
  e2eTests/reports/junit.xml-c9af6d50-b31f-11ef-bbe5-bdbcebb27004.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.scenarios.v2.test.ts:274:33
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.scenarios.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)