Skip to content

bumped gaspErc20Mock addresses in chain spec

Sign in for the full log view
GitHub Actions / E2E report yarn test-sequential-autocompound failed Dec 2, 2024 in 1s

E2E report yarn test-sequential-autocompound ❌

Tests failed

❌ e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml

7 tests were completed in 228s with 2 passed, 5 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/rewardsv2.poolLiquidityRewards.test.ts 4❌ 96s
test/story/rewardsStory.test.ts 2✅ 1❌ 132s

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

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

❌ test/story/rewardsStory.test.ts

Story tests > Rewards - autocompound
  ✅ Given a user1 with minted tokens when two sessions happen, then there are available rewards
  ✅ Given a user2 WHEN available rewards can claim and mgas are increased
  ❌ Given a user3 WHEN available rewards can autocompund
	TypeError: Cannot read properties of undefined (reading 'compoundRewards')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml

See this annotation in the file changed.

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

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

Failed test found in:
  e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
    at mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3854:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml

See this annotation in the file changed.

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

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

Failed test found in:
  e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
    at burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3805:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml

See this annotation in the file changed.

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

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

Failed test found in:
  e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'burnLiquidity')
    at burnLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3805:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml

See this annotation in the file changed.

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

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

Failed test found in:
  e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
    at mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3854:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml

See this annotation in the file changed.

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

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

Failed test found in:
  e2eTests/reports/junit.xml-165dbc70-b0d1-11ef-8797-59e6dd868f5f.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'compoundRewards')
Raw output
TypeError: Cannot read properties of undefined (reading 'compoundRewards')
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:1097:16
    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 compoundRewards (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/tx.ts:690:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/story/rewardsStory.test.ts:98:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/story/rewardsStory.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)