Skip to content

Reject update that doesnt provide new info #756

Reject update that doesnt provide new info

Reject update that doesnt provide new info #756

GitHub Actions / E2E report yarn test-poolliquidity failed Nov 29, 2024 in 0s

E2E report yarn test-poolliquidity ❌

Tests failed

❌ e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

17 tests were completed in 217s with 0 passed, 17 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts 8❌ 215s
test/parallel/xyk-pallet.API.pool.deactivatedPromotedPool.test.ts 2❌ 71s
test/parallel/xyk-pallet.API.poolLiqidity.activateLiqudity.test.ts 2❌ 47s
test/parallel/xyk-pallet.API.poolLiqudity.burnTokens.test.ts 2❌ 47s
test/parallel/xyk-pallet.API.poolLiqudity.multipleUserRewards.test.ts 2❌ 47s
test/parallel/xyk-pallet.API.poolLiqudity.sepClaimRewards.test.ts 1❌ 47s

❌ test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts

❌ GIVEN deactivated pool WHEN another user tries to create an equal pool THEN error returns
	Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN deactivated pool WHEN another user tries to mint liquidity in the pool THEN user can do this
	Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN deactivated pool WHEN the user mints liquidity in the pool again THEN liquidity IDs are equal
	Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN deactivated pool WHEN the user tries to swap/multiswap tokens on the deactivated pool THEN error returns
	Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN deactivated pool WHEN sudo try to promote a pool THEN poolPromotion is updated
	Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN deactivated pool WHEN a bootstrap is scheduled for the existing pair THEN the operation fail with pool already exist.
	Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN deactivated pool WHEN call RPCs that work with the pools (e.g., calculate_buy_price_id) THEN zero returns
	Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ GIVEN deactivated pool WHEN user tries to activate the pool THEN error returns
	Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type

❌ test/parallel/xyk-pallet.API.pool.deactivatedPromotedPool.test.ts

❌ GIVEN user create a pool, wait for rewards and then deactivate the pool WHEN call RPC calculate_rewards_amount for this user AND user tries to claim rewards THEN value of amount returns AND rewards are claimed
	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  user create a pool, wait for rewards and then deactivate the pool WHEN the user tries to compound reward on a deactivated pool THEN error returns
	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/xyk-pallet.API.poolLiqidity.activateLiqudity.test.ts

❌ GIVEN a proofOfStake.updatePoolPromotion WHEN the liq token is a regular token, extrinsic 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
❌ Check that a user that deactivate some tokens, put liquidity tokens from frozen to free, then activate some tokens and put liquidity tokens from free to frozen
	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/xyk-pallet.API.poolLiqudity.burnTokens.test.ts

❌ Check that a user can burn tokens when they are activated, and when burning the free, those subtracted first
	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 a user can burn some tokens on a non-promoted 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

❌ test/parallel/xyk-pallet.API.poolLiqudity.multipleUserRewards.test.ts

❌ Users minted a different number of tokens THEN they receive an equivalent amount of 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
❌ One user mints X tokens, other mints those X tokens but splitted in 5 mints at the same block, rewards are equal
	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/xyk-pallet.API.poolLiqudity.sepClaimRewards.test.ts

❌ One user claim all the rewards on every session and other user claim them at the 3rd session, the sum of rewards are equal
	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-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts ► GIVEN deactivated pool WHEN another user tries to create an equal pool THEN error returns

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml
Error:
  Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_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 burnLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:27:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:94:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts ► GIVEN deactivated pool WHEN another user tries to mint liquidity in the pool THEN user can do this

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml
Error:
  Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_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 burnLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:27:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:94:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts ► GIVEN deactivated pool WHEN the user mints liquidity in the pool again THEN liquidity IDs are equal

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml
Error:
  Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_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 burnLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:27:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:94:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts ► GIVEN deactivated pool WHEN the user tries to swap/multiswap tokens on the deactivated pool THEN error returns

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml
Error:
  Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_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 burnLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:27:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:94:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts ► GIVEN deactivated pool WHEN sudo try to promote a pool THEN poolPromotion is updated

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml
Error:
  Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_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 burnLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:27:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:94:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts ► GIVEN deactivated pool WHEN a bootstrap is scheduled for the existing pair THEN the operation fail with pool already exist.

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml
Error:
  Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_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 burnLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:27:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:94:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts ► GIVEN deactivated pool WHEN call RPCs that work with the pools (e.g., calculate_buy_price_id) THEN zero returns

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml
Error:
  Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_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 burnLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:27:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:94:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts ► GIVEN deactivated pool WHEN user tries to activate the pool THEN error returns

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml
Error:
  Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding market.burnLiquidity:: Struct: failed on args: {"pool_id":"u32","liquidity_burn_amount":"u128","min_first_asset_amount":"u128","min_second_asset_amount":"u128"}:: Struct: failed on pool_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 burnLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:27:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:94:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPromotedPool.test.ts ► GIVEN user create a pool, wait for rewards and then deactivate the pool WHEN call RPC calculate_rewards_amount for this user AND user tries to claim rewards THEN value of amount return...

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.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/xyk-pallet.API.pool.deactivatedPromotedPool.test.ts:81:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPromotedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.deactivatedPromotedPool.test.ts ► GIVEN user create a pool, wait for rewards and then deactivate the pool WHEN the user tries to compound reward on a deactivated pool THEN error returns

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.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/xyk-pallet.API.pool.deactivatedPromotedPool.test.ts:81:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.deactivatedPromotedPool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.poolLiqidity.activateLiqudity.test.ts ► GIVEN a proofOfStake.updatePoolPromotion WHEN the liq token is a regular token, extrinsic fail

Failed test found in:
  e2eTests/reports/junit.xml-33468210-ae45-11ef-8882-af9d2e000afa.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/xyk-pallet.API.poolLiqidity.activateLiqudity.test.ts:73:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.activateLiqudity.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)