Skip to content

Commit

Permalink
more tracing and leave json files
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometer1729 committed Sep 17, 2024
1 parent 24f2507 commit 7df4d59
Show file tree
Hide file tree
Showing 4 changed files with 574 additions and 2 deletions.
126 changes: 126 additions & 0 deletions ocaml.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"body": {
"publicKey": "B62qpEtMBf5ZRFoLej1DUkBuMNGtoEBwBiUiy6xHXSuX2mHwryxi7ro",
"tokenId": "wSHV2S4qX9jFsLjQo8r1BsMLH2ZRKsZx6EJd1sbozGPieEC4Jf",
"update": {
"appState": [
null,
null,
null,
null,
null,
null,
null,
null
],
"delegate": null,
"verificationKey": null,
"permissions": null,
"zkappUri": null,
"tokenSymbol": null,
"timing": null,
"votingFor": null
},
"balanceChange": {
"magnitude": "44584",
"sgn": "Negative"
},
"incrementNonce": true,
"events": [],
"actions": [],
"callData": "0",
"callDepth": 0,
"preconditions": {
"network": {
"snarkedLedgerHash": null,
"blockchainLength": null,
"minWindowDensity": null,
"totalCurrency": null,
"globalSlotSinceGenesis": {
"lower": "0",
"upper": "3"
},
"stakingEpochData": {
"ledger": {
"hash": null,
"totalCurrency": null
},
"seed": null,
"startCheckpoint": null,
"lockCheckpoint": null,
"epochLength": null
},
"nextEpochData": {
"ledger": {
"hash": null,
"totalCurrency": null
},
"seed": null,
"startCheckpoint": null,
"lockCheckpoint": null,
"epochLength": null
}
},
"account": {
"balance": null,
"nonce": {
"lower": "33961154",
"upper": "33961154"
},
"receiptChainHash": null,
"delegate": null,
"state": [
null,
null,
null,
null,
null,
null,
null,
null
],
"actionState": null,
"provedState": null,
"isNew": null
},
"test": {
"balance": null,
"nonce": {
"lower": "33961154",
"upper": "33961154"
},
"receiptChainHash": null,
"delegate": null,
"state": [
null,
null,
null,
null,
null,
null,
null,
null
],
"actionState": null,
"provedState": null,
"isNew": null
},
"validWhile": null
},
"useFullCommitment": true,
"implicitAccountCreationFee": true,
"mayUseToken": {
"parentsOwnToken": false,
"inheritFromParent": false
},
"authorizationKind": {
"isSigned": true,
"isProved": false,
"verificationKeyHash": "3392518251768960475377392625298437850623664973002200885669375116181514017494"
}
},
"authorization": {
"proof": null,
"signature": "7mWxjLYgbJUkZNcGouvhVj5tJ8yu9hoexb9ntvPK8t5LHqzmrL6QJjjKtf5SgmxB4QWkDw7qoMMbbNGtHVpsbJHPyTy2EzRQ"
}
}
2 changes: 1 addition & 1 deletion src/mina-signer/src/sign-zkapp-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function feePayerHash(feePayer: FeePayer, networkId: NetworkId) {
console.log("FEE PAYER HASH RUNS")
let accountUpdate = accountUpdateFromFeePayer(feePayer);
console.log("update")
console.log(accountUpdate)
console.log(JSON.stringify(accountUpdate))
let ah = accountUpdateHash(accountUpdate, networkId);
console.log(ah)
return ah
Expand Down
Loading

0 comments on commit 7df4d59

Please sign in to comment.