Skip to content

fixes bench feature flag runtime configs

Sign in for the full log view
GitHub Actions / E2E report yarn test-parallel-3rdPartyRewards failed Nov 28, 2024 in 1s

E2E report yarn test-parallel-3rdPartyRewards ❌

Tests failed

❌ e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

34 tests were completed in 583s with 1 passed, 33 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/parallel/proofOfStake.3rdPartyRewards.accuracy.test.ts 1❌ 534s
test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts 6❌ 47s
test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts 3❌ 47s
test/parallel/proofOfStake.3rdPartyRewards.burning.test.ts 1❌ 30s
test/parallel/proofOfStake.3rdPartyRewards.calim.activated.test.ts 2❌ 30s
test/parallel/proofOfStake.3rdPartyRewards.claim.test.ts 4❌ 545s
test/parallel/proofOfStake.3rdPartyRewards.fees.test.ts 4❌ 48s
test/parallel/proofOfStake.3rdPartyRewards.happyPath.test.ts 1❌ 30s
test/parallel/proofOfStake.3rdPartyRewards.MPL-integration.test.ts 4❌ 48s
test/parallel/proofOfStake.3rdPartyRewards.reusedActivations.test.ts 1❌ 47s
test/parallel/proofOfStake.3rdPartyRewards.setup.test.ts 1✅ 6❌ 131s

❌ test/parallel/proofOfStake.3rdPartyRewards.accuracy.test.ts

Proof of stake tests › Accuracy rewards scenarios
  ❌ User liq. is considered on the ongoing session
	Error: Expected: 0

❌ test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts

Proof of stake tests › Added scenarios with reward activation
  ❌ GIVEN promoted pool AND user with liquidity tokens for this pool WHEN user tries to activate 3rd party rewards for non-promoted liqToken THEN receive 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
  ❌ GIVEN two promoted pool AND user without liquidity tokens for first promoted WHEN user tries to activate 3rd party rewards for reward token THEN receive 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
  ❌ GIVEN promoted two promoted pool AND user with liquidity tokens for first promoted pool WHEN user tries to activate 3rd party rewards for second (reward) token with too many liquidity tokens THEN receive 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
  ❌ GIVEN promoted two promoted pool AND user with liquidity tokens for first promoted pool WHEN user activates 3rd party rewards for non-reward token THEN he cant 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
  ❌ GIVEN promoted two promoted pool AND user with liquidity tokens for first promoted pool WHEN user activates 3rd party rewards for second (reward) token, waits and claims all rewards THEN operation is 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
  ❌ GIVEN promoted two promoted pool AND user with liquidity tokens for first promoted pool WHEN user activates 3rd party rewards for second (reward) token , waits more than one period last AND the user burns all his liquidity THEN users can still claim pending 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/parallel/proofOfStake.3rdPartyRewards.activation.test.ts

Proof of stake tests › Activation rewards scenarios
  ❌ A user can activate some rewards
	Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
  ❌ A user can activate twice some rewards
	Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
  ❌ A user can activate rewards that were activated on some other schedules
	Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type

❌ test/parallel/proofOfStake.3rdPartyRewards.burning.test.ts

Proof of stake tests › Burn liquidity
  ❌ GIVEN a user with N tokens activated for 3rd party, WHEN the user wants to burn ( all the existing - N ) THEN the operation works
	Error: createType(Call):: Call: failed decoding parachainStaking.addStakingLiquidityToken:: Struct: failed on args: {"paired_or_liquidity_token":"{\"_enum\":{\"Paired\":\"u32\",\"Liquidity\":\"u32\"}}","current_liquidity_tokens":"u32"}:: Struct: failed on paired_or_liquidity_token: {"_enum":{"Paired":"u32","Liquidity":"u32"}}:: Enum(Liquidity):: u32: Negative number passed to unsigned type

❌ test/parallel/proofOfStake.3rdPartyRewards.calim.activated.test.ts

Proof of stake tests › Scenarios with reward activation for  promoted pool MGX-Token1, reward pool MGX-Token2
  ❌ GIVEN promoted pool MGX-Token1,  pool MGX-Token2,  pool MGX-Token3 AND user with activated 3rd party rewards of pool MGX-Token1 for Token2 and Token3 WHEN user claim all rewards  THEN he receive 2 type 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
  ❌ GIVEN promoted pool MGX-Token1, pool MGX-Token2 AND user with activated 3rd party rewards of pool MGX-Token1 for Token2 WHEN user deactivates 3rd party rewadrs with too many liquidity tokens THEN receive 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

