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-sequential-autocompound failed Nov 10, 2023 in 1s

E2E report yarn test-sequential-autocompound ❌

Tests failed

❌ e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml

7 tests were completed in 204s with 0 passed, 7 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/rewardsv2.poolLiquidityRewards.test.ts 4❌ 108s
test/story/rewardsStory.test.ts 3❌ 96s

❌ test/sequential/rewardsv2.poolLiquidityRewards.test.ts

rewards v2 tests › Error cases
  ❌ Given a user with Liquidity on non promoted pool When tries to activate Then extrinsic fail
	TypeError: Cannot read properties of undefined (reading 'toString')
rewards v2 tests › A user can get rewards
  ❌ Given a user with Liquidity activated When tries to deactivate Then the user gets all tokens burn and rewards amount are readable in RPC THEN the user can claim them
	Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
  ❌ Given a user with Liquidity activated When tries to burn some Then the user gets automatically deactivated that amount And rewards are stored in NotYetClaimed section in rewards info
	Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
  ❌ Given a user with Liquidity activated When tries to mint some more Then the user activated amount will grow on that value
	Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type

❌ test/story/rewardsStory.test.ts

Story tests > Rewards - autocompound
  ❌ Given a user1 with minted tokens when two sessions happen, then there are available 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 user2 WHEN available rewards can claim and mgas are increased
	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 user3 WHEN available rewards can autocompund
	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-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-autocompound

test/sequential/rewardsv2.poolLiquidityRewards.test.ts ► rewards v2 tests › Error cases ► Given a user with Liquidity on non promoted pool When tries to activate Then extrinsic fail

Failed test found in:
  e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'toString')
Raw output
TypeError: Cannot read properties of undefined (reading 'toString')
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:794:34
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:10:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-autocompound

test/sequential/rewardsv2.poolLiquidityRewards.test.ts ► rewards v2 tests › A user can get rewards ► Given a user with Liquidity activated When tries to deactivate Then the user gets all tokens burn and rewards amount are readable in RPC THEN the user ...

Failed test found in:
  e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml
Error:
  Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
Raw output
Error: createType(Vec<StorageKey>):: createType(Lookup4):: 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 RpcCore._formatParams (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:289:34)
    at callWithRegistry (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:176:33)
    at Observable._subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:184:17)
    at Observable.Object.<anonymous>.Observable._trySubscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:244:19)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:234:18
    at Object.errorContext (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
    at Observable.Object.<anonymous>.Observable.subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:220:5)
    at ConnectableObservable.Object.<anonymous>.ConnectableObservable.connect (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/observable/ConnectableObservable.ts:72:21)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/refCount.ts:116:57
    at OperatorSubscriber.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/lift.ts:24:18)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:226:22
    at Object.errorContext (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
    at Observable.Object.<anonymous>.Observable.subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:220:5)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/switchMap.ts:109:49
    at OperatorSubscriber._this._next (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13)
    at OperatorSubscriber.Object.<anonymous>.Subscriber.next (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/observable/innerFrom.ts:90:24

Check failure on line 0 in e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-autocompound

test/sequential/rewardsv2.poolLiquidityRewards.test.ts ► rewards v2 tests › A user can get rewards ► Given a user with Liquidity activated When tries to burn some Then the user gets automatically deactivated that amount And rewards are stored in NotYet...

Failed test found in:
  e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml
Error:
  Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
Raw output
Error: createType(Vec<StorageKey>):: createType(Lookup4):: 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 RpcCore._formatParams (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:289:34)
    at callWithRegistry (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:176:33)
    at Observable._subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:184:17)
    at Observable.Object.<anonymous>.Observable._trySubscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:244:19)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:234:18
    at Object.errorContext (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
    at Observable.Object.<anonymous>.Observable.subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:220:5)
    at ConnectableObservable.Object.<anonymous>.ConnectableObservable.connect (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/observable/ConnectableObservable.ts:72:21)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/refCount.ts:116:57
    at OperatorSubscriber.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/lift.ts:24:18)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:226:22
    at Object.errorContext (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
    at Observable.Object.<anonymous>.Observable.subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:220:5)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/switchMap.ts:109:49
    at OperatorSubscriber._this._next (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13)
    at OperatorSubscriber.Object.<anonymous>.Subscriber.next (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/observable/innerFrom.ts:90:24

Check failure on line 0 in e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-autocompound

test/sequential/rewardsv2.poolLiquidityRewards.test.ts ► rewards v2 tests › A user can get rewards ► Given a user with Liquidity activated When tries to mint some more Then the user activated amount will grow on that value

Failed test found in:
  e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml
Error:
  Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
Raw output
Error: createType(Vec<StorageKey>):: createType(Lookup4):: 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 RpcCore._formatParams (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:289:34)
    at callWithRegistry (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:176:33)
    at Observable._subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:184:17)
    at Observable.Object.<anonymous>.Observable._trySubscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:244:19)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:234:18
    at Object.errorContext (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
    at Observable.Object.<anonymous>.Observable.subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:220:5)
    at ConnectableObservable.Object.<anonymous>.ConnectableObservable.connect (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/observable/ConnectableObservable.ts:72:21)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/refCount.ts:116:57
    at OperatorSubscriber.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/lift.ts:24:18)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:226:22
    at Object.errorContext (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
    at Observable.Object.<anonymous>.Observable.subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Observable.ts:220:5)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/switchMap.ts:109:49
    at OperatorSubscriber._this._next (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13)
    at OperatorSubscriber.Object.<anonymous>.Subscriber.next (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/rxjs/src/internal/observable/innerFrom.ts:90:24

Check failure on line 0 in e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-autocompound

test/story/rewardsStory.test.ts ► Story tests > Rewards - autocompound ► Given a user1 with minted tokens when two sessions happen, then there are available rewards

Failed test found in:
  e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.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: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 updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:222:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/story/rewardsStory.test.ts:146:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/story/rewardsStory.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-autocompound

test/story/rewardsStory.test.ts ► Story tests > Rewards - autocompound ► Given a user2 WHEN available rewards can claim and mgas are increased

Failed test found in:
  e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.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: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 updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:222:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/story/rewardsStory.test.ts:146:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/story/rewardsStory.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-autocompound

test/story/rewardsStory.test.ts ► Story tests > Rewards - autocompound ► Given a user3 WHEN available rewards can autocompund

Failed test found in:
  e2eTests/reports/junit.xml-c2b74ad0-7fbe-11ee-9392-8bda20ee74ea.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: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 updatePoolPromotion] (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/api/base/Decorate.js:464:50)
    at Function.promotePool (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Assets.ts:222:28)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/story/rewardsStory.test.ts:146:12
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/story/rewardsStory.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)