Skip to content

Rolldown on_idle_hook & configurable dispute period #740

Rolldown on_idle_hook & configurable dispute period

Rolldown on_idle_hook & configurable dispute period #740

GitHub Actions / E2E report yarn test-multiswap failed Nov 27, 2024 in 1s

E2E report yarn test-multiswap ❌

Tests failed

❌ e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.xml

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

Test suite Passed Failed Skipped Time
test/parallel/utility-pallet.swapOperations.test.ts 24❌ 1⚪ 21s
test/parallel/xyk-pallet.multiswap.errors.test.ts 7❌ 26s
test/parallel/xyk-pallet.multiswap.test.ts 7❌ 20s
test/parallel/xyk-pallet.multiswap2hops.test.ts 5❌ 21s

❌ 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 'createPool')
  ❌ multiswapBuyAsset operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ sellAsset operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ buyAsset operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ compoundRewards operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ provideLiquidity operation is not allowed in batchAll
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ multiswapSellAsset operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ multiswapBuyAsset operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ sellAsset operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ buyAsset operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ compoundRewards operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ provideLiquidity operation is not allowed in batch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ multiswapSellAsset operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ multiswapBuyAsset operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ sellAsset operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ buyAsset operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ compoundRewards operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ provideLiquidity operation is not allowed in forceBatch
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ multiswapSellAsset operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ multiswapBuyAsset operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ sellAsset operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ buyAsset operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ compoundRewards operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ provideLiquidity operation is not allowed in singleBatch with some allowed
	TypeError: Cannot read properties of undefined (reading 'createPool')

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

Multiswap - error cases: disabled tokens
  ❌ [gasless] disabled on token of the chained polls
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ [gasless] disabled on token of the chained polls - Fail on tx execution-2
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ [gasless] disabled on token of the chained polls - Fail on tx execution-4
	TypeError: Cannot read properties of undefined (reading 'createPool')
Multiswap - error cases: pool status & gasless integration
  ❌ [gasless] High value swaps are disabled on multiswap
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ [gasless] Fail on client when not enough MGAs to lock AND tokens that exist whitelist
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ [gasless] Fail on swap when selling remove all MGAs
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ [gasless] Fails on client when pool does not exist
	TypeError: Cannot read properties of undefined (reading 'createPool')

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

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

❌ 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 'createPool')
  ❌ [gasless] Happy path - multi-swap - sell
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ [gasless] Happy path - multi-swap uses feeLocks
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ [gasless] Fees - multi-swap roll backs all the swaps when one fail but 0.3% is charged
	TypeError: Cannot read properties of undefined (reading 'createPool')
  ❌ [gasless] accuracy - Sum of calculate_sell_asset chained is equal to the multiswap operation
	TypeError: Cannot read properties of undefined (reading 'createPool')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)

Check failure on line 0 in e2eTests/reports/junit.xml-ec213160-acae-11ef-a216-9567895139ea.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-ec213160-acae-11ef-a216-9567895139ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'createPool')
Raw output
TypeError: Cannot read properties of undefined (reading 'createPool')
    at Function.createPool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:12:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:155:11
    at Array.forEach (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:153:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/setup.ts:4:58)