GASP-1625 Feature/locked tokens #749
E2E report yarn test-sdk ❌
❌ e2eTests/reports/junit.xml-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
48 tests were completed in 199s with 0 passed, 48 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/parallel/sdk.API.batch.test.ts | 7❌ | 47s | ||
test/parallel/sdk.API.getInfo.test.ts | 16❌ | 47s | ||
test/parallel/sdk.API.submitableExtrinsic.test.ts | 9❌ | 47s | ||
test/parallel/sdk.API.utils.test.ts | 8❌ | 197s | ||
test/parallel/xyk-sdk.API.activateLiqudity.test.ts | 2❌ | 47s | ||
test/sequential/sdk.API.claimRewards.test.ts | 6❌ | 71s |
❌ 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
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ Check that when we are using SDK batch function and the second call finishes with error first call finishes successful
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ Happy path - batch
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ WHEN call batchAll where one item is failed THEN all entire transactions will rollback and fail
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ Happy path - batchAll
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ WHEN call forceBatch where one item is failed THEN check completed and failed items
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ Happy path - forceBatch
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ test/parallel/sdk.API.getInfo.test.ts
❌ getAmountOfTokensInPool return poolAmount AND in reverse list of token we recived equal result
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check parameters of getInvestedPools function
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check parameters of getLiquidityTokenIds function
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check parameters of getPool function
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check parameters of getPools function
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check parameters of getTotalIssuance functions
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check parameters of getChain function
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check parameters of getNodeName function
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check parameters of getNodeVersion function
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check waitForNewBlock
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check calculateMintingFutureRewards
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check getAssetsInfo
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check getLiquidityTokens
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check getOwnedTokens
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check getTokenInfo
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ sdk - filter deactivated pools on node
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ test/parallel/sdk.API.submitableExtrinsic.test.ts
❌ activate some Liquidity using SDK THEN claim rewards THEN deactivate Liquidity
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check claimRewards
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check mintLiquidity
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check burnLiquidity
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check createPool
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check multiswapBuyAsset
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check multiswapSellAsset
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check transferTokens
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ check transferAllTokens
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ 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 'buyAsset')
❌ GIVEN buyAsset WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
TypeError: Cannot read properties of undefined (reading 'buyAsset')
❌ GIVEN sellAsset WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
TypeError: Cannot read properties of undefined (reading 'sellAsset')
❌ GIVEN sellAsset WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
TypeError: Cannot read properties of undefined (reading 'sellAsset')
❌ GIVEN multiSwapBuy WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
TypeError: Cannot read properties of undefined (reading 'multiswapBuyAsset')
❌ GIVEN multiSwapBuy WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
TypeError: Cannot read properties of undefined (reading 'multiswapBuyAsset')
❌ GIVEN multiSwapSell WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
❌ GIVEN multiSwapSell WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
❌ test/parallel/xyk-sdk.API.activateLiqudity.test.ts
❌ Given a user hame some liquidity token THEN he activate them THEN deactivate
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ Activate liquidity and claim rewards
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ 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
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN an user has available some rewards in two pools WHEN claims all rewards THEN the user gets the rewards for thats pools
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ 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
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ 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
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN a user has available some rewards in over ten pools WHEN claims all rewards THEN the error is received
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
❌ 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
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:69:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:69:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:69:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:69:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:69:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:69:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.batch.test.ts:69:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.getInfo.test.ts:88:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.getInfo.test.ts:88:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.getInfo.test.ts:88:42
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
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-c3426620-adb1-11ef-bdc3-d51838c7b638.xml
Error:
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding proofOfStake.updatePoolPromotion:: Struct: failed on args: {"liquidity_token_id":"u32","liquidity_mining_issuance_weight":"u8"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
at createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types-create/create/type.js:51:22)
at TypeRegistry.createTypeUnsafe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/create/registry.js:226:16)
at extrinsicFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js:13:25)
at Object.decorated [as updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:267:28)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.getInfo.test.ts:88:42
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)