fix: 🚑 Re-initialise BSPs' challenge cycle when changing stake #2233
Annotations
8 errors, 1 warning, and 1 notice
Run BSPNet Tests:
test/suites/integration/bsp/submit-proofs.test.ts#L164
[Error [ERR_TEST_FAILURE]: The last tick for which the BSP-Down submitted a proof should be the last tick before BSP-Down was marked as slashable plus one challenge period
21 !== 30
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The last tick for which the BSP-Down submitted a proof should be the last tick before BSP-Down was marked as slashable plus one challenge period
21 !== 30
at TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:164:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 21,
expected: 30,
operator: 'strictEqual'
}
}
|
Run BSPNet Tests:
test/suites/integration/bsp/submit-proofs.test.ts#L341
[Error [ERR_TEST_FAILURE]: Failed to detect BSP catch up after 30s] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Failed to detect BSP catch up after 30s
at Module.waitForBspToCatchUpToChainTip (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/waits.ts:299:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:341:7)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
Run BSPNet Tests:
test/suites/integration/bsp/submit-proofs.test.ts#L405
[Error [ERR_TEST_FAILURE]: All pending submit proof transactions should have been successful
2 !== 1
] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: All pending submit proof transactions should have been successful
2 !== 1
at TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:405:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 2,
expected: 1,
operator: 'strictEqual'
}
}
|
Run BSPNet Tests:
test/suites/integration/bsp/submit-proofs.test.ts#L473
[Error [ERR_TEST_FAILURE]: Failed to detect proofsDealer.submitProof extrinsic in txPool. Error: AssertionError [ERR_ASSERTION]: Expected at least 2 extrinsics, but found 1 for proofsDealer.submitProof] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: Failed to detect proofsDealer.submitProof extrinsic in txPool. Error: AssertionError [ERR_ASSERTION]: Expected at least 2 extrinsics, but found 1 for proofsDealer.submitProof
at waitForTxInPool (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/waits.ts:62:11)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Module.advanceToBlock (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/block.ts:394:7)
at async TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:473:7)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7)
}
|
Run BSPNet Tests:
test/suites/integration/bsp/submit-proofs.test.ts#L512
[Error [ERR_TEST_FAILURE]: The file key should be included in the checkpoint challenge.] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The file key should be included in the checkpoint challenge.
at TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:512:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
Run BSPNet Tests:
test/suites/integration/bsp/submit-proofs.test.ts#L654
[Error [ERR_TEST_FAILURE]: No events matching proofsDealer.MutationsApplied found] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: No events matching proofsDealer.MutationsApplied found
at Module.assertEventMany (/home/runner/work/storage-hub/storage-hub/test/util/asserts.ts:175:3)
at Object.eventMany (/home/runner/work/storage-hub/storage-hub/test/util/bspNet/test-api.ts:178:27)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:654:40)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
Run BSPNet Tests:
test/suites/integration/bsp/submit-proofs.test.ts#L685
[Error [ERR_TEST_FAILURE]: The root should have been updated on chain] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: The root should have been updated on chain
at TestContext.<anonymous> (/home/runner/work/storage-hub/storage-hub/test/suites/integration/bsp/submit-proofs.test.ts:685:7)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:932:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:629:7) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
}
|
Run BSPNet Tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run BSPNet Tests
Total Tests: 34
Suites 📂: 8
Passed ✅: 24
Failed ❌: 7
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 0
Duration 🕐: 396342.253ms
|
Loading