Reject update that doesnt provide new info #756
E2E report yarn test-sequential-autocompound ❌
❌ e2eTests/reports/junit.xml-d2510930-ae44-11ef-bd29-25a3c317f696.xml
7 tests were completed in 54s with 0 passed, 7 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/rewardsv2.poolLiquidityRewards.test.ts | 4❌ | 30s | ||
test/story/rewardsStory.test.ts | 3❌ | 24s |
❌ 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 'mintLiquidity')
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-d2510930-ae44-11ef-bd29-25a3c317f696.xml
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-d2510930-ae44-11ef-bd29-25a3c317f696.xml
Error:
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
at mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3854:25)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-d2510930-ae44-11ef-bd29-25a3c317f696.xml
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-d2510930-ae44-11ef-bd29-25a3c317f696.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:226:16)
at RpcCore._formatParams (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:295:34)
at callWithRegistry (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:182:33)
at Observable._subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:190: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-d2510930-ae44-11ef-bd29-25a3c317f696.xml
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-d2510930-ae44-11ef-bd29-25a3c317f696.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:226:16)
at RpcCore._formatParams (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:295:34)
at callWithRegistry (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:182:33)
at Observable._subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:190: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-d2510930-ae44-11ef-bd29-25a3c317f696.xml
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-d2510930-ae44-11ef-bd29-25a3c317f696.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:226:16)
at RpcCore._formatParams (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:295:34)
at callWithRegistry (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:182:33)
at Observable._subscribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/@polkadot/rpc-core/bundle.js:190: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-d2510930-ae44-11ef-bd29-25a3c317f696.xml
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-d2510930-ae44-11ef-bd29-25a3c317f696.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/story/rewardsStory.test.ts:145: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-d2510930-ae44-11ef-bd29-25a3c317f696.xml
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-d2510930-ae44-11ef-bd29-25a3c317f696.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/story/rewardsStory.test.ts:145: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-d2510930-ae44-11ef-bd29-25a3c317f696.xml
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-d2510930-ae44-11ef-bd29-25a3c317f696.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/story/rewardsStory.test.ts:145: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)