Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 23 commits into from

Merge branch 'develop' into feature/runWithchops

0c2aac7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

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

Merge branch 'develop' into feature/runWithchops
0c2aac7
Select commit
Loading
Failed to load commit list.
GitHub Actions / E2E report yarn test-experimentalStaking failed Nov 14, 2023 in 1s

E2E report yarn test-experimentalStaking ❌

Tests failed

❌ e2eTests/reports/junit.xml-44800910-8309-11ee-825c-b9400b07435b.xml

7 tests were completed in 2364s 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❌ 159s
test/staking/happyPath.staking.test.ts 1✅ 898s

✅ 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-44800910-8309-11ee-825c-b9400b07435b.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-44800910-8309-11ee-825c-b9400b07435b.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-44800910-8309-11ee-825c-b9400b07435b.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-44800910-8309-11ee-825c-b9400b07435b.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-44800910-8309-11ee-825c-b9400b07435b.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-44800910-8309-11ee-825c-b9400b07435b.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)