-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blocking SnarkyJS CI tests #997
Conversation
521ce79
to
7062619
Compare
@@ -0,0 +1,156 @@ | |||
import { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when is this run?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
never, but I hope to reconcile some Mina tests which are currently in snarkyjs/tests/integration and are written in raw JS w/o types, with this directory
await testRecursion(MaxProofsVerifiedOne, 1); | ||
|
||
async function testRecursion( | ||
Program: typeof MaxProofsVerifiedOne, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: should this be explicit? I think we want to have to change things if the backend changes, right?
companion of MinaProtocol/mina#13430
./run --bundle
script to build & run TS scripts on the fly./run
handle our entire code base, and don't mix the worker code into the bundle, we stop bundling atwrapper.js
(which has the compiled wasm/jsoo artifacts as dependencies)src/bindings/compiled/_node_bindings
). Themake
script now puts compiled artifacts into that folder instead of into/dist
./dist
after invoking the TS compilersrc
) is no longer valid. We instead add an empty declaration filesnarky_js_bindings.bc.d.cts
which also stops TS from looking at that fileAll in all, the build setup is a bit more logical and less hacky now - in particular, files are located where they are imported from and it's actually possible to bundle the entire TS code base without copying around files before doing that