Skip to content

Reject update that doesnt provide new info #756

Reject update that doesnt provide new info

Reject update that doesnt provide new info #756

GitHub Actions / E2E report yarn test-seqgasless failed Nov 29, 2024 in 0s

E2E report yarn test-seqgasless ❌

Tests failed

❌ e2eTests/reports/junit.xml-32d9dd90-ae45-11ef-93c3-9b6399683c60.xml

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

Test suite Passed Failed Skipped Time
test/sequential/feeLock.API.config.test.ts 2✅ 2❌ 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
	Error: thrown: Object {
✅ 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
	Error:   --- TX Mapping issue ---

❌ 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:   --- TX Mapping issue ---
❌ 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
	Error:   --- TX Mapping issue ---

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-32d9dd90-ae45-11ef-93c3-9b6399683c60.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- GIVEN a non sudo user WHEN feeLock configuration extrinsic is submitted THEN it fails with RequireSudo

Failed test found in:
  e2eTests/reports/junit.xml-32d9dd90-ae45-11ef-93c3-9b6399683c60.xml
Error:
  Error: thrown: Object {
Raw output
Error: thrown: Object {
  "data": "1010: Invalid Transaction: Inability to pay some fees , e.g. account balance too low",
}
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/feeLock.API.config.test.ts:71: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)

Check failure on line 0 in e2eTests/reports/junit.xml-32d9dd90-ae45-11ef-93c3-9b6399683c60.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-32d9dd90-ae45-11ef-93c3-9b6399683c60.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:199:29
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-32d9dd90-ae45-11ef-93c3-9b6399683c60.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-32d9dd90-ae45-11ef-93c3-9b6399683c60.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-32d9dd90-ae45-11ef-93c3-9b6399683c60.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-32d9dd90-ae45-11ef-93c3-9b6399683c60.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:199:29
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-32d9dd90-ae45-11ef-93c3-9b6399683c60.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-32d9dd90-ae45-11ef-93c3-9b6399683c60.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:199:29
    at processTicksAndRejections (node:internal/process/task_queues:95:5)