diff --git a/src/lib/snarky_js_bindings/snarkyjs b/src/lib/snarky_js_bindings/snarkyjs index c359962353f2..d870ae1579a1 160000 --- a/src/lib/snarky_js_bindings/snarkyjs +++ b/src/lib/snarky_js_bindings/snarkyjs @@ -1 +1 @@ -Subproject commit c359962353f21d856a7f0bf3b68d858ae3394098 +Subproject commit d870ae1579a13bc1c989dd291d4d32a3b30726f1 diff --git a/src/lib/snarky_js_bindings/test_module/simple-zkapp.js b/src/lib/snarky_js_bindings/test_module/simple-zkapp.js index 7b76099c5ff2..e78120ffc8db 100644 --- a/src/lib/snarky_js_bindings/test_module/simple-zkapp.js +++ b/src/lib/snarky_js_bindings/test_module/simple-zkapp.js @@ -45,6 +45,7 @@ declareMethods(SimpleZkapp, { update: [Field] }); // parse command line; for local testing, use random keys as fallback let [command, zkappKeyBase58, feePayerKeyBase58, feePayerNonce] = process.argv.slice(2); + zkappKeyBase58 ||= PrivateKey.random().toBase58(); feePayerKeyBase58 ||= PrivateKey.random().toBase58(); feePayerNonce ||= command === "update" ? "2" : "0";