Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
fix(contracts): do not format finish_epoch_reponse.json
Browse files Browse the repository at this point in the history
* We used to format the JSON returned by the machine with `jq` to make
  git diffs smoother (fewer changed lines). But since now we are not
  committing this file anymore, it no longer makes no sense to format
  it with `jq`. This has no impact on the behaviour of the proof
  generation system, as `jq` only changes formatting, not the data.
  • Loading branch information
guidanoli committed May 25, 2023
1 parent a109d15 commit ec2e888
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onchain/rollups/test/foundry/dapp/helper/update-proofs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ runmachine() {
}

# Decode strings in epoch status from Base64 to hexadecimal
# Format the output with jq so that git diffs are smoother
b64to16() {
python3 -m b64to16 output/finish_epoch_response_64.json | jq > finish_epoch_response.json
python3 -m b64to16 output/finish_epoch_response_64.json > finish_epoch_response.json
}

# Generate Solidity libraries with proofs from epoch status
Expand Down

0 comments on commit ec2e888

Please sign in to comment.