-
Notifications
You must be signed in to change notification settings - Fork 219
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
chore: Perform lazy initialization inside noir_js
#2951
Conversation
@signorecello had requested to not have lazy init, so that they could init once on loading the page. What are the thoughts here? On mobile so did not see that it just adds it to generateFinalProof -- this should also be added to Verify too |
This doesn't need to be mutually exclusive though? |
Exactly, as stated in related issue you can
|
noir_js
* master: (53 commits) feat: Nargo test runtime callstacks and assert messages without string matching (#2953) chore: Release Noir(0.16.0) (#2908) chore: run smart contract verification integration tests inside hardhat (#2957) chore: fix publishing workflows (#2926) chore: restructure integration tests (#2954) fix: Improve error message when multiplying unit values (#2950) chore: Perform lazy initialization inside `noir_js` (#2951) chore: Make one input public in simple assertion program (#2949) chore: use new JS packages in integration tests (#2938) fix(println): Enable printing of arrays/strings >2 in fmt strings (#2947) feat(ssa): Multiple slice mergers (#2753) fix: fix should_fail_with (#2940) feat: Oracle mocker for nargo test (#2928) chore: add linting to new packages (#2937) feat: Dynamic indexing of non-homogenous slices (#2883) chore: Fix barretenberg noir typescript wrapper (#2922) chore(ci): Rename Noir.js test job (#2932) feat!: Maintain shape of foreign call arguments (#2935) chore: add init method to Noir class for web (#2920) chore: bump `reqwest` to 0.11.20 (#2931) ...
Description
Provides lazy initialization when noirProgram.init() is not called before.
Problem*
Resolves noir_js should not "require" to .init()#2952
Summary*
Documentation
This PR requires documentation updates when merged.
Additional Context
PR Checklist*
cargo fmt
on default settings.