Skip to content
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

Reduce snarkyjs loading time - DEVELOP #124

Merged
merged 33 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
34704ed
expose new ts bindings file to jsoo
mitschabaude Aug 16, 2023
f987821
use existing converted poseidon params
mitschabaude Aug 16, 2023
7e2696b
get number of workers only when needed (bc expensive)
mitschabaude Aug 16, 2023
b0e0d3d
start main worker in a non-blocking way
mitschabaude Aug 17, 2023
7764a03
generate prefix hashes at compile time and bundle
mitschabaude Aug 17, 2023
f7a6983
add more prefixes
mitschabaude Aug 17, 2023
4d4d958
don't create example payment at the top level
mitschabaude Aug 17, 2023
79ffc5e
lazy account update deriver
mitschabaude Aug 17, 2023
5f348d7
more lazy derivers
mitschabaude Aug 17, 2023
5f11259
minor
mitschabaude Aug 17, 2023
85be5ef
fix web backend
mitschabaude Aug 17, 2023
430b9df
update bindings
mitschabaude Aug 18, 2023
442c808
Merge branch 'berkeley' into perf/loading-time-berkeley
mitschabaude Aug 21, 2023
af61721
prettier
mitschabaude Aug 21, 2023
a01ff22
Introduce different Wasm equivalent types and add lookup verif index
dannywillems Aug 21, 2023
bb6b0ee
Update local ledger implementation to match ledger intf
nholland94 Aug 21, 2023
3cc3b21
Merge pull request #120 from o1-labs/fix/bootstrap-long-async-cycle
nholland94 Aug 21, 2023
f327ec0
bindings.js: add to/of_rust conversions of new structures
dannywillems Aug 21, 2023
4bf7e95
Run npm run bindings
dannywillems Aug 21, 2023
d8656a2
Removing mk_affine in caml_plonk_verification_evals_to_rust
dannywillems Aug 22, 2023
fc981c1
Removing poly_comm_class from caml_plonk_verification_evals_to_rust
dannywillems Aug 22, 2023
66c01ba
Merge pull request #121 from o1-labs/dannywillems/lookup-verifier-ind…
dannywillems Aug 22, 2023
22aabba
Ignore warning about unused value
dannywillems Aug 22, 2023
ca2a7d5
Merge pull request #123 from o1-labs/dannywillems/fix-unused-value
dannywillems Aug 22, 2023
2088f72
update bindings
mitschabaude Aug 22, 2023
d77e99a
Merge branch 'perf/loading-time-berkeley' into perf/loading-time-develop
mitschabaude Aug 22, 2023
429f829
address feedback - add documentation in comments
mitschabaude Aug 23, 2023
88f8cd1
Expose lookup commitments
dannywillems Aug 22, 2023
07ea145
bindings.js: removing unused parameter
dannywillems Aug 22, 2023
3f542c5
Update bindings after artefacts generated
dannywillems Aug 23, 2023
17e2f4f
Merge pull request #122 from o1-labs/dannywillems/expose-lookup-commi…
dannywillems Aug 24, 2023
327e5e2
Merge branch 'berkeley' into perf/loading-time-develop
mitschabaude Aug 25, 2023
2905826
update bindings
mitschabaude Aug 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions compiled/node_bindings/plonk_wasm.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8888,14 +8888,6 @@ module.exports.__wbindgen_is_object = function(arg0) {
return ret;
};

module.exports.__wbg_randomFillSync_6894564c2c334c42 = function() { return handleError(function (arg0, arg1, arg2) {
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
}, arguments) };

module.exports.__wbg_getRandomValues_805f1c3d65988a5a = function() { return handleError(function (arg0, arg1) {
getObject(arg0).getRandomValues(getObject(arg1));
}, arguments) };

module.exports.__wbg_crypto_e1d53a1d73fb10b8 = function(arg0) {
const ret = getObject(arg0).crypto;
return addHeapObject(ret);
Expand Down Expand Up @@ -8936,6 +8928,14 @@ module.exports.__wbindgen_is_function = function(arg0) {
return ret;
};

module.exports.__wbg_getRandomValues_805f1c3d65988a5a = function() { return handleError(function (arg0, arg1) {
getObject(arg0).getRandomValues(getObject(arg1));
}, arguments) };

module.exports.__wbg_randomFillSync_6894564c2c334c42 = function() { return handleError(function (arg0, arg1, arg2) {
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
}, arguments) };

module.exports.__wbg_get_27fe3dac1c4d0224 = function(arg0, arg1) {
const ret = getObject(arg0)[arg1 >>> 0];
return addHeapObject(ret);
Expand Down
Binary file modified compiled/node_bindings/plonk_wasm_bg.wasm
Binary file not shown.
212,346 changes: 106,221 additions & 106,125 deletions compiled/node_bindings/snarky_js_node.bc.cjs

Large diffs are not rendered by default.

Loading