❌ test/parallel/proofOfStake.3rdPartyRewards.claim.test.ts

Proof of stake tests › Claim rewards scenarios
  ❌ When rewards not available, should return error
	Error: createType(Call):: Call: failed decoding proofOfStake.claim3rdpartyRewards:: Struct: failed on args: {"liquidity_token_id":"u32","reward_token":"u32"}:: Struct: failed on liquidity_token_id: u32:: u32: Negative number passed to unsigned type
  ❌ Rewards are divided in n-sessions
	Error: Expected: 0
  ❌ Two users activated, one in one exec, other in two - check balances
	Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
  ❌ Rewards are not given for the ongoing session it got scheduled
	Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type

❌ test/parallel/proofOfStake.3rdPartyRewards.fees.test.ts

Proof of stake tests › FeeCosts
  ❌ Reward a pool is not free of cost
	Error: thrown: Object {
  ❌ Activate - deactivate is free if success
	Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
  ❌ Activate - deactivate is not free if fails
	Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
  ❌ Claiming is not free if Zero
	Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type

❌ test/parallel/proofOfStake.3rdPartyRewards.happyPath.test.ts

Proof of stake tests › Happy path
  ❌ A user can deactivate all the tokens when partial activation / deactivation
	Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type

❌ test/parallel/proofOfStake.3rdPartyRewards.MPL-integration.test.ts

Proof of stake tests › MPL integration
  ❌ User [testUser1] with: stakedUnactivatedReserves ->  stakedAndActivatedReserves -> stakedUnactivatedReserves
	Error: createType(Call):: Call: failed decoding parachainStaking.addStakingLiquidityToken:: Struct: failed on args: {"paired_or_liquidity_token":"{\"_enum\":{\"Paired\":\"u32\",\"Liquidity\":\"u32\"}}","current_liquidity_tokens":"u32"}:: Struct: failed on paired_or_liquidity_token: {"_enum":{"Paired":"u32","Liquidity":"u32"}}:: Enum(Liquidity):: u32: Negative number passed to unsigned type
  ❌ Bug ? User [testUser2] with: stakedActivatedReserves ->  stakedAndActivatedReserves -> stakedAndActivatedReserves
	Error: createType(Call):: Call: failed decoding parachainStaking.addStakingLiquidityToken:: Struct: failed on args: {"paired_or_liquidity_token":"{\"_enum\":{\"Paired\":\"u32\",\"Liquidity\":\"u32\"}}","current_liquidity_tokens":"u32"}:: Struct: failed on paired_or_liquidity_token: {"_enum":{"Paired":"u32","Liquidity":"u32"}}:: Enum(Liquidity):: u32: Negative number passed to unsigned type
  ❌ User [testUser3] with: activatedUnstakedReserves ->  activatedUnstakedReserves -> activatedUnstakedReserves
	Error: createType(Call):: Call: failed decoding parachainStaking.addStakingLiquidityToken:: Struct: failed on args: {"paired_or_liquidity_token":"{\"_enum\":{\"Paired\":\"u32\",\"Liquidity\":\"u32\"}}","current_liquidity_tokens":"u32"}:: Struct: failed on paired_or_liquidity_token: {"_enum":{"Paired":"u32","Liquidity":"u32"}}:: Enum(Liquidity):: u32: Negative number passed to unsigned type
  ❌ User [testUser4] with: unspentReserves ->  activatedUnstakedReserves -> unspentReserves
	Error: createType(Call):: Call: failed decoding parachainStaking.addStakingLiquidityToken:: Struct: failed on args: {"paired_or_liquidity_token":"{\"_enum\":{\"Paired\":\"u32\",\"Liquidity\":\"u32\"}}","current_liquidity_tokens":"u32"}:: Struct: failed on paired_or_liquidity_token: {"_enum":{"Paired":"u32","Liquidity":"u32"}}:: Enum(Liquidity):: u32: Negative number passed to unsigned type

❌ test/parallel/proofOfStake.3rdPartyRewards.reusedActivations.test.ts

Proof of stake tests › Activations are reused if new rewards
  ❌ A user can activate - finish schedule and get automatically activated for the following schedules
	Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type

❌ test/parallel/proofOfStake.3rdPartyRewards.setup.test.ts

Proof of stake tests › Setup rewards scenarios
  ❌ Multiple users can reward the same pool - same tokens
	Error: expect(received).toBe(expected) // Object.is equality
  ❌ Multiple users can reward multiple pools - token does not belong to the promoted pool
	Error: Expected: -2000000000000000000000000000
  ❌ A user can reward a pool that is not directly paired with mgx
	Error: expect(received).toBe(expected) // Object.is equality
  ❌ A user can reward in mgx
	Error: expect(received).toBe(expected) // Object.is equality
  ✅ Rewards schedule must last at least 1 session ahead
  ❌ Min liq is required setup rewards
	Error: expect(received).toBe(expected) // Object.is equality
  ❌ Min liq valuation is required setup rewards
	Error: expect(received).toBe(expected) // Object.is equality

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.accuracy.test.ts ► Proof of stake tests › Accuracy rewards scenarios ► User liq. is considered on the ongoing session

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.accuracy.test.ts:143:19
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.accuracy.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts ► Proof of stake tests › Added scenarios with reward activation ► GIVEN promoted pool AND user with liquidity tokens for this pool WHEN user tries to activate 3rd party rewards for non...

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.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/proofOfStake.3rdPartyRewards.activation.check.test.ts:89:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts ► Proof of stake tests › Added scenarios with reward activation ► GIVEN two promoted pool AND user without liquidity tokens for first promoted WHEN user tries to activate 3rd party rew...

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.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/proofOfStake.3rdPartyRewards.activation.check.test.ts:89:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts ► Proof of stake tests › Added scenarios with reward activation ► GIVEN promoted two promoted pool AND user with liquidity tokens for first promoted pool WHEN user tries to activate 3r...

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.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/proofOfStake.3rdPartyRewards.activation.check.test.ts:89:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts ► Proof of stake tests › Added scenarios with reward activation ► GIVEN promoted two promoted pool AND user with liquidity tokens for first promoted pool WHEN user activates 3rd party ...

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.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/proofOfStake.3rdPartyRewards.activation.check.test.ts:89:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts ► Proof of stake tests › Added scenarios with reward activation ► GIVEN promoted two promoted pool AND user with liquidity tokens for first promoted pool WHEN user activates 3rd party ...

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.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/proofOfStake.3rdPartyRewards.activation.check.test.ts:89:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts ► Proof of stake tests › Added scenarios with reward activation ► GIVEN promoted two promoted pool AND user with liquidity tokens for first promoted pool WHEN user activates 3rd party ...

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.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/proofOfStake.3rdPartyRewards.activation.check.test.ts:89:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.check.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts ► Proof of stake tests › Activation rewards scenarios ► A user can activate some rewards

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml
Error:
  Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_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.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_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 mintLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:41:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts:134:16
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts ► Proof of stake tests › Activation rewards scenarios ► A user can activate twice some rewards

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml
Error:
  Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_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.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_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 mintLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:41:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts:134:16
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts ► Proof of stake tests › Activation rewards scenarios ► A user can activate rewards that were activated on some other schedules

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml
Error:
  Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_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.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_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 mintLiquidity] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/market.ts:41:26)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts:134:16
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.activation.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-parallel-3rdPartyRewards

test/parallel/proofOfStake.3rdPartyRewards.burning.test.ts ► Proof of stake tests › Burn liquidity ► GIVEN a user with N tokens activated for 3rd party, WHEN the user wants to burn ( all the existing - N ) THEN the operation works

Failed test found in:
  e2eTests/reports/junit.xml-a0fa5900-adb2-11ef-b5c2-73b00e7d0bbd.xml
Error:
  Error: createType(Call):: Call: failed decoding parachainStaking.addStakingLiquidityToken:: Struct: failed on args: {"paired_or_liquidity_token":"{\"_enum\":{\"Paired\":\"u32\",\"Liquidity\":\"u32\"}}","current_liquidity_tokens":"u32"}:: Struct: failed on paired_or_liquidity_token: {"_enum":{"Paired":"u32","Liquidity":"u32"}}:: Enum(Liquidity):: u32: Negative number passed to unsigned type
Raw output
Error: createType(Call):: Call: failed decoding parachainStaking.addStakingLiquidityToken:: Struct: failed on args: {"paired_or_liquidity_token":"{\"_enum\":{\"Paired\":\"u32\",\"Liquidity\":\"u32\"}}","current_liquidity_tokens":"u32"}:: Struct: failed on paired_or_liquidity_token: {"_enum":{"Paired":"u32","Liquidity":"u32"}}:: Enum(Liquidity):: 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 addStakingLiquidityToken] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:488:50)
    at Function.addStakingLiquidityToken (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Staking.ts:79:36)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.burning.test.ts:79:25
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/proofOfStake.3rdPartyRewards.burning.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)