Skip to content

Commit

Permalink
Update template hashes to match current state
Browse files Browse the repository at this point in the history
- GenericScript's hash should match the result built by downloading the
rootfs-python-jwt.ext2 artifact stored in the public repo's releases
- GpgVerify's hash should match the result built by downloading the
dapp-data.ext2 file committed to the repository
  • Loading branch information
miltonjonat committed May 11, 2023
1 parent 3733e4c commit d200b2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generic-script/contracts/GenericScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ contract GenericScript {

CartesiComputeInterface cartesiCompute;

bytes32 templateHash = 0x91e6e7408c24844a3b58cc6d5310a49f10882100a937d14cecd3c54bfe573353;
bytes32 templateHash = 0x4caa1154d98668b6114802c6aef70db8f2d32a32b8d79a328737f99c98bdc674;
uint64 outputPosition = 0xa000000000000000;
uint8 outputLog2Size = 10;
uint256 finalTime = 1e11;
Expand Down
2 changes: 1 addition & 1 deletion gpg-verify/contracts/GpgVerify.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ contract GpgVerify {

CartesiComputeInterface cartesiCompute;

bytes32 templateHash = 0x6ed9c0c7a84bdce6cdc42018d2d43af391382b441d1f9b5de23bb518f3f76809;
bytes32 templateHash = 0xb5907eafa8a2c0f43249afcef27d207785e427ca4a1d7db8a4a05c7f1b7e1df5;

// this DApp has an ext2 file-system (at 0x9000..) and two input drives (at 0xa000.. and 0xb000..), so the output will be at 0xc000..
uint64 outputPosition = 0xc000000000000000;
Expand Down

0 comments on commit d200b2b

Please sign in to comment.