Closed themighty1 closed 2 years ago
Hi - thanks for filing this issue! This repo hasn't been updated in a while. If you are interested in using STARKs, I'd recommend Winterfell. It is a much more up-to-date implementation of STARK protocol and is also much more performant.
Thanks, that impl looks good.
HI, I have ts-node v10.7.0 and tried to run
ts-node fibonacci.ts
from examples/demo as well as other examples I get the same error below. Could you advise on how to work around this. Maybe a different version of ts-node is needed? Thanks.The error log: ` /home/default2/.nvm/versions/node/v15.14.0/lib/node_modules/ts-node/src/index.ts:820 return new TSError(diagnosticText, diagnosticCodes); ^ TSError: ⨯ Unable to compile TypeScript: ../../lib/Stark.ts:101:76 - error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error | undefined'.
101 throw new StarkError(
Failed to generate the execution trace
, error);../../lib/Stark.ts:212:90 - error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error | undefined'.
212 error = new StarkError(
Verification of evaluation Merkle proof failed
, error);diagnosticCodes: [ 2345, 2345, 2345, 2345 ] } `