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-crowdloan failed Nov 29, 2024 in 0s

E2E report yarn test-crowdloan ❌

Tests failed

❌ e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.xml

12 tests were completed in 306s with 1 passed, 11 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/crowdloan.API.claiming.test.ts 1✅ 5❌ 258s
test/sequential/crowdloan.API.test.ts 6❌ 48s

❌ test/sequential/crowdloan.API.claiming.test.ts

✅ Users receive different rewards when they confirm them before, during and after crowdloan
❌ A user can only change his reward-address with: crowdloan.updateRewardAddress AND user can claim some rewards if it provided some on the specified cl_id
	Error: thrown: Object {
Test that a user can claim when
  ❌ CL1 is fully setup and no other CL is setup
	Error: thrown: Object {
  ❌ CL1 is fully setup and CL2 setup the setCrowdloanAllocation
	Error: thrown: Object {
  ❌ CL1 is fully setup and CL2 setup the setCrowdloanAllocation and RewardVec
	Error: thrown: Object {
  ❌ CL1 is fully setup and CL2 setup the setCrowdloanAllocation and RewardVec and completeInitialization
	Error: thrown: Object {

❌ test/sequential/crowdloan.API.test.ts

Only sudo can
  ❌ crowdloan.setCrowdloanAllocation(crowdloanAllocationAmount)
	Error: thrown: Object {
  ❌ crowdloan.initializeCrowdloanRewardVec(rewards)
	Error: thrown: Object {
  ❌ crowdloan.completeCrowdloanInitialization(leaseEndingBlock)
	Error: thrown: Object {
❌ A reward needs to be fully setup with: setCrowdloanAllocation + initializeCrowdloanRewardVec + completeCrowdloanInitialization
	Error: thrown: Object {
❌ CL needs to be setup in order
	TypeError: Cannot read properties of undefined (reading 'module')
❌ Total contributors returns the number of contributors per crowdloan AND validation of contributions is done when Initializing the cl rewards
	Error: expect(received).toEqual(expected) // deep equality

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.claiming.test.ts ► A user can only change his reward-address with: crowdloan.updateRewardAddress AND user can claim some rewards if it provided some on the specified cl_id

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.claiming.test.ts:186: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.claiming.test.ts ► Test that a user can claim when ► CL1 is fully setup and no other CL is setup

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.claiming.test.ts:227: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/crowdloan.API.claiming.test.ts:226: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.claiming.test.ts ► Test that a user can claim when ► CL1 is fully setup and CL2 setup the setCrowdloanAllocation

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.claiming.test.ts:231: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/crowdloan.API.claiming.test.ts:226: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.claiming.test.ts ► Test that a user can claim when ► CL1 is fully setup and CL2 setup the setCrowdloanAllocation and RewardVec

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.claiming.test.ts:237: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/crowdloan.API.claiming.test.ts:226: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.claiming.test.ts ► Test that a user can claim when ► CL1 is fully setup and CL2 setup the setCrowdloanAllocation and RewardVec and completeInitialization

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.claiming.test.ts:244: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/crowdloan.API.claiming.test.ts:226: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.test.ts ► Only sudo can ► crowdloan.setCrowdloanAllocation(crowdloanAllocationAmount)

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.test.ts:62: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/crowdloan.API.test.ts:61: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.test.ts ► Only sudo can ► crowdloan.initializeCrowdloanRewardVec(rewards)

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.test.ts:85: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/crowdloan.API.test.ts:61: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.test.ts ► Only sudo can ► crowdloan.completeCrowdloanInitialization(leaseEndingBlock)

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.test.ts:118: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/crowdloan.API.test.ts:61: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.test.ts ► A reward needs to be fully setup with: setCrowdloanAllocation + initializeCrowdloanRewardVec + completeCrowdloanInitialization

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.test.ts:165: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-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.test.ts ► CL needs to be setup in order

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'module')
Raw output
TypeError: Cannot read properties of undefined (reading 'module')
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:204:67
    at Generator.next (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:3:12)
    at getEventErrorFromSudo (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:133:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:151:32
    at Generator.next (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:3:12)
    at waitSudoOperationFail (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:114:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/crowdloan.API.test.ts:203:9
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/crowdloan.API.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.xml

See this annotation in the file changed.

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

test/sequential/crowdloan.API.test.ts ► Total contributors returns the number of contributors per crowdloan AND validation of contributions is done when Initializing the cl rewards

Failed test found in:
  e2eTests/reports/junit.xml-6882e540-ae45-11ef-b841-6580bbb36365.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/crowdloan.API.test.ts:263:42
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/crowdloan.API.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)