Skip to content

Funds for sequencers (#873) #847

Funds for sequencers (#873)

Funds for sequencers (#873) #847

GitHub Actions / E2E report yarn test-parallel-autocompound failed Dec 19, 2024 in 1s

E2E report yarn test-parallel-autocompound ❌

Tests failed

❌ e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

23 tests were completed in 1699s with 14 passed, 9 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts 4✅ 1❌ 671s
test/parallel/xyk-pallet.API.parachainStacking.activateRewards.test.ts 1✅ 60s
test/parallel/xyk-pallet.API.pool.deactivatedLiq.test.ts 1✅ 359s
test/parallel/xyk-pallet.API.pool.promoting.test.ts 1❌ 1307s
test/parallel/xyk-pallet.API.pool.weightedPools.test.ts 4✅ 2❌ 1697s
test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts 3❌ 1175s
test/parallel/xyk-pallet.API.poolLiqidity.mintLiqudity.test.ts 2✅ 1❌ 365s
test/parallel/xyk-pallet.API.validateStatus.test.ts 2✅ 1❌ 935s

❌ test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts

Accuracy > Shared pool
  ✅ Each user who minted owns the same % of tokens - one user gets extra token
  ✅ Each user who minted onws the same % of tokens - two users gets the extra
  ✅ Each user who minted onws the same % of tokens - divisible by 3
  ✅ Each user who minted different % of tokens [50k,25k,5k]- get diff amounts
❌ Given 3 users that minted liquidity WHEN only one activated the rewards THEN all rewards belongs to him on this pool
	Error: Expected: 0

✅ test/parallel/xyk-pallet.API.parachainStacking.activateRewards.test.ts

✅ Given a user with bonded but not activated liq tokens WHEN he tries to activate THEN the tokens are activated for rewards

✅ test/parallel/xyk-pallet.API.pool.deactivatedLiq.test.ts

✅ GIVEN a disabled pool the user can still interact with it: Burn, deactivate Liq

❌ test/parallel/xyk-pallet.API.pool.promoting.test.ts

❌ GIVEN a promoted pool WHEN more pools gets activated THEN shares are decreased and equally divided among all the activated pools
	Error: Expected: 0

❌ test/parallel/xyk-pallet.API.pool.weightedPools.test.ts

✅ Check that we can get the list of promoted pools with proofOfStake.promotedPoolRewards data storage
✅ Validate that weight can be modified by using updatePoolPromotion AND only sudo can update weights
✅ Testing that the sum of the weights can be greater than 100
✅ GIVEN a pool WHEN it has configured with 0 THEN no new issuance will be reserved
❌ GIVEN a deactivated pool WHEN its configured with more weight, THEN rewards are now active, new users can get portion of those rewards AND issuance grows
	Error: Expected: 0
❌ GIVEN an activated pool WHEN pool was deactivated THEN check that the user will still get some rewards from the curve, and storage is updated
	Error: Expected: 0

❌ test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts

❌ Check that rewards are generated and can be claimed on each session, then burn all tokens and rewards wont be available
	Error: Expected: 0
❌ Given a pool with 2 users with activated rewards WHEN more than one period last AND the user burn all liquidity THEN pool is destroyed but users can still claim pending rewards
	Error: Expected: 0
❌ Given a pool with user with activated rewards  WHEN it was deactivated AND activated again THEN the user can receive a reward in both a deactivated and activated pool
	Error: Expected: 0

❌ test/parallel/xyk-pallet.API.poolLiqidity.mintLiqudity.test.ts

✅ Check that a user that mints on a promoted pool liquidity tokens are reserved
✅ Check that a user that mints on a non-promoted pool liquidity tokens are free
❌ Given 3 pool: token1-MGX, token2-MGX and token1-token2 WHEN token1-token2 is promoted THEN user can receive rewards from token1-token2 pool
	Error: Expected: 0

❌ test/parallel/xyk-pallet.API.validateStatus.test.ts

Validate initial status
  ✅ User just minted on a promoted pool
  ✅ User just minted and rewards generated
  ❌ User just minted on a promoted pool and after rewards being generated mint some more
	Error: Expected: 478791

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts ► Given 3 users that minted liquidity WHEN only one activated the rewards THEN all rewards belongs to him on this pool

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:316:33
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.accuracy.shared.pool.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.promoting.test.ts ► GIVEN a promoted pool WHEN more pools gets activated THEN shares are decreased and equally divided among all the activated pools

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.promoting.test.ts:180:29
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.promoting.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.weightedPools.test.ts ► GIVEN a deactivated pool WHEN its configured with more weight, THEN rewards are now active, new users can get portion of those rewards AND issuance grows

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.weightedPools.test.ts:236:29
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.weightedPools.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.pool.weightedPools.test.ts ► GIVEN an activated pool WHEN pool was deactivated THEN check that the user will still get some rewards from the curve, and storage is updated

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.weightedPools.test.ts:268:35
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.pool.weightedPools.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts ► Check that rewards are generated and can be claimed on each session, then burn all tokens and rewards wont be available

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts:138:50
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts ► Given a pool with 2 users with activated rewards WHEN more than one period last AND the user burn all liquidity THEN pool is destroyed but users can still claim pending rewards

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts:241:30
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts ► Given a pool with user with activated rewards WHEN it was deactivated AND activated again THEN the user can receive a reward in both a deactivated and activated pool

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts:288:34
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.claimReward.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.poolLiqidity.mintLiqudity.test.ts ► Given 3 pool: token1-MGX, token2-MGX and token1-token2 WHEN token1-token2 is promoted THEN user can receive rewards from token1-token2 pool

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 0 
Raw output
Error: Expected: 0 
 lt Actual: 0 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.mintLiqudity.test.ts:196:28
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.poolLiqidity.mintLiqudity.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml

See this annotation in the file changed.

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

test/parallel/xyk-pallet.API.validateStatus.test.ts ► Validate initial status ► User just minted on a promoted pool and after rewards being generated mint some more

Failed test found in:
  e2eTests/reports/junit.xml-9fad6080-be22-11ef-ab81-9bf40f59f72e.xml
Error:
  Error: Expected: 478791 
Raw output
Error: Expected: 478791 
  Actual: 492718 
 
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.validateStatus.test.ts:156:54
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/parallel/xyk-pallet.API.validateStatus.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)