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-sdk failed Nov 27, 2024 in 1s

E2E report yarn test-sdk ❌

Tests failed

❌ e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

48 tests were completed in 55s with 0 passed, 48 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/parallel/sdk.API.batch.test.ts 7❌ 35s
test/parallel/sdk.API.getInfo.test.ts 16❌ 35s
test/parallel/sdk.API.submitableExtrinsic.test.ts 9❌ 35s
test/parallel/sdk.API.utils.test.ts 8❌ 35s
test/parallel/xyk-sdk.API.activateLiqudity.test.ts 2❌ 35s
test/sequential/sdk.API.claimRewards.test.ts 6❌ 53s

❌ test/parallel/sdk.API.batch.test.ts

❌ Check that when we are using SDK batch function and the first call finishes with error next call doesn't finish
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ Check that when we are using SDK batch function and the second call finishes with error first call finishes successful
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ Happy path - batch
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ WHEN call batchAll where one item is failed THEN all entire transactions will rollback and fail
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ Happy path - batchAll
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ WHEN call forceBatch where one item is failed THEN check completed and failed items
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ Happy path - forceBatch
	TypeError: Cannot read properties of undefined (reading 'createPool')

❌ test/parallel/sdk.API.getInfo.test.ts

❌ getAmountOfTokensInPool return poolAmount AND in reverse list of token we recived equal result
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check parameters of getInvestedPools function
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check parameters of getLiquidityTokenIds function
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check parameters of getPool function
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check parameters of getPools function
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check parameters of getTotalIssuance functions
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check parameters of getChain function
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check parameters of getNodeName function
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check parameters of getNodeVersion function
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check waitForNewBlock
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check calculateMintingFutureRewards
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check getAssetsInfo
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check getLiquidityTokens
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check getOwnedTokens
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check getTokenInfo
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ sdk - filter deactivated pools on node
	TypeError: Cannot read properties of undefined (reading 'createPool')

❌ test/parallel/sdk.API.submitableExtrinsic.test.ts

❌ activate some Liquidity using SDK THEN claim rewards THEN deactivate Liquidity
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check claimRewards
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check mintLiquidity
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check burnLiquidity
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check createPool
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check multiswapBuyAsset
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check multiswapSellAsset
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check transferTokens
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ check transferAllTokens
	TypeError: Cannot read properties of undefined (reading 'createPool')

❌ test/parallel/sdk.API.utils.test.ts

❌ GIVEN buyAsset WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN buyAsset WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN sellAsset WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN sellAsset WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN multiSwapBuy WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN multiSwapBuy WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN multiSwapSell WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN multiSwapSell WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
	TypeError: Cannot read properties of undefined (reading 'createPool')

❌ test/parallel/xyk-sdk.API.activateLiqudity.test.ts

❌ Given a user hame some liquidity token THEN he activate them THEN deactivate
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ Activate liquidity and claim rewards
	TypeError: Cannot read properties of undefined (reading 'createPool')

❌ test/sequential/sdk.API.claimRewards.test.ts

❌ GIVEN an user has available some rewards in one pool WHEN claims all rewards THEN the user gets the rewards for that pool
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN an user has available some rewards in two pools WHEN claims all rewards THEN the user gets the rewards for thats pools
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN an user has available some rewards in two pools one deactivated WHEN claims all rewards THEN the user gets the rewards for thats pools
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN a user that has available some rewards in ten pools max for automatically claiming WHEN claims all rewards THEN the user gets the rewards for thats pools
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN a user has available some rewards in over ten pools WHEN claims all rewards THEN the error is received
	TypeError: Cannot read properties of undefined (reading 'createPool')
❌ GIVEN a user has available some rewards in over ten pools AND this user claims some pool manually WHEN claims all rewards THEN the user gets the rewards for all remaining pools
	TypeError: Cannot read properties of undefined (reading 'createPool')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.batch.test.ts ► Check that when we are using SDK batch function and the first call finishes with error next call doesn't finish

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.batch.test.ts:58:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.batch.test.ts ► Check that when we are using SDK batch function and the second call finishes with error first call finishes successful

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.batch.test.ts:58:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.batch.test.ts ► Happy path - batch

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.batch.test.ts:58:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.batch.test.ts ► WHEN call batchAll where one item is failed THEN all entire transactions will rollback and fail

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.batch.test.ts:58:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.batch.test.ts ► Happy path - batchAll

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.batch.test.ts:58:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.batch.test.ts ► WHEN call forceBatch where one item is failed THEN check completed and failed items

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.batch.test.ts:58:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.batch.test.ts ► Happy path - forceBatch

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.batch.test.ts:58:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.getInfo.test.ts ► getAmountOfTokensInPool return poolAmount AND in reverse list of token we recived equal result

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.getInfo.test.ts:77:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.getInfo.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.getInfo.test.ts ► check parameters of getInvestedPools function

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.getInfo.test.ts:77:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.getInfo.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.getInfo.test.ts ► check parameters of getLiquidityTokenIds function

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.getInfo.test.ts:77:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.getInfo.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.xml

See this annotation in the file changed.

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

test/parallel/sdk.API.getInfo.test.ts ► check parameters of getPool function

Failed test found in:
  e2eTests/reports/junit.xml-f8b84e90-acae-11ef-ac25-a3594011e785.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/test/parallel/sdk.API.getInfo.test.ts:77:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.getInfo.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)