Skip to content

Use -unrestricted for e2e non-fast tests #769

Use -unrestricted for e2e non-fast tests

Use -unrestricted for e2e non-fast tests #769

GitHub Actions / E2E report yarn test-multiswap failed Dec 2, 2024 in 1s

E2E report yarn test-multiswap ❌

Tests failed

❌ e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

44 tests were completed in 1141s with 0 passed, 43 failed and 1 skipped.

Test suite Passed Failed Skipped Time
test/parallel/utility-pallet.swapOperations.test.ts 24❌ 1⚪ 41s
test/parallel/xyk-pallet.multiswap.errors.test.ts 7❌ 1139s
test/parallel/xyk-pallet.multiswap.test.ts 7❌ 42s
test/parallel/xyk-pallet.multiswap2hops.test.ts 5❌ 53s

❌ test/parallel/utility-pallet.swapOperations.test.ts

⚪ Validate that the error enum is about filtered call
Utility - batched swaps are not allowed
  ❌ multiswapSellAsset operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ multiswapBuyAsset operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ sellAsset operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ buyAsset operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ compoundRewards operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ provideLiquidity operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ multiswapSellAsset operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ multiswapBuyAsset operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ sellAsset operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ buyAsset operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ compoundRewards operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ provideLiquidity operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ multiswapSellAsset operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ multiswapBuyAsset operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ sellAsset operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ buyAsset operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ compoundRewards operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ provideLiquidity operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ multiswapSellAsset operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ multiswapBuyAsset operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ sellAsset operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ buyAsset operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ compoundRewards operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ provideLiquidity operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')

❌ test/parallel/xyk-pallet.multiswap.errors.test.ts

Multiswap - error cases: disabled tokens
  ❌ [gasless] disabled on token of the chained polls
	Error: expect(received).rejects.toThrow(expected)
  ❌ [gasless] disabled on token of the chained polls - Fail on tx execution-2
	Error: thrown: "Tx([0x59b8dffaa5ce77270ee079de51dd629517510b83d61d6d3ad6d778b702b987fc]) Transaction error"
  ❌ [gasless] disabled on token of the chained polls - Fail on tx execution-4
	Error: thrown: "Tx([0xb45f6159c5b114035e5c6e13a43215790814d3ee85c516415349be74bc1cca40]) Transaction error"
Multiswap - error cases: pool status & gasless integration
  ❌ [gasless] High value swaps are disabled on multiswap
	Error: thrown: "Tx([0x7ff16e8fd1f16bd97b86f5427bd52f117445f1e09b682cabd2a2aa632ee0debc]) Transaction error"
  ❌ [gasless] Fail on client when not enough MGAs to lock AND tokens that exist whitelist
	Error: thrown: "Tx([0x7ff16e8fd1f16bd97b86f5427bd52f117445f1e09b682cabd2a2aa632ee0debc]) Transaction error"
  ❌ [gasless] Fail on swap when selling remove all MGAs
	Error: thrown: "Tx([0x7ff16e8fd1f16bd97b86f5427bd52f117445f1e09b682cabd2a2aa632ee0debc]) Transaction error"
  ❌ [gasless] Fails on client when pool does not exist
	Error: thrown: "Tx([0x7ff16e8fd1f16bd97b86f5427bd52f117445f1e09b682cabd2a2aa632ee0debc]) Transaction error"

❌ test/parallel/xyk-pallet.multiswap.test.ts

Multiswap - happy paths
  ❌ [gasless] Happy path - multi-swap - buy
	TypeError: Cannot read properties of undefined (reading 'multiswapBuyAsset')
  ❌ [gasless] Happy path - multi-swap - sell
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ [gasless] Happy path - multi-swap uses feeLocks
	TypeError: Cannot read properties of undefined (reading 'multiswapBuyAsset')
  ❌ [gasless] Fees - multi-swap roll backs all the swaps when one fail but 0.3% is charged
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ [gasless] accuracy - Sum of calculate_sell_asset chained is equal to the multiswap operation
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ [gasless] accuracy - Sum of calculate_buy_asset chained is equal to the multiswap operation
	TypeError: Cannot read properties of undefined (reading 'multiswapBuyAsset')
  ❌ [gasless] alternative scenario - one pool is highly unbalanced -> zero swap output
	TypeError: Cannot read properties of undefined (reading 'burnLiquidity')

❌ test/parallel/xyk-pallet.multiswap2hops.test.ts

Multiswap [2 hops] - happy paths
  ❌ [gasless] Happy path - multi-swap - buy
	TypeError: Cannot read properties of undefined (reading 'multiswapBuyAsset')
  ❌ [gasless] Happy path - multi-swap - sell
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ [gasless] Happy path - multi-swap uses feeLocks
	TypeError: Cannot read properties of undefined (reading 'multiswapBuyAsset')
  ❌ [gasless] Fees - multi-swap roll backs all the swaps when one fail but 0.3% is charged
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
  ❌ [gasless] accuracy - Sum of calculate_sell_asset chained is equal to the multiswap operation
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► multiswapSellAsset operation is not allowed in batchAll

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► multiswapBuyAsset operation is not allowed in batchAll

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► sellAsset operation is not allowed in batchAll

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► buyAsset operation is not allowed in batchAll

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► compoundRewards operation is not allowed in batchAll

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► provideLiquidity operation is not allowed in batchAll

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► multiswapSellAsset operation is not allowed in batch

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► multiswapBuyAsset operation is not allowed in batch

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► sellAsset operation is not allowed in batch

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► buyAsset operation is not allowed in batch

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-multiswap

test/parallel/utility-pallet.swapOperations.test.ts ► Utility - batched swaps are not allowed ► compoundRewards operation is not allowed in batch

Failed test found in:
  e2eTests/reports/junit.xml-c0c77dd0-b0a0-11ef-80b0-51567f46e068.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at Function.multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:82:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:64:31
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/utility-pallet.swapOperations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)