Implement nickminer algorithm for pow
module
#217
test-build.yml
on: pull_request
Run Tests
25s
Build Binaries
0s
Annotations
10 errors and 1 warning
Run Tests:
tests/modules/PoWModule.spec.ts#L66
Conversion of type '{ enabled: true; powShareReward: number; powSessionTimeout: number; powHashAlgo: PoWHashAlgo.CRYPTONIGHT; powCryptoNightParams: { algo: number; variant: number; height: number; }; powDifficulty: number; powNonceCount: number; powHashrateSoftLimit: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L97
Conversion of type '{ enabled: true; powShareReward: number; powSessionTimeout: number; powHashAlgo: PoWHashAlgo.ARGON2; powArgon2Params: { type: number; version: number; timeCost: number; memoryCost: number; parallelization: number; keyLength: number; }; powDifficulty: number; powNonceCount: number; powHashrateSoftLimit: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L305
Conversion of type '{ enabled: true; powHashAlgo: PoWHashAlgo.SCRYPT; powScryptParams: { cpuAndMemory: number; blockSize: number; parallelization: number; keyLength: number; }; powDifficulty: number; powNonceCount: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L342
Conversion of type '{ enabled: true; powHashAlgo: PoWHashAlgo.SCRYPT; powScryptParams: { cpuAndMemory: number; blockSize: number; parallelization: number; keyLength: number; }; powDifficulty: number; powNonceCount: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L379
Conversion of type '{ enabled: true; powHashAlgo: PoWHashAlgo.SCRYPT; powScryptParams: { cpuAndMemory: number; blockSize: number; parallelization: number; keyLength: number; }; powDifficulty: number; powNonceCount: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L417
Conversion of type '{ enabled: true; powHashAlgo: PoWHashAlgo.SCRYPT; powScryptParams: { cpuAndMemory: number; blockSize: number; parallelization: number; keyLength: number; }; powDifficulty: number; powNonceCount: number; powHashrateHardLimit: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L455
Conversion of type '{ enabled: true; powShareReward: number; powHashAlgo: PoWHashAlgo.SCRYPT; powScryptParams: { cpuAndMemory: number; blockSize: number; parallelization: number; keyLength: number; }; powDifficulty: number; powNonceCount: number; powHashrateHardLimit: number; verifyLocalLowPeerPercent: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L500
Conversion of type '{ enabled: true; powHashAlgo: PoWHashAlgo.SCRYPT; powScryptParams: { cpuAndMemory: number; blockSize: number; parallelization: number; keyLength: number; }; powDifficulty: number; powNonceCount: number; powHashrateHardLimit: number; verifyLocalLowPeerPercent: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L544
Conversion of type '{ enabled: true; powShareReward: number; powHashAlgo: PoWHashAlgo.CRYPTONIGHT; powCryptoNightParams: { algo: number; variant: number; height: number; }; powDifficulty: number; powNonceCount: number; powHashrateHardLimit: number; verifyLocalLowPeerPercent: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests:
tests/modules/PoWModule.spec.ts#L588
Conversion of type '{ enabled: true; powHashAlgo: PoWHashAlgo.CRYPTONIGHT; powCryptoNightParams: { algo: number; variant: number; height: number; }; powDifficulty: number; powNonceCount: number; powHashrateHardLimit: number; verifyLocalLowPeerPercent: number; }' to type 'IPoWConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Run Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/setup-buildx-action@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|