Skip to content

CI: GH Actions workflow fixes MGX-668 (#609) #220

CI: GH Actions workflow fixes MGX-668 (#609)

CI: GH Actions workflow fixes MGX-668 (#609) #220

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / E2E report yarn test-sdk failed Oct 11, 2023 in 1s

E2E report yarn test-sdk ❌

Tests failed

❌ e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml

58 tests were completed in 852s with 38 passed, 11 failed and 9 skipped.

Test suite Passed Failed Skipped Time
test/parallel/sdk.API.batch.test.ts 7✔️ 689s
test/parallel/sdk.API.getInfo.test.ts 12✔️ 4❌ 227s
test/parallel/sdk.API.submitableExtrinsic.test.ts 9✔️ 659s
test/parallel/sdk.API.utils.test.ts 8✔️ 851s
test/parallel/xyk-sdk.API.activateLiqudity.test.ts 2✔️ 587s
test/sequential/sdk.API.claimRewards.test.ts 7❌ 191s
test/sequential/xyk-SDK.nonce.test.ts 7✖️ 10s
test/xcm/skip.SDK.imbue.transfer.test.ts 2✖️ 10s

✔️ 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
✔️ Check that when we are using SDK batch function and the second call finishes with error first call finishes successful
✔️ Happy path - batch
✔️ WHEN call batchAll where one item is failed THEN all entire transactions will rollback and fail
✔️ Happy path - batchAll
✔️ WHEN call forceBatch where one item is failed THEN check completed and failed items
✔️ Happy path - forceBatch

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

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

✔️ test/parallel/sdk.API.submitableExtrinsic.test.ts

✔️ activate some Liquidity using SDK THEN claim rewards THEN deactivate Liquidity
✔️ check claimRewards
✔️ check mintLiquidity
✔️ check burnLiquidity
✔️ check createPool
✔️ check multiswapBuyAsset
✔️ check multiswapSellAsset
✔️ check transferTokens
✔️ check transferAllTokens

✔️ test/parallel/sdk.API.utils.test.ts

✔️ GIVEN buyAsset WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
✔️ GIVEN buyAsset WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
✔️ GIVEN sellAsset WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
✔️ GIVEN sellAsset WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
✔️ GIVEN multiSwapBuy WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
✔️ GIVEN multiSwapBuy WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false
✔️ GIVEN multiSwapSell WHEN operation is confirmed AND isMultiSwapAssetTransactionSuccessful THEN it returns true
✔️ GIVEN multiSwapSell WHEN operation is failed AND isMultiSwapAssetTransactionSuccessful THEN it returns false

✔️ test/parallel/xyk-sdk.API.activateLiqudity.test.ts

✔️ Given a user hame some liquidity token THEN he activate them THEN deactivate
✔️ Activate liquidity and claim rewards

❌ 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 an user has available some rewards in two “pools” one solo token, one pool 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

✔️ test/sequential/xyk-SDK.nonce.test.ts

SDK test - Nonce tests - user
  ✖️ SDK- Nonce management - user
  ✖️ SDK- Nonce management - user - parallel
  ✖️ SDK- Nonce management - user - future Tx-
  ✖️ SDK- Nonce management - Extrinsic failed
  ✖️ SDK- Nonce management - Using custom nonce
  ✖️ [BUG?] SDK- Nonce management - Transaction outdated
SDK test - Nonce tests - Errors
  ✖️ [BUG?] SDK- Nonce management - RPC Failure - Not enough balance

✔️ test/xcm/skip.SDK.imbue.transfer.test.ts

XCM tests for Mangata <-> imbue
  ✖️ SDK ROC - mangata transfer assets to imbue
  ✖️ SDK ROC - imbue transfer assets to mangata

Annotations

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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 getAssetsInfo

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'symbol')
Raw output
TypeError: Cannot read properties of undefined (reading 'symbol')
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4099:52
    at Array.reduce (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4096:68
    at Array.reduce (<anonymous>)
    at getAssetsInfo (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4092:150)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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 getLiquidityTokens

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'symbol')
Raw output
TypeError: Cannot read properties of undefined (reading 'symbol')
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4099:52
    at Array.reduce (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4096:68
    at Array.reduce (<anonymous>)
    at getAssetsInfo (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4092:150)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getLiquidityTokens (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4138:22)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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 getOwnedTokens

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'symbol')
Raw output
TypeError: Cannot read properties of undefined (reading 'symbol')
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4099:52
    at Array.reduce (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4096:68
    at Array.reduce (<anonymous>)
    at getAssetsInfo (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4092:150)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at async getOwnedTokens (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4113:41)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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 getTokenInfo

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'symbol')
Raw output
TypeError: Cannot read properties of undefined (reading 'symbol')
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4099:52
    at Array.reduce (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4096:68
    at Array.reduce (<anonymous>)
    at getAssetsInfo (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4092:150)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getTokenInfo (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@mangata-finance/sdk/dist/index.js:4157:22)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml

See this annotation in the file changed.

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

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

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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:267: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:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:216:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:117:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml

See this annotation in the file changed.

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

test/sequential/sdk.API.claimRewards.test.ts ► GIVEN an user has available some rewards in two pools WHEN claims all rewards THEN the user gets the rewards for thats pools

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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:267: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:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:216:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:117:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml

See this annotation in the file changed.

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

test/sequential/sdk.API.claimRewards.test.ts ► 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

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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:267: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:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:216:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:117:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml

See this annotation in the file changed.

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

test/sequential/sdk.API.claimRewards.test.ts ► GIVEN an user has available some rewards in two “pools” one solo token, one pool WHEN claims all rewards THEN the user gets the rewards for thats pools

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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:267: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:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:216:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:117:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml

See this annotation in the file changed.

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

test/sequential/sdk.API.claimRewards.test.ts ► 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

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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:267: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:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:216:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:117:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml

See this annotation in the file changed.

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

test/sequential/sdk.API.claimRewards.test.ts ► GIVEN a user has available some rewards in over ten pools WHEN claims all rewards THEN the error is received

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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:267: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:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:216:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:117:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.xml

See this annotation in the file changed.

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

test/sequential/sdk.API.claimRewards.test.ts ► 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

Failed test found in:
  e2eTests/reports/junit-29a9ade0-6837-11ee-9b09-afeaaea5834f.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:267: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:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:216:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:117:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/sdk.API.claimRewards.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)