Reject update that doesnt provide new info #756
E2E report yarn test-rolldownWithdrawal ❌
❌ e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
11 tests were completed in 588s with 1 passed, 10 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/rolldown.withdraw.fees.test.ts | 1✅ | 4❌ | 82s | |
test/sequential/rolldown.withdraw.merkleRoot.test.ts | 6❌ | 506s |
❌ test/sequential/rolldown.withdraw.fees.test.ts
❌ GIVEN a withdrawal, WHEN paying with GASP and withdrawing GASP, some fees goes to treasury
Error: thrown: Object {
❌ GIVEN a withdrawal, WHEN paying with GASP and withdrawing Eth, some fees goes to treasury
Error: expect(received).toEqual(expected) // deep equality
❌ GIVEN a withdrawal, WHEN paying with GASP and withdrawing ALL GASP, extrinsic fail
Error: thrown: Object {
✅ GIVEN a withdrawal, WHEN user having only Eth and withdrawing Eth, extrinsic fail
❌ Given a fee withdrawal payment WHEN withdrawal is sent from another account THEN the fee is deducted from from sender's account
Error: thrown: Object {
❌ test/sequential/rolldown.withdraw.merkleRoot.test.ts
Withdraw & Batches tests -
❌ Given a cancel WHEN block is processed THEN it will create an update that needs to be sent through a batch to L1 for justification
Error: Max blocks reached without getting read rights
❌ Given a withdraw extrinsic run WHEN token address does not exist THEN a withdraw fail and no l2update is stored
Error: thrown: Object {
❌ Given a withdraw extrinsic run WHEN token address exist but requester does not have funds THEN a withdraw fail and no l2update is stored
Error: thrown: Object {
❌ Given a succeed withdraw, when block is executed Then tokens are removed from user wallet
Error: thrown: Object {
❌ GIVEN <batchSize - 1> withdraws, AND manually generated batch and create another withdraw for some other network (arb) THEN the batch is not generated
Error: thrown: Object {
❌ Given a failed deposit TX, then a withdrawal can be created by `refundFailedDeposit
Error: thrown: Object {
Annotations
Check failure on line 0 in e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.fees.test.ts ► GIVEN a withdrawal, WHEN paying with GASP and withdrawing GASP, some fees goes to treasury
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.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/rolldown.withdraw.fees.test.ts:52: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 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-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.fees.test.ts ► GIVEN a withdrawal, WHEN paying with GASP and withdrawing Eth, some fees goes to treasury
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
Error:
Error: expect(received).toEqual(expected) // deep equality
Raw output
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 1
at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.withdraw.fees.test.ts:118:31
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/rolldown.withdraw.fees.test.ts:8:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check failure on line 0 in e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.fees.test.ts ► GIVEN a withdrawal, WHEN paying with GASP and withdrawing ALL GASP, extrinsic fail
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.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/rolldown.withdraw.fees.test.ts:150: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 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-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.fees.test.ts ► Given a fee withdrawal payment WHEN withdrawal is sent from another account THEN the fee is deducted from from sender's account
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.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/rolldown.withdraw.fees.test.ts:191: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 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-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.merkleRoot.test.ts ► Withdraw & Batches tests - ► Given a cancel WHEN block is processed THEN it will create an update that needs to be sent through a batch to L1 for justification
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
Error:
Error: Max blocks reached without getting read rights
Raw output
Error: Max blocks reached without getting read rights
at Function.<anonymous> (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:214:11)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/rollDown/Rolldown.ts:4:58)
Check failure on line 0 in e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.merkleRoot.test.ts ► Withdraw & Batches tests - ► Given a withdraw extrinsic run WHEN token address does not exist THEN a withdraw fail and no l2update is stored
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.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/rolldown.withdraw.merkleRoot.test.ts:100: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/sequential/rolldown.withdraw.merkleRoot.test.ts:37: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-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.merkleRoot.test.ts ► Withdraw & Batches tests - ► Given a withdraw extrinsic run WHEN token address exist but requester does not have funds THEN a withdraw fail and no l2update is stored
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.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/rolldown.withdraw.merkleRoot.test.ts:113: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/sequential/rolldown.withdraw.merkleRoot.test.ts:37: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-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.merkleRoot.test.ts ► Withdraw & Batches tests - ► Given a succeed withdraw, when block is executed Then tokens are removed from user wallet
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.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/rolldown.withdraw.merkleRoot.test.ts:125: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/sequential/rolldown.withdraw.merkleRoot.test.ts:37: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-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.merkleRoot.test.ts ► Withdraw & Batches tests - ► GIVEN <batchSize - 1> withdraws, AND manually generated batch and create another withdraw for some other network (arb) THEN the batch is not generated
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.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/rolldown.withdraw.merkleRoot.test.ts:146: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/sequential/rolldown.withdraw.merkleRoot.test.ts:37: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-109d9040-ae46-11ef-a2b0-27c3328b181a.xml
github-actions / E2E report yarn test-rolldownWithdrawal
test/sequential/rolldown.withdraw.merkleRoot.test.ts ► Withdraw & Batches tests - ► Given a failed deposit TX, then a withdrawal can be created by `refundFailedDeposit
Failed test found in:
e2eTests/reports/junit.xml-109d9040-ae46-11ef-a2b0-27c3328b181a.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/rolldown.withdraw.merkleRoot.test.ts:221: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/sequential/rolldown.withdraw.merkleRoot.test.ts:37: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)