E2E report yarn test-parallel-autocompound ❌
❌ e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
23 tests were completed in 205s with 0 passed, 23 failed and 0 skipped.
❌ test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts
Accuracy > Shared pool
❌ Each user who minted owns the same % of tokens - one user gets extra token
Error: thrown: Object {
❌ Each user who minted onws the same % of tokens - two users gets the extra
Error: thrown: Object {
❌ Each user who minted onws the same % of tokens - divisible by 3
Error: thrown: Object {
❌ Each user who minted different % of tokens [50k,25k,5k]- get diff amounts
Error: thrown: Object {
❌ Given 3 users that minted liquidity WHEN only one activated the rewards THEN all rewards belongs to him on this pool
Error: thrown: Object {
❌ test/parallel/xyk-pallet.API.parachainStacking.activateRewards.test.ts
❌ Given a user with bonded but not activated liq tokens WHEN he tries to activate THEN the tokens are activated for rewards
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/xyk-pallet.API.pool.deactivatedLiq.test.ts
❌ GIVEN a disabled pool the user can still interact with it: Burn, deactivate Liq
TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
❌ test/parallel/xyk-pallet.API.pool.promoting.test.ts
❌ GIVEN a promoted pool WHEN more pools gets activated THEN shares are decreased and equally divided among all the activated pools
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/xyk-pallet.API.pool.weightedPools.test.ts
❌ Check that we can get the list of promoted pools with proofOfStake.promotedPoolRewards data storage
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
❌ Validate that weight can be modified by using updatePoolPromotion AND only sudo can update weights
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
❌ Testing that the sum of the weights can be greater than 100
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 pool WHEN it has configured with 0 THEN no new issuance will be reserved
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 deactivated pool WHEN its configured with more weight, THEN rewards are now active, new users can get portion of those rewards AND issuance grows
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 activated pool WHEN pool was deactivated THEN check that the user will still get some rewards from the curve, and storage is updated
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.claimReward.test.ts
❌ Check that rewards are generated and can be claimed on each session, then burn all tokens and rewards wont be available
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 pool with 2 users with activated rewards WHEN more than one period last AND the user burn all liquidity THEN pool is destroyed but 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
❌ Given a pool with user with activated rewards WHEN it was deactivated AND activated again THEN the user can receive a reward in both a deactivated and activated 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.poolLiqidity.mintLiqudity.test.ts
❌ Check that a user that mints on a promoted pool liquidity tokens are reserved
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 mints on a non-promoted pool liquidity tokens are free
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 3 pool: token1-MGX, token2-MGX and token1-token2 WHEN token1-token2 is promoted THEN user can receive rewards from token1-token2 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.validateStatus.test.ts
Validate initial status
❌ User just minted on a 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
❌ User just minted and rewards generated
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
❌ User just minted on a promoted pool and after rewards being generated mint some more
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-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts ► Accuracy > Shared pool ► Each user who minted owns the same % of tokens - one user gets extra token
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
Error:
Error: thrown: Object {
Raw output
Error: thrown: Object {
"data": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low",
}
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:91:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:90:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts ► Accuracy > Shared pool ► Each user who minted onws the same % of tokens - two users gets the extra
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
Error:
Error: thrown: Object {
Raw output
Error: thrown: Object {
"data": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low",
}
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:91:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:90:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts ► Accuracy > Shared pool ► Each user who minted onws the same % of tokens - divisible by 3
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
Error:
Error: thrown: Object {
Raw output
Error: thrown: Object {
"data": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low",
}
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:91:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:90:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts ► Accuracy > Shared pool ► Each user who minted different % of tokens [50k,25k,5k]- get diff amounts
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
Error:
Error: thrown: Object {
Raw output
Error: thrown: Object {
"data": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low",
}
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:91:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:90:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts ► Given 3 users that minted liquidity WHEN only one activated the rewards THEN all rewards belongs to him on this pool
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
Error:
Error: thrown: Object {
Raw output
Error: thrown: Object {
"data": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low",
}
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:238:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.parachainStacking.activateRewards.test.ts ► Given a user with bonded but not activated liq tokens WHEN he tries to activate THEN the tokens are activated for rewards
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.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/xyk-pallet.API.parachainStacking.activateRewards.test.ts:74:23
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.parachainStacking.activateRewards.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.pool.deactivatedLiq.test.ts ► GIVEN a disabled pool the user can still interact with it: Burn, deactivate Liq
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
Error:
TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
at burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3805:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.pool.promoting.test.ts ► GIVEN a promoted pool WHEN more pools gets activated THEN shares are decreased and equally divided among all the activated pools
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.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/xyk-pallet.API.pool.promoting.test.ts:105:14
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.promoting.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.pool.weightedPools.test.ts ► Check that we can get the list of promoted pools with proofOfStake.promotedPoolRewards data storage
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.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.weightedPools.test.ts:83:12
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.weightedPools.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.pool.weightedPools.test.ts ► Validate that weight can be modified by using updatePoolPromotion AND only sudo can update weights
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.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.weightedPools.test.ts:83:12
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.weightedPools.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.xml
github-actions / E2E report yarn test-parallel-autocompound
test/parallel/xyk-pallet.API.pool.weightedPools.test.ts ► Testing that the sum of the weights can be greater than 100
Failed test found in:
e2eTests/reports/junit.xml-2ce341a0-ae37-11ef-b12e-c714a444f3d7.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.weightedPools.test.ts:83:12
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.weightedPools.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)