Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/test seqeuncers1000 #862

Open
wants to merge 1 commit into
base: eth-rollup-develop
Choose a base branch
from

test sequencers with 1000

a14baf6
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Feature/test seqeuncers1000 #862

test sequencers with 1000
a14baf6
Select commit
Loading
Failed to load commit list.
GitHub Actions / E2E report yarn test-seqgasless failed Dec 8, 2024 in 0s

E2E report yarn test-seqgasless ❌

Tests failed

❌ e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml

7 tests were completed in 216s with 3 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/feeLock.API.config.test.ts 3✅ 1❌ 120s
test/sequential/feeLock.API.feePayment.sequential.test.ts 3❌ 96s

❌ test/sequential/feeLock.API.config.test.ts

✅ gasless- GIVEN a non sudo user WHEN feeLock configuration extrinsic is submitted THEN it fails with RequireSudo
✅ gasless- GIVEN an empty feeLock configuration (all options empty) WHEN sudo submit the extrinsic THEN Tx fails because insufficient params
✅ gasless- GIVEN a feeLock WHEN periodLength and feeLockAmount are set THEN extrinsic succeed and feeLock is correctly configured
❌ gasless- Changing feeLock config parameter on the fly is works robustly. Either automatic or manual unlocks the tokens
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')

❌ test/sequential/feeLock.API.feePayment.sequential.test.ts

❌ gasless- GIVEN a feeLock configured (only Time and Amount ) WHEN the user swaps AND the user has not enough MGAs and has enough TURs THEN the extrinsic fails on submission
	Error: expect(received).rejects.toThrow(expected)
❌ gasless- GIVEN a feeLock configured (only Time and Amount )  WHEN the user swaps AND the user does not have enough MGAs THEN the extrinsic fails on submission
	Error: expect(received).rejects.toThrow(expected)
❌ gasless- Given a feeLock correctly configured (only Time and Amount ) WHEN the user swaps AND the user has enough MGAs THEN the extrinsic is correctly submitted
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-seqgasless

test/sequential/feeLock.API.config.test.ts ► gasless- Changing feeLock config parameter on the fly is works robustly. Either automatic or manual unlocks the tokens

Failed test found in:
  e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:4648:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-seqgasless

test/sequential/feeLock.API.feePayment.sequential.test.ts ► gasless- GIVEN a feeLock configured (only Time and Amount ) WHEN the user swaps AND the user has not enough MGAs and has enough TURs THEN the extrinsic fails on submission

Failed test found in:
  e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml
Error:
  Error: expect(received).rejects.toThrow(expected)
Raw output
Error: expect(received).rejects.toThrow(expected)

Expected substring: "1010: Invalid Transaction: Fee lock processing has failed either due to not enough funds to reserve or an unexpected error"
Received message:   ""

      45 |     ).catch((reason) => {
      46 |       exception = true;
    > 47 |       throw new Error(reason.data);
         |             ^
      48 |     }),
      49 |   ).rejects.toThrow(reason);
      50 |

      at test/sequential/feeLock.API.feePayment.sequential.test.ts:47:13
    at Object.toThrow (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/expect/build/index.js:218:22)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:49:13
    at Generator.next (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:3:12)
    at checkErrorSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:36:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:98:9
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-seqgasless

test/sequential/feeLock.API.feePayment.sequential.test.ts ► gasless- GIVEN a feeLock configured (only Time and Amount ) WHEN the user swaps AND the user does not have enough MGAs THEN the extrinsic fails on submission

Failed test found in:
  e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml
Error:
  Error: expect(received).rejects.toThrow(expected)
Raw output
Error: expect(received).rejects.toThrow(expected)

Expected substring: "1010: Invalid Transaction: Fee lock processing has failed either due to not enough funds to reserve or an unexpected error"
Received message:   ""

      45 |     ).catch((reason) => {
      46 |       exception = true;
    > 47 |       throw new Error(reason.data);
         |             ^
      48 |     }),
      49 |   ).rejects.toThrow(reason);
      50 |

      at test/sequential/feeLock.API.feePayment.sequential.test.ts:47:13
    at Object.toThrow (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/expect/build/index.js:218:22)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:49:13
    at Generator.next (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:3:12)
    at checkErrorSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:36:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:112:9
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.feePayment.sequential.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-seqgasless

test/sequential/feeLock.API.feePayment.sequential.test.ts ► gasless- Given a feeLock correctly configured (only Time and Amount ) WHEN the user swaps AND the user has enough MGAs THEN the extrinsic is correctly submitted

Failed test found in:
  e2eTests/reports/junit.xml-4b554c10-b57f-11ef-8833-c1c2a8aa5478.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:4648:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)