Skip to content

Setup new matrix for run with chops - dynamic matrix #1403

Setup new matrix for run with chops - dynamic matrix

Setup new matrix for run with chops - dynamic matrix #1403

GitHub Actions / E2E report yarn test-experimentalStaking failed Nov 10, 2023 in 1s

E2E report yarn test-experimentalStaking ❌

Tests failed

❌ e2eTests/reports/junit.xml-a9f9ba50-7fc3-11ee-b587-6d9e8299271d.xml

7 tests were completed in 2304s with 4 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/parallel/xyk-pallet.API.parachainStacking.joinCandidate.test.ts 3✅ 1308s
test/staking/API.valuations.test.ts 3❌ 101s
test/staking/happyPath.staking.test.ts 1✅ 895s

✅ test/parallel/xyk-pallet.API.parachainStacking.joinCandidate.test.ts

✅ A user can delegate more using liq token
✅ A User with free tokens can join as collator
✅ A user can schedule and execute bond more

❌ test/staking/API.valuations.test.ts

Collators: MinCandidateStk limit
  ❌ Min Mangatas to be a collator matches with minLiq.
	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
  ❌ Min Mangatas -1 will make joinCollator fail
	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
  ❌ Min Mangatas +1 will make joinCollator work
	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/staking/happyPath.staking.test.ts

HappyPath - staking - a collator producing blocks
  ✅ A user that have plenty of vested tokens can be a collator

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-a9f9ba50-7fc3-11ee-b587-6d9e8299271d.xml

See this annotation in the file changed.

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

test/staking/API.valuations.test.ts ► Collators: MinCandidateStk limit ► Min Mangatas to be a collator matches with minLiq.

Failed test found in:
  e2eTests/reports/junit.xml-a9f9ba50-7fc3-11ee-b587-6d9e8299271d.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:270: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:464:50)
    at Function.addStakingLiquidityToken (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Staking.ts:48:36)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/staking/API.valuations.test.ts:89:25
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/staking/API.valuations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a9f9ba50-7fc3-11ee-b587-6d9e8299271d.xml

See this annotation in the file changed.

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

test/staking/API.valuations.test.ts ► Collators: MinCandidateStk limit ► Min Mangatas -1 will make joinCollator fail

Failed test found in:
  e2eTests/reports/junit.xml-a9f9ba50-7fc3-11ee-b587-6d9e8299271d.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:270: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:464:50)
    at Function.addStakingLiquidityToken (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Staking.ts:48:36)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/staking/API.valuations.test.ts:89:25
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/staking/API.valuations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-a9f9ba50-7fc3-11ee-b587-6d9e8299271d.xml

See this annotation in the file changed.

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

test/staking/API.valuations.test.ts ► Collators: MinCandidateStk limit ► Min Mangatas +1 will make joinCollator work

Failed test found in:
  e2eTests/reports/junit.xml-a9f9ba50-7fc3-11ee-b587-6d9e8299271d.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:270: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:464:50)
    at Function.addStakingLiquidityToken (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Staking.ts:48:36)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/staking/API.valuations.test.ts:89:25
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/staking/API.valuations.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)