Skip to content

Commit

Permalink
[snarkyjs] - Fix intg test
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMinkov committed Jul 21, 2022
1 parent 276d839 commit dec6980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/snarky_js_bindings/snarkyjs
1 change: 1 addition & 0 deletions src/lib/snarky_js_bindings/test_module/simple-zkapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit dec6980

Please sign in to comment.