GASP-1625 Feature/locked tokens #749
E2E report yarn test-parallel --max-workers=10 ❌
❌ e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
222 tests were completed in 1356s with 36 passed, 180 failed and 6 skipped.
❌ test/fees/api.tx.fees.test.ts
❌ Fees : Transfers are about 4~ MGX
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
❌ Fees : UPD You can no longer pay fees to KSM
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
❌ Fees : UPD You can no longer pay fees to TUR
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
❌ 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
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
❌ 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
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
❌ 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
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
❌ 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
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
❌ 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
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
❌ 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
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
❌ GIVEN a token that belongs to a pool WHEN pool is not disabled THEN the token is not filtered
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
❌ test/parallel/feeLock.API.feePayment.parallel.test.ts
❌ gasless- GIVEN a feeLock configured WHEN a swap happens THEN fees are not charged but locked instead
Error: --- TX Mapping issue ---
❌ gasless- GIVEN a correct config for gasless swaps WHEN the user runs unlock-fee THEN fees are not charged for token unlockFee
Error: --- TX Mapping issue ---
❌ gasless- High-value swaps are rejected from the txn pool if they would fail before the percentage fee is charged
Error: --- TX Mapping issue ---
❌ gasless- For low-value swaps, token reservation status and pallet storage are altered in accordance with the timeout mechanism
Error: --- TX Mapping issue ---
❌ gasless- High-value swaps when successful are not charged txn fee or token locked, but the percentage fee is charged
Error: --- TX Mapping issue ---
❌ test/parallel/feeLock.API.rpcValueThresholds.test.ts
❌ gasless- isFree depends on the token and the sell valuation
Error: expect(received).toBeTruthy()
❌ gasless- isFree works same as multiswap of two
Error: expect(received).toBeTruthy()
❌ test/parallel/feeLock.API.swapValueThresholds.test.ts
❌ gasless- Given a feeLock correctly configured WHEN the user swaps two tokens defined in the thresholds AND swapValue > threshold THEN the extrinsic is correctly submitted AND No locks AND no fees
Error: expect(received).toBeTruthy()
❌ gasless- Given a feeLock correctly configured WHEN the user swaps two tokens defined in the thresholds AND the user has enough MGAs AND swapValue < threshold THEN some MGAs will be locked
Error: thrown: "Tx([0x5d5e01636cff722f3284a3a6cef8c12f8437ea718948396f6b22115ad8eeab53]) Transaction error"
❌ gasless- Given a feeLock correctly configured WHEN the user swaps two tokens that are not defined in the thresholds AND the user has not enough MGAs AND swapValue > threshold THEN the extrinsic can not be submited
Error: thrown: "Tx([0x5d5e01636cff722f3284a3a6cef8c12f8437ea718948396f6b22115ad8eeab53]) Transaction error"
❌ test/parallel/feeLock.API.unlocking.test.ts
❌ gasless- GIVEN some locked tokens and no more free MGX WHEN another tx is submitted AND lock period did not finished THEN the operation can not be submitted
Error: --- TX Mapping issue ---
❌ gasless- GIVEN some locked tokens and no more free MGX WHEN another tx is submitted AND lock period finished THEN the operation can be submitted ( unlock before locking )
Error: --- TX Mapping issue ---
❌ gasless- GIVEN some locked tokens WHEN querying accountFeeLockData THEN the amount matches with locked tokens AND lastFeeLockBlock matches with the block when tokens were locked
Error: --- TX Mapping issue ---
❌ gasless- GIVEN some locked tokens and lastFeeLockBlock is lower than current block WHEN release feeLock is requested THEN the tokens are unlocked
Error: --- TX Mapping issue ---
❌ gasless- GIVEN a lock WHEN the period is N THEN the tokens can not be unlocked before that period
Error: --- TX Mapping issue ---
❌ test/parallel/feelock.autounlock.test.ts
❌ [gasless] Happy path: automatic-unlock
Error: thrown: "Tx([0x19a3fdcd6ba2e6d95bd99c8fdabea9674e07be4f2cba79317242f8555af69cb4]) Transaction error"
❌ test/parallel/identity-pallet.API.mainUseCases.test.ts
Identity pallet tests: Main use cases
❌ Check setter & getters for identity pallet and reserves 5k mgas
Error: thrown: "Tx([0x3953c2eeac15ff7d95bc354af48df0f7e1db907a35a515379439c58cc4ee4d5d]) Transaction error"
❌ Check that a user can unset the name with identity pallet and tokens are unreserved
Error: thrown: "Tx([0x3953c2eeac15ff7d95bc354af48df0f7e1db907a35a515379439c58cc4ee4d5d]) Transaction error"
❌ Check that a user can sub one address
Error: thrown: "Tx([0x3953c2eeac15ff7d95bc354af48df0f7e1db907a35a515379439c58cc4ee4d5d]) Transaction error"
❌ test/parallel/metamask.transfer.test.ts
Tests with Metamask signing: Test that with current data, txs can be signed
✅ GIVEN sign extrinsic by using privateKey of another ethUser THEN receive error
✅ Transfer tokens with an incorrect chainId - must fail
❌ Transfer tokens
RpcError: 1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low
❌ Mint liquidity
Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ Burn liquidity
Error: createType(Call):: Call: failed decoding tokens.mint:: Struct: failed on args: {"currency_id":"u32","who":"[u8;20]","amount":"Lookup157"}:: Struct: failed on currency_id: u32:: u32: Negative number passed to unsigned type
❌ Create batch function
Error: createType(Call):: Call: failed decoding market.mintLiquidity:: Struct: failed on args: {"pool_id":"u32","asset_id":"u32","asset_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ test/parallel/rolldown.withdraw.error.test.ts
Rolldown withdraw error
❌ withdrawing token which does not exist should return correct error
Error: thrown: "Tx([0x721837f267e62a7b825254b4cbe37502a6c6fc529086fcb59d0243bc0d70f37a]) Transaction error"
❌ test/parallel/sdk.API.rpc.test.ts
SDK tests for rpc functions
❌ Calculate Sell / buy / id
Error: thrown: "Tx([0x4da8906625d79119b6c7f9410d66ef02022a9d2388125f752229e46a20a1095d]) Transaction error"
❌ Get Burn amount , maxInstant burn amount
Error: thrown: "Tx([0x4da8906625d79119b6c7f9410d66ef02022a9d2388125f752229e46a20a1095d]) Transaction error"
❌ Calculate balanced sell amount
Error: thrown: "Tx([0x4da8906625d79119b6c7f9410d66ef02022a9d2388125f752229e46a20a1095d]) Transaction error"
❌ test/parallel/tips.swapOperations.test.ts
Tips - Tips are not allowed for swaps
❌ multiswapSellAsset tips operations are forbidden
Error: thrown: "Tx([0xbe7467551b65d76785c40d6b907ca39a19da8163a4dd27e5962f02c9a2816dae]) Transaction error"
❌ multiswapBuyAsset tips operations are forbidden
Error: thrown: "Tx([0xbe7467551b65d76785c40d6b907ca39a19da8163a4dd27e5962f02c9a2816dae]) Transaction error"
❌ sellAsset tips operations are forbidden
Error: thrown: "Tx([0xbe7467551b65d76785c40d6b907ca39a19da8163a4dd27e5962f02c9a2816dae]) Transaction error"
❌ buyAsset tips operations are forbidden
Error: thrown: "Tx([0xbe7467551b65d76785c40d6b907ca39a19da8163a4dd27e5962f02c9a2816dae]) Transaction error"
❌ transfer tips operations are allowed
Error: thrown: "Tx([0xbe7467551b65d76785c40d6b907ca39a19da8163a4dd27e5962f02c9a2816dae]) Transaction error"
❌ mint tips operations are allowed
Error: thrown: "Tx([0xbe7467551b65d76785c40d6b907ca39a19da8163a4dd27e5962f02c9a2816dae]) Transaction error"
❌ test/parallel/xyk-pallet.API.accuracy.no.connected.MGA.fees.test.ts
❌ xyk-pallet - Assets substracted are incremented by 1 - SellAsset
Error: thrown: "Tx([0x1982fe19737852c4e24ab0f4d1c69cb6fffb882e426c9e7df77e29f16b2d42a6]) Transaction error"
❌ test/parallel/xyk-pallet.API.accuracy.tx.fees.test.ts
❌ xyk-pallet - Calculate required MGA fee - CreatePool
Error: --- TX Mapping issue ---
❌ xyk-pallet - Calculate required MGA fee - BuyAsset
Error: thrown: "Tx([0x204ce97854837861eb5c08a0a8886eebfcf092de626042b4ea8cbf722ea956d6]) Transaction error"
❌ 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 'find')
❌ Burn liquidity for more assets than the liquidity pool has issued
TypeError: Cannot read properties of undefined (reading 'find')
❌ Burn someone else liquidities
TypeError: Cannot read properties of undefined (reading 'find')
❌ 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]
Error: --- TX Mapping issue ---
❌ Burning liquidities provides Burn and settle
Error: --- TX Mapping issue ---
❌ Burning liquidities generates a Liquidity burned event
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.API.buyAsset.test.ts
xyk-pallet - Buy assets tests: BuyAssets Errors:
❌ Buy assets that does not belong to any pool
Error: --- TX Mapping issue ---
❌ Buy more assets than exists in the pool
Error: --- TX Mapping issue ---
❌ Buy all assets from the the pool
Error: --- TX Mapping issue ---
❌ Buy assets with a high expectation: maxInput -1
Error: --- TX Mapping issue ---
xyk-pallet - Buy assets tests: Buying assets you can
❌ Leave only one asset in the pool
Error: --- TX Mapping issue ---
❌ Buy from a wallet I own into a wallet I do not own
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.API.fees.tripleTokens.test.ts
xyk-pallet -
❌ User can pay a Tx with only MGA
Error: --- TX Mapping issue ---
❌ User can pay a Tx with only ETH
Error: --- TX Mapping issue ---
❌ User can't pay a Tx with only Arbitrum-Eth
Error: --- TX Mapping issue ---
❌ GIVEN User has enough GASP & enough ETH THEN Fees are charged in GASP
Error: --- TX Mapping issue ---
❌ GIVEN User has a very limited amount of GASP & enough ETH THEN Fees are charged in ETH
Error: --- TX Mapping issue ---
❌ GIVEN User has a very limited GASP & a very limited ETH AND we have GASP-tok1 pool WHEN the Tx is a swap tok1 to tok2 above the “threshold” THEN operation succeed
Error: --- TX Mapping issue ---
❌ GIVEN User has a very limited GASP & a very limited ETH AND we have GASP-tok1 pool WHEN the Tx is a swap tok2 to tok1 above the “threshold” THEN operation succeed
Error: --- TX Mapping issue ---
❌ GIVEN User has a very limited amount of GASP & a minimal amount of Eth AND the Tx is a swap below the “threshold” THEN we receive client error
Error: --- TX Mapping issue ---
❌ User, when paying with eth, have to pay 1/30000 eth per GASP spent.
Error: --- TX Mapping issue ---
❌ 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
Error: --- TX Mapping issue ---
❌ Mint liquidity when not enough assetX for minting Yamount
Error: --- TX Mapping issue ---
❌ Mint liquidity assets that does not belong to any pool
Error: --- TX Mapping issue ---
❌ Mint liquidity more assets than I own
Error: --- TX Mapping issue ---
❌ Min liquidity, SecondAssetAmount parameter expectation not met
Error: --- TX Mapping issue ---
❌ 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
Error: --- TX Mapping issue ---
❌ Expect an event when liquidity is minted
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.API.overflow.test.ts
xyk-pallet - Check operations are not executed because of overflow in asset token
✅ Create pool of [MAX,MAX]: OverFlow [a+b] - liquidityAsset calculation
✅ Minting Max+1 tokens operation fails
⚪ Transfer [MAX] assets to other user when that user has 1 asset. Max+1 => overflow.
xyk-pallet - Operate with a pool close to overflow
❌ Sell [MAX -2] assets to a wallet with Max-1000,1000 => overflow.
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
❌ Buy [100] assets to a wallet with Max-1000,1000 => overflow.
TypeError: Cannot read properties of undefined (reading 'multiswapBuyAsset')
⚪ Mint liquidities [1000] assets to a wallet with Max-1000,1000 => overflow.
⚪ [BUG] Burn liquidities [MAX -1] assets to a wallet wich is full => overflow. NOT a bug https://trello.com/c/J3fzuwH5
xyk-pallet - Operate with a user account close to overflow
⚪ Sell a few assets to a wallet that is full => overflow. NOT A BUG: https://trello.com/c/J3fzuwH5
⚪ Buy a few assets to a wallet that is full => overflow. NOT A BUG: https://trello.com/c/J3fzuwH5
xyk-pallet - Operate with a highly unbalanced pool [mg - newAsset]
⚪ [BUG] Buy a few assets to a wallet linked to MGA => overflow.
❌ test/parallel/xyk-pallet.API.payment-info.test.ts
❌ GIVEN a paymentInfo request, WHEN extrinsic is sellAsset THEN zero is returned.
Error: thrown: "Tx([0x4a99e52696786aae5399a46f327c1799c9baed1761dec2541ff5e9a23ddc63a6]) Transaction error"
❌ GIVEN a paymentInfo request, WHEN extrinsic is multiswapBuyAsset THEN zero is returned
Error: thrown: "Tx([0x4a99e52696786aae5399a46f327c1799c9baed1761dec2541ff5e9a23ddc63a6]) Transaction error"
❌ GIVEN a paymentInfo request, WHEN extrinsic is mintLiquidityEvent THEN non-zero is returned
Error: thrown: "Tx([0x4a99e52696786aae5399a46f327c1799c9baed1761dec2541ff5e9a23ddc63a6]) Transaction error"
❌ GIVEN a paymentInfo request, WHEN extrinsic is compoundRewards THEN non-zero is returned
Error: thrown: "Tx([0x4a99e52696786aae5399a46f327c1799c9baed1761dec2541ff5e9a23ddc63a6]) Transaction error"
❌ GIVEN a paymentInfo request, WHEN extrinsic is provideLiquidityWithId THEN non-zero is returned
Error: thrown: "Tx([0x4a99e52696786aae5399a46f327c1799c9baed1761dec2541ff5e9a23ddc63a6]) Transaction error"
❌ 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
Error: thrown: "Tx([0x4a99e52696786aae5399a46f327c1799c9baed1761dec2541ff5e9a23ddc63a6]) Transaction error"
❌ test/parallel/xyk-pallet.API.pool.test.ts
xyk-pallet - Poll creation: Errors:
❌ Create x-y and y-x pool
Error: --- TX Mapping issue ---
❌ Create pool with zero
Error: --- TX Mapping issue ---
❌ Not enough assets
Error: --- TX Mapping issue ---
xyk-pallet - Pool tests: a pool can:
❌ be minted
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
❌ be burn
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
xyk-pallet - Pool opeations: Simmetry
❌ GetBalance x-y and y-x pool
Error: --- TX Mapping issue ---
❌ Minting x-y and y-x pool
Error: --- TX Mapping issue ---
❌ Burning x-y and y-x pool
Error: --- TX Mapping issue ---
❌ GetLiquidityAssetID x-y and y-x pool
Error: --- TX Mapping issue ---
❌ 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: 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
❌ xyk-pallet- check that unlocking tokens are free to use when the relock time is done
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
❌ xyk-pallet- check that all unlocking vesting tokens can be burned
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
❌ xyk-pallet- check that if pool not promoted then the extrinsic failed
Error: createType(Call):: Call: failed decoding market.mintLiquidityUsingVestingNativeTokens:: Struct: failed on args: {"pool_id":"u32","native_asset_vesting_amount":"u128","max_other_asset_amount":"u128"}:: Struct: failed on pool_id: u32:: u32: Negative number passed to unsigned type
❌ 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
Error: --- TX Mapping issue ---
❌ Try sell more assets than owned
Error: --- TX Mapping issue ---
❌ Sell assets with a high expectation: limit +1
Error: --- TX Mapping issue ---
xyk-pallet - Sell assets tests: Selling Assets you can
❌ Sell assets with a high expectation: limit - OK
Error: --- TX Mapping issue ---
❌ Sell assets from a wallet I own into a wallet I do not own: limit
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.API.testMGArequired.test.ts
Wallets unmodified
✅ xyk-pallet - User Balance - Creating a pool requires paying fees
❌ xyk-pallet - User Balance - mint liquidity requires paying fees
Error: expect(received).rejects.toThrow(expected)
❌ xyk-pallet - User Balance - Selling an asset does not require paying fees
Error: thrown: "Tx([0x1cc7e4ebe5bf9da6bc0af558511efdd1c4ee074021c74cd6ec4ec12be573346e]) Transaction error"
❌ xyk-pallet - User Balance - Buying an asset does not require paying fees
Error: thrown: "Tx([0x8aa6179051c00fc8e5a3159925f9021fd1d0c7d3cd0095503d5543328e968d5d]) Transaction error"
❌ 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]
Error: --- TX Mapping issue ---
❌ assets won when assets are sold - 1 [rounding] [no connected to MGA]
TypeError: Cannot read properties of undefined (reading 'find')
❌ assets won when assets are bought - 2 [no connected to MGA]
Error: thrown: "Tx([0xc20997273c22017d558b4f048493bd7b299a2ef91104fef767aebfb407bad311]) Transaction error"
❌ assets won when assets are bought - 1 [no connected to MGA]
Error: thrown: "Tx([0xc20997273c22017d558b4f048493bd7b299a2ef91104fef767aebfb407bad311]) Transaction error"
❌ test/parallel/xyk-pallet.asset.buy.test.ts
❌ xyk-pallet - AssetsOperation: buyAsset [maxAmountIn = 1M], buy asset
Error: --- TX Mapping issue ---
❌ xyk-pallet - AssetsOperation: buyAsset [maxAmountIn = 1M], sell a bought asset
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.asset.register.test.ts
❌ register new asset from sudo user
Error: --- TX Mapping issue ---
❌ try to register a new asset from non-sudo user, expect to fail
Error: --- TX Mapping issue ---
❌ register new asset and then update it by sudo user
Error: --- TX Mapping issue ---
❌ register new asset and then update it by non sudo user, expect to fail
Error: --- TX Mapping issue ---
❌ register new asset and then update it without fee
Error: --- TX Mapping issue ---
❌ register asset and then try to register new one with the same assetId, expect to conflict
Error: --- TX Mapping issue ---
❌ register asset with xyk disabled and try to create a pool, expect to fail
Error: --- TX Mapping issue ---
❌ register asset with xyk undefined and try to create a pool, expect success
Error: --- TX Mapping issue ---
❌ register asset with xyk enabled and try to create a pool, expect success
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.asset.sell.test.ts
❌ xyk-pallet - AssetsOperation: sellAsset [minAmountOut = 0] , first to second currency
Error: --- TX Mapping issue ---
❌ xyk-pallet - AssetsOperation: sellAsset [minAmountOut = 0], sell an already sold asset
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.asset.transfer.test.ts
❌ xyk-pallet - AssetsOperation: transferAsset
Error: --- TX Mapping issue ---
❌ xyk-pallet - AssetsOperation: transferAll
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.L1asset.register.update.test.ts
✅ Asset can be created by a sudo user
❌ Asset can't be created by a regular user
Error: thrown: Object {
✅ GIVEN Create one asset with the same address but different chains THEN Operations pass
✅ GIVEN Create one asset with the same address and same chain THEN Operation fail
❌ GIVEN 2 assets which have been created by registerAsset and registerL1Asset THEN Their IDs are consistent
Error: thrown: "Tx([0x32afa96c83a0e4f9e6e08560341cb0e4b9d78a10b38431c84d542a32e4e7ad2e]) Transaction error"
update L1AssetData-
✅ Asset can be updated by a sudo user
❌ Asset can't be updated by a regular user
Error: thrown: Object {
✅ GIVEN Update asset so that addresses match but chains are different from existing ones THEN Operation pass
✅ GIVEN Update asset so so that addresses & chain matches with some existing ones THEN Operation fail
❌ GIVEN An asset created by registerAsset AND It has been updated by updateL1Asset THEN It is now accessible through IdToL1Asset
Error: thrown: "Tx([0x3950b1f9a36a6a890e40643fa993a2da17b90cdc608896c2a9f3fdcf1ae37b20]) Transaction error"
❌ test/parallel/xyk-pallet.liquidity.test.ts
❌ xyk-pallet - Liqudity : Burn part of the liquidity
TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
❌ xyk-pallet - Liqudity : Burn all the liquidity
TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
❌ xyk-pallet - LiquidityOperation: mintLiquidity
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
❌ test/parallel/xyk-pallet.MPL.test.ts
MPL: Delegator
❌ join as delegator > verify account balances are reserved + mpl storage
Error: --- TX Mapping issue ---
MPL: Collators
❌ join as collator > verify account balances are reserved + mpl checks
Error: --- TX Mapping issue ---
❌ join as collator + activate > acount balances are reserved + mpl checks
Error: --- TX Mapping issue ---
MPL: Collators - Activated liq
❌ join as collator with activated liq. > verify account balances are reserved + mpl checks
Error: --- TX Mapping issue ---
❌ 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
Error: thrown: Object {
❌ As a user, I can use MGX vested from MPL to staking
Error: thrown: Object {
❌ As a user, I can revert MGX vested from MPL to vesting pallet
Error: thrown: Object {
❌ test/parallel/xyk-pallet.MPL.vesting.test.ts
Vesting
❌ As a user, I can use vested tokens to mint
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
❌ As a user, I can activate vesting-minted tokens only if reserved
TypeError: Cannot read properties of undefined (reading 'filter')
❌ test/parallel/xyk-pallet.pool.test.ts
❌ xyk-pallet - Pool tests: createPool and validate liq token
Error: --- TX Mapping issue ---
❌ xyk-pallet - Pool tests: createPool
Error: --- TX Mapping issue ---
❌ test/parallel/xyk-pallet.sudo.security.test.ts
❌ xyk-pallet - SecurityTests - Only sudo can perform actions [tokens.create]
TypeError: Cannot read properties of undefined (reading 'find')
❌ xyk-pallet - SecurityTests - Only sudo can perform actions [tokens.create to itself]
TypeError: Cannot read properties of undefined (reading 'find')
❌ xyk-pallet - SecurityTests - Only sudo can perform actions [tokens.mint]
TypeError: Cannot read properties of undefined (reading 'find')
❌ xyk-pallet - SecurityTests - Only sudo can perform actions [tokens.mint to itself]
TypeError: Cannot read properties of undefined (reading 'find')
❌ 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]
✅ validate parameters - burn from pool [firstIdx->1,secondIdx->0,amount->1000,expected->1000]
✅ validate parameters - burn from pool [firstIdx->0,secondIdx->1,amount->10000,expected->10000]
✅ validate parameters - burn from pool [firstIdx->0,secondIdx->1,amount->100000,expected->100000]
xyk-rpc - calculate get_burn amount: Missing requirements
✅ validate parameters - get_burn from not generated pool [soldTokenId->0,boughtTokenId->1,amount->1000,expected->0]
✅ 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 'burnLiquidity')
❌ 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]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - buy [soldTokenId->0,boughtTokenId->1,amount->1,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - buy [soldTokenId->1,boughtTokenId->2,amount->0,expected->1]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - buy [soldTokenId->1,boughtTokenId->2,amount->1,expected->2]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - buy [soldTokenId->2,boughtTokenId->1,amount->1,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - buy [soldTokenId->2,boughtTokenId->3,amount->1,expected->3]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - buy [soldTokenId->3,boughtTokenId->2,amount->1,expected->3]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - buy [soldTokenId->3,boughtTokenId->2,amount->2,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - sell [soldTokenId->0,boughtTokenId->1,amount->0,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - sell [soldTokenId->0,boughtTokenId->1,amount->1,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - sell [soldTokenId->1,boughtTokenId->2,amount->0,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - sell [soldTokenId->1,boughtTokenId->2,amount->1,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - sell [soldTokenId->2,boughtTokenId->1,amount->1,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - sell [soldTokenId->3,boughtTokenId->2,amount->1,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ validate parameters - sell [soldTokenId->2,boughtTokenId->3,amount->1,expected->0]
Error: thrown: "Tx([0x1f7081bc14979fd8eb62f7b691ff353def076bb3528c5e5ad4279fa093819881]) Transaction error"
❌ test/parallel/xyk-rpc.calculate.test.ts
❌ xyk-rpc - calculate_sell_price and calculate_buy_price matches, 1000,1000
Error: --- TX Mapping issue ---
❌ xyk-rpc - calculate_sell_price and calculate_buy_price matches, 2000,1000
Error: --- TX Mapping issue ---
❌ xyk-rpc - calculate_sell_price matches with the real sell
Error: --- TX Mapping issue ---
❌ xyk-rpc - calculate_buy_price matches with the real buy
Error: --- TX Mapping issue ---
✅ test/parallel/xyk-rpc.errors.test.ts
✅ xyk-rpc - calculate_sell_price validates parameters - Negative params
✅ xyk-rpc - calculate_sell_price validates parameters - Negative params
✅ xyk-rpc - calculate_sell_price validates parameters - Negative params
✅ xyk-rpc - calculate_sell_price validates parameters - Zeroes [inputReserve->1,outputReserve->1,amount->0,expected->0]
✅ xyk-rpc - calculate_sell_price validates parameters - Zeroes [inputReserve->0,outputReserve->0,amount->0,expected->0]
✅ xyk-rpc - calculate_sell_price validates parameters - Zeroes [inputReserve->0,outputReserve->1,amount->1,expected->1]
✅ xyk-rpc - calculate_sell_price validates parameters - Zeroes [inputReserve->0,outputReserve->0,amount->1,expected->0]
✅ xyk-rpc - calculate_buy_price validates parameters - Zeroes [inputReserve->1,outputReserve->1,amount->0,expected->1]
✅ xyk-rpc - calculate_buy_price validates parameters - Zeroes [inputReserve->0,outputReserve->0,amount->0,expected->0]
✅ xyk-rpc - calculate_buy_price validates parameters - Zeroes [inputReserve->0,outputReserve->1,amount->1,expected->0]
✅ xyk-rpc - calculate_buy_price validates parameters - Zeroes [inputReserve->0,outputReserve->0,amount->1,expected->0]
✅ xyk-rpc - calculate_buy_price validates parameters - Zeroes [inputReserve->1,outputReserve->0,amount->0,expected->0]
✅ validate parameters: negative asset ids [soldTokenId->-1,boughtTokenId->0,amount->0,expected->createType(TokenId):: u32: Negative number passed to unsigned type]
✅ validate parameters: negative asset ids [soldTokenId->0,boughtTokenId->-1,amount->0,expected->createType(TokenId):: u32: Negative number passed to unsigned type]
✅ RPC big numbers : negative asset ids [amount->100000000]
✅ RPC big numbers : negative asset ids [amount->100000000000000]
✅ RPC big numbers : negative asset ids [amount->10000000000000000000000]
xyk-rpc - calculate_buy_price_by_id:No pool assotiated with the assets
✅ validate parameters [soldTokenId->0,boughtTokenId->1,amount->0,expected->0]
✅ validate parameters [soldTokenId->1,boughtTokenId->0,amount->1,expected->0]
❌ test/staking/candidates.staking.test.ts
Test candidates actions
❌ A user can become a candidate by joining as candidate
Error: expect(received).toBeFalsy()
❌ 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
Error: expect(received).toBeFalsy()
❌ 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
Error: thrown: "Tx([0x5557655043d2cd6e7492450f84d8106bd5647047fd5a0e90cbae1c9207b6623a]) Transaction error"
❌ Test that noSudo users cannot do specific operations: removeStakingLiquidityToken
Error: thrown: "Tx([0x5557655043d2cd6e7492450f84d8106bd5647047fd5a0e90cbae1c9207b6623a]) Transaction error"
❌ Test that noSudo users cannot do specific operations: setCollatorCommission
Error: thrown: "Tx([0x5557655043d2cd6e7492450f84d8106bd5647047fd5a0e90cbae1c9207b6623a]) Transaction error"
❌ Test that noSudo users cannot do specific operations: setTotalSelected
Error: thrown: "Tx([0x5557655043d2cd6e7492450f84d8106bd5647047fd5a0e90cbae1c9207b6623a]) Transaction error"
❌ 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]
Error: --- TX Mapping issue ---
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/fees/api.tx.fees.test.ts ► Fees : Transfers are about 4~ MGX
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
Raw output
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/fees/api.tx.fees.test.ts:32:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/fees/api.tx.fees.test.ts ► Fees : UPD You can no longer pay fees to KSM
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
Raw output
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/fees/api.tx.fees.test.ts:32:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/fees/api.tx.fees.test.ts ► Fees : UPD You can no longer pay fees to TUR
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
Raw output
Error: thrown: "Tx([0xfdd88a369c832453da94bd89ae6f34d3267a556ee7138387728a8546b2db2d45]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/fees/api.tx.fees.test.ts:32:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
Raw output
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:30:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:29:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/parallel/assetRegistry.getTradeable.rpc.test.ts ► AssetRegistry RPC - ► 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
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
Raw output
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:30:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:29:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/parallel/assetRegistry.getTradeable.rpc.test.ts ► AssetRegistry 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
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
Raw output
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:30:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:29:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/parallel/assetRegistry.getTradeable.rpc.test.ts ► AssetRegistry 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
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
Raw output
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:30:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:29:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/parallel/assetRegistry.getTradeable.rpc.test.ts ► AssetRegistry 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
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
Raw output
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:30:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:29:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/parallel/assetRegistry.getTradeable.rpc.test.ts ► AssetRegistry 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
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
Raw output
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:30:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:29:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/parallel/assetRegistry.getTradeable.rpc.test.ts ► AssetRegistry RPC - ► GIVEN a token that belongs to a pool WHEN pool is not disabled THEN the token is not filtered
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
Raw output
Error: thrown: "Tx([0xcd6d511ae4a8413708b86be3a4eabc6467196107559241ad126466d63188a61e]) Transaction error"
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:30:3
at _dispatchDescribe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/index.js:55:5)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/assetRegistry.getTradeable.rpc.test.ts:29:1
at SourceTextModule.evaluate (node:internal/vm/module:226:23)
at Runtime.linkAndEvaluateModule (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runtime/build/index.js:710:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at jestAdapter (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:75:5)
at runTestInternal (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/jest-runner/build/runTest.js:444:34)
at 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-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
github-actions / E2E report yarn test-parallel --max-workers=10
test/parallel/feeLock.API.feePayment.parallel.test.ts ► gasless- GIVEN a feeLock configured WHEN a swap happens THEN fees are not charged but locked instead
Failed test found in:
e2eTests/reports/junit.xml-6e36fa30-adb4-11ef-ab56-b121e0e592c4.xml
Error:
Error: --- TX Mapping issue ---
Raw output
Error: --- TX Mapping issue ---
at getEventResultFromMangataTx (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:169:11)
at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:322:29
at processTicksAndRejections (node:internal/process/task_queues:95:5)