Setup new matrix for run with chops - dynamic matrix #636
E2E report yarn test-parallel-chops --max-workers=1 ❌
❌ e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
143 tests were completed in 607s with 37 passed, 106 failed and 0 skipped.
✅ test/fees/api.tx.fees.test.ts
✅ Fees : Transfers are about 5~ MGX
✅ Fees : Transfers are about 0.005~ KSM
✅ Fees : Transfers are about 0.5~ TUR
❌ test/parallel/assetRegistry.getTradeable.rpc.test.ts
AssetRegistry RPC -
❌ GIVEN a token that does not exist on the asset registry THEN it won't be returned in RPC
TypeError: Cannot read properties of undefined (reading 'toString')
✅ GIVEN a token that does exist on the asset registry AND name is empty and symbol is empty and operation disabled is not set THEN it won't be returned in RPC
✅ GIVEN a token that does exist on the asset registry AND name is not empty and symbol is empty and operation disabled is not set THEN it won't be returned in RPC
✅ GIVEN a token that does exist on the asset registry AND name is not empty and symbol is not empty and operation disabled is not set THEN its returned in RPC
✅ GIVEN a token that does exist on the asset registry AND name is not empty and symbol is not empty and operation disabled is false THEN its returned in RPC
✅ GIVEN a token that does exist on the asset registry AND name is not empty and symbol is not empty and operation disabled is true THEN its not returned in RPC
✅ GIVEN a token that belongs to a pool WHEN pool is not disabled THEN the token is not filtered
❌ test/parallel/feelock.autounlock.test.ts
❌ [gasless] Happy path: automatic-unlock
TypeError: Cannot read properties of undefined (reading 'toString')
✅ test/parallel/identity-pallet.API.mainUseCases.test.ts
Identity pallet tests: Main use cases
✅ Check setter & getters for identity pallet and reserves 5k mgas
✅ Check that a user can unset the name with identity pallet and tokens are unreserved
✅ Check that a user can sub one address
❌ test/parallel/sdk.API.rpc.test.ts
SDK tests for rpc functions
❌ Calculate Sell / buy / id
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Get Burn amount , maxInstant burn amount
TypeError: Cannot read properties of undefined (reading 'toString')
✅ Calculate balanced sell amount
❌ test/parallel/xyk-pallet.API.accuracy.no.connected.MGA.fees.test.ts
❌ xyk-pallet - Assets substracted are incremented by 1 - SellAsset
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ test/parallel/xyk-pallet.API.accuracy.tx.fees.test.ts
❌ xyk-pallet - Calculate required MGA fee - CreatePool
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ xyk-pallet - Calculate required MGA fee - BuyAsset
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ test/parallel/xyk-pallet.API.burnLiquidity.error.test.ts
xyk-pallet - Burn liquidity tests: BurnLiquidity Errors:
❌ Burn liquidity assets that does not belong to any pool
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Burn liquidity for more assets than the liquidity pool has issued
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Burn someone else liquidities
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-pallet.API.burnLiquidity.test.ts
xyk-pallet - Burn liquidity tests: when burning liquidity you can
❌ Get affected after a transaction that devaluates X wallet & pool states with [0,0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Burning liquidities provides Burn and settle
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Burning liquidities generates a Liquidity burned event
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-pallet.API.buyAsset.test.ts
xyk-pallet - Buy assets tests: BuyAssets Errors:
❌ Buy assets that does not belong to any pool
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Buy more assets than exists in the pool
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Buy all assets from the the pool
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Buy assets with a high expectation: maxInput -1
TypeError: Cannot read properties of undefined (reading 'toString')
xyk-pallet - Buy assets tests: Buying assets you can
❌ Leave only one asset in the pool
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Buy from a wallet I own into a wallet I do not own
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-pallet.API.mintLiquidity.error.test.ts
xyk-pallet - Mint liquidity tests: MintLiquidity Errors:
❌ Mint liquidity when not enough assetY for minting Xamount
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Mint liquidity when not enough assetX for minting Yamount
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Mint liquidity assets that does not belong to any pool
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Mint liquidity more assets than I own
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Min liquidity, SecondAssetAmount parameter expectation not met
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-pallet.API.mintLiquidity.test.ts
xyk-pallet - Mint liquidity tests: with minting you can
❌ Add all the wallet assets to the pool
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Expect an event when liquidity is minted
TypeError: Cannot read properties of undefined (reading 'toString')
✅ test/parallel/xyk-pallet.API.payment-info.test.ts
✅ GIVEN a paymentInfo request, WHEN extrinsic is sellAsset THEN zero is returned.
✅ GIVEN a paymentInfo request, WHEN extrinsic is multiswapBuyAsset THEN zero is returned
✅ GIVEN a paymentInfo request, WHEN extrinsic is mintLiquidityEvent THEN non-zero is returned
✅ GIVEN a paymentInfo request, WHEN extrinsic is compoundRewards THEN non-zero is returned
✅ GIVEN a paymentInfo request, WHEN extrinsic is provideLiquidityWithId THEN non-zero is returned
✅ GIVEN a paymentInfo request, WHEN extrinsic is a batch with a sell/buy operation THEN non-zero is returned AND the extrinsic will fail because sell/buy are forbidden in batches tx
❌ test/parallel/xyk-pallet.API.pool.test.ts
xyk-pallet - Poll creation: Errors:
❌ Create x-y and y-x pool
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ Create pool with zero
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ Not enough assets
TypeError: Cannot read properties of undefined (reading 'amountBefore')
xyk-pallet - Pool tests: a pool can:
❌ be minted
Error: expect(received).toEqual(expected) // deep equality
❌ be burn
Error: expect(received).toEqual(expected) // deep equality
xyk-pallet - Pool opeations: Simmetry
❌ GetBalance x-y and y-x pool
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ Minting x-y and y-x pool
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ Burning x-y and y-x pool
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ GetLiquidityAssetID x-y and y-x pool
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ test/parallel/xyk-pallet.API.poolVestedToken.test.ts
xyk-pallet - Vested token tests: which action you can do with vesting token
❌ xyk-pallet- check that vested liqidity tokens can not be used for burning or transfering
Error: --- TX Mapping issue ---
❌ xyk-pallet- check that unlocking tokens are free to use when the relock time is done
Error: --- TX Mapping issue ---
❌ xyk-pallet- check that all unlocking vesting tokens can be burned
Error: --- TX Mapping issue ---
❌ xyk-pallet- check that if pool not promoted then the extrinsic failed
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.API.provideLiquidity.test.ts
❌ Function provideLiquidityWithConversion does not work with non-mga paired token
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
❌ A user without any liq token, can use provideLiquidityWithConversion to mint some tokens.
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
❌ A user without any liq token, can use provideLiquidityWithConversion to mint some tokens 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
❌ A user who uses provideLiquidityWithConversion and other who do manually a swap + mint, gets the similar ratio of liquidity tokens.
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.sellAsset.test.ts
xyk-pallet - Sell assets tests: SellAsset Errors:
❌ Sell assets that does not belong to any pool
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ Try sell more assets than owned
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ Sell assets with a high expectation: limit +1
TypeError: Cannot read properties of undefined (reading 'amountBefore')
xyk-pallet - Sell assets tests: Selling Assets you can
❌ Sell assets with a high expectation: limit - OK
TypeError: Cannot read properties of undefined (reading 'toString')
❌ Sell assets from a wallet I own into a wallet I do not own: limit
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-pallet.API.treasury.no.connected.mangata.test.ts
xyk-pallet - treasury tests [No Mangata]: on treasury we store
❌ assets won when assets are sold - 5 [no connected to MGA]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ assets won when assets are sold - 1 [rounding] [no connected to MGA]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ assets won when assets are bought - 2 [no connected to MGA]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ assets won when assets are bought - 1 [no connected to MGA]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-pallet.asset.buy.test.ts
❌ xyk-pallet - AssetsOperation: buyAsset [maxAmountIn = 1M], buy asset
TypeError: Cannot read properties of undefined (reading 'toString')
❌ xyk-pallet - AssetsOperation: buyAsset [maxAmountIn = 1M], sell a bought asset
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-pallet.asset.register.test.ts
❌ register new asset from sudo user
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ try to register a new asset from non-sudo user, expect to fail
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ register new asset and then update it by sudo user
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ register new asset and then update it by non sudo user, expect to fail
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ register new asset and then update it without the location
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ register new asset and then update it without fee
TypeError: Cannot read properties of undefined (reading 'toNumber')
❌ register asset and then try to register new one with the same assetId, expect to conflict
TypeError: Cannot read properties of undefined (reading 'toNumber')
✅ register asset with xyk disabled and try to create a pool, expect to fail
✅ register asset with xyk undefined and try to create a pool, expect success
✅ register asset with xyk enabled and try to create a pool, expect success
❌ test/parallel/xyk-pallet.asset.sell.test.ts
❌ xyk-pallet - AssetsOperation: sellAsset [minAmountOut = 0] , first to second currency
TypeError: Cannot read properties of undefined (reading 'toString')
❌ xyk-pallet - AssetsOperation: sellAsset [minAmountOut = 0], sell an already sold asset
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-pallet.asset.transfer.test.ts
❌ xyk-pallet - AssetsOperation: transferAsset
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ xyk-pallet - AssetsOperation: transferAll
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ test/parallel/xyk-pallet.liquidity.test.ts
❌ xyk-pallet - Liqudity : Burn part of the liquidity
Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
❌ xyk-pallet - Liqudity : Burn all the liquidity
Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
❌ xyk-pallet - LiquidityOperation: mintLiquidity
Error: createType(Vec<StorageKey>):: createType(Lookup4):: u32: Negative number passed to unsigned type
❌ test/parallel/xyk-pallet.MPL.test.ts
MPL: Delegator
✅ join as delegator > verify account balances are reserved + mpl storage
MPL: Collators
❌ join as collator > verify account balances are reserved + mpl checks
TypeError: Cannot read properties of undefined (reading 'toString')
❌ join as collator + activate > acount balances are reserved + mpl checks
TypeError: Cannot read properties of undefined (reading 'toString')
MPL: Collators - Activated liq
❌ join as collator with activated liq. > verify account balances are reserved + mpl checks
TypeError: Cannot read properties of undefined (reading 'toString')
✅ test/parallel/xyk-pallet.MPL.vesting.native.test.ts
Vesting-native
✅ As a user, I can use MGX vested to move tokens to MPL pallet
✅ As a user, I can use MGX vested from MPL to staking
✅ As a user, I can revert MGX vested from MPL to vesting pallet
❌ test/parallel/xyk-pallet.MPL.vesting.test.ts
Vesting
❌ As a user, I can use vested tokens to mint
TypeError: Cannot read properties of undefined (reading 'eventData')
❌ As a user, I can activate vesting-minted tokens only if reserved
TypeError: Cannot read properties of undefined (reading 'eventData')
❌ test/parallel/xyk-pallet.pool.test.ts
❌ xyk-pallet - Pool tests: createPool and validate liq token
TypeError: Cannot read properties of undefined (reading 'amountBefore')
❌ xyk-pallet - Pool tests: createPool
TypeError: Cannot read properties of undefined (reading 'amountBefore')
✅ test/parallel/xyk-pallet.sudo.security.test.ts
✅ xyk-pallet - SecurityTests - Only sudo can perform actions [tokens.create]
✅ xyk-pallet - SecurityTests - Only sudo can perform actions [tokens.create to itself]
✅ xyk-pallet - SecurityTests - Only sudo can perform actions [tokens.mint]
✅ xyk-pallet - SecurityTests - Only sudo can perform actions [tokens.mint to itself]
❌ test/parallel/xyk-pallet.sudo.test.ts
❌ xyk-pallet - Sudo tests: Sudo Issue an asset
Error: --- TX Mapping issue ---
❌ xyk-pallet - Sudo tests: Sudo Issue two different assets to the same account
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-rpc.calculate.burnAmount.test.ts
xyk-rpc - calculate get_burn amount: OK
❌ validate parameters - burn from pool [firstIdx->0,secondIdx->1,amount->1000,expected->1000]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - burn from pool [firstIdx->1,secondIdx->0,amount->1000,expected->1000]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - burn from pool [firstIdx->0,secondIdx->1,amount->10000,expected->10000]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - burn from pool [firstIdx->0,secondIdx->1,amount->100000,expected->100000]
TypeError: Cannot read properties of undefined (reading 'toString')
xyk-rpc - calculate get_burn amount: Missing requirements
❌ validate parameters - get_burn from not generated pool [soldTokenId->0,boughtTokenId->1,amount->1000,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
✅ validate parameters - get_burn from not created assets
xyk-rpc - calculate get_burn amount: RPC result matches with burn amount
❌ validate get_burn_amount that matches with real burn operation
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-rpc.calculate.by.id.test.ts
xyk-rpc - calculate_buy_price_by_id, calculate_sell_price_by_id
❌ validate parameters - buy [soldTokenId->0,boughtTokenId->1,amount->0,expected->1]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - buy [soldTokenId->0,boughtTokenId->1,amount->1,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - buy [soldTokenId->1,boughtTokenId->2,amount->0,expected->1]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - buy [soldTokenId->1,boughtTokenId->2,amount->1,expected->2]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - buy [soldTokenId->2,boughtTokenId->1,amount->1,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - buy [soldTokenId->2,boughtTokenId->3,amount->1,expected->3]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - buy [soldTokenId->3,boughtTokenId->2,amount->1,expected->3]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - buy [soldTokenId->3,boughtTokenId->2,amount->2,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - sell [soldTokenId->0,boughtTokenId->1,amount->0,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - sell [soldTokenId->0,boughtTokenId->1,amount->1,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - sell [soldTokenId->1,boughtTokenId->2,amount->0,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - sell [soldTokenId->1,boughtTokenId->2,amount->1,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - sell [soldTokenId->2,boughtTokenId->1,amount->1,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - sell [soldTokenId->3,boughtTokenId->2,amount->1,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ validate parameters - sell [soldTokenId->2,boughtTokenId->3,amount->1,expected->0]
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/parallel/xyk-rpc.calculate.test.ts
❌ xyk-rpc - calculate_sell_price and calculate_buy_price matches, 1000,1000
TypeError: Cannot read properties of undefined (reading 'toString')
❌ xyk-rpc - calculate_sell_price and calculate_buy_price matches, 2000,1000
TypeError: Cannot read properties of undefined (reading 'toString')
❌ xyk-rpc - calculate_sell_price matches with the real sell
TypeError: Cannot read properties of undefined (reading 'toString')
❌ xyk-rpc - calculate_buy_price matches with the real buy
TypeError: Cannot read properties of undefined (reading 'toString')
❌ test/staking/candidates.staking.test.ts
Test candidates actions
✅ A user can become a candidate by joining as candidate
❌ A user can only join as candidate with one staking token at the same time
Error: createType(Call):: Call: failed decoding parachainStaking.joinCandidates:: Struct: failed on args: {"bond":"u128","liquidity_token":"u32","use_balance_from":"Option<MangataTypesMultipurposeLiquidityBondKind>","candidate_count":"u32","liquidity_token_count":"u32"}:: Struct: failed on liquidity_token: u32:: u32: Negative number passed to unsigned type
❌ A user can not join as candidate with a token that is not enabled ( or MGX )
Error: createType(Call):: Call: failed decoding parachainStaking.joinCandidates:: Struct: failed on args: {"bond":"u128","liquidity_token":"u32","use_balance_from":"Option<MangataTypesMultipurposeLiquidityBondKind>","candidate_count":"u32","liquidity_token_count":"u32"}:: Struct: failed on liquidity_token: u32:: u32: Negative number passed to unsigned type
✅ A candidate can select an aggregator by update_candidate_aggregator
❌ test/staking/candidates2.staking.test.ts
Test candidates actions: Collision by liq token
❌ A candidate can join to the aggregator list when no more candidate joined with the same staking token
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/sudo.staking.test.ts
Test sudo actions
✅ Test that noSudo users cannot do specific operations: addStakingLiquidityToken
✅ Test that noSudo users cannot do specific operations: removeStakingLiquidityToken
✅ Test that noSudo users cannot do specific operations: setCollatorCommission
✅ Test that noSudo users cannot do specific operations: setTotalSelected
❌ test/story/story.LP.test.ts
Story tests > LP
❌ Pool wins over 0.3% tokens when 10 swaps are done in the pool [Token - MGA]
TypeError: Cannot read properties of undefined (reading 'toString')
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/assetRegistry.getTradeable.rpc.test.ts ► AssetRegistry RPC - ► GIVEN a token that does not exist on the asset registry THEN it won't be returned in RPC
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.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/test/parallel/assetRegistry.getTradeable.rpc.test.ts:96:22
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/feelock.autounlock.test.ts ► [gasless] Happy path: automatic-unlock
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.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:626:28
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-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/sdk.API.rpc.test.ts ► SDK tests for rpc functions ► Calculate Sell / buy / id
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.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:363:55
at Generator.next (<anonymous>)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:13:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:9:12)
at calculate_sell_price_id_rpc (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:249:12)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.rpc.test.ts:73:32
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.rpc.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/sdk.API.rpc.test.ts ► SDK tests for rpc functions ► Get Burn amount , maxInstant burn amount
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.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:165:56
at Generator.next (<anonymous>)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:13:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:9:12)
at getBurnAmount (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:98:12)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.rpc.test.ts:91:30
at Generator.next (<anonymous>)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.rpc.test.ts:7:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.rpc.test.ts:3:12)
at Object.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/sdk.API.rpc.test.ts:90:63)
at Promise.then.completed (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/run.js:252:3)
at async _runTestsForDescribeBlock (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/run.js:126:9)
at async _runTestsForDescribeBlock (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/run.js:121:9)
at async run (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/run.js:71:3)
at async runAndTransformResultsToJestFormat (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at async jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at async runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at async runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at async 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-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/xyk-pallet.API.accuracy.no.connected.MGA.fees.test.ts ► xyk-pallet - Assets substracted are incremented by 1 - SellAsset
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
Error:
TypeError: Cannot read properties of undefined (reading 'amountBefore')
Raw output
TypeError: Cannot read properties of undefined (reading 'amountBefore')
at User.getFreeAssetAmount (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:108:43)
at User.getAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:100:19)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.no.connected.MGA.fees.test.ts:75:17
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.no.connected.MGA.fees.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/xyk-pallet.API.accuracy.tx.fees.test.ts ► xyk-pallet - Calculate required MGA fee - CreatePool
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
Error:
TypeError: Cannot read properties of undefined (reading 'amountBefore')
Raw output
TypeError: Cannot read properties of undefined (reading 'amountBefore')
at User.getFreeAssetAmount (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:108:43)
at User.getAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:100:19)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.tx.fees.test.ts:78:17
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.tx.fees.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/xyk-pallet.API.accuracy.tx.fees.test.ts ► xyk-pallet - Calculate required MGA fee - BuyAsset
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
Error:
TypeError: Cannot read properties of undefined (reading 'amountBefore')
Raw output
TypeError: Cannot read properties of undefined (reading 'amountBefore')
at User.getFreeAssetAmount (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:108:43)
at User.getAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:100:19)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.tx.fees.test.ts:78:17
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.tx.fees.test.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/xyk-pallet.API.burnLiquidity.error.test.ts ► xyk-pallet - Burn liquidity tests: BurnLiquidity Errors: ► Burn liquidity assets that does not belong to any pool
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.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:826:32
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-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/xyk-pallet.API.burnLiquidity.error.test.ts ► xyk-pallet - Burn liquidity tests: BurnLiquidity Errors: ► Burn liquidity for more assets than the liquidity pool has issued
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.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/utils.ts:190:33
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/utils.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/xyk-pallet.API.burnLiquidity.error.test.ts ► xyk-pallet - Burn liquidity tests: BurnLiquidity Errors: ► Burn someone else liquidities
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.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/utils.ts:190:33
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/utils.ts:4:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.xml
github-actions / E2E report yarn test-parallel-chops --max-workers=1
test/parallel/xyk-pallet.API.burnLiquidity.test.ts ► xyk-pallet - Burn liquidity tests: when burning liquidity you can ► Get affected after a transaction that devaluates X wallet & pool states with [0,0]
Failed test found in:
e2eTests/reports/junit.xml-a3a11cb0-7fbf-11ee-a0aa-996c2f6cdae1.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:587:32
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)