Skip to content

Commit 32b9d85

Browse files
authored
fix(bb-sol): commit Debug.sol in forge-fmt-stable form on next (AztecProtocol#23168)
## Summary Companion to AztecProtocol#23146 (merge-train/barretenberg), recreated against `next`. `barretenberg/sol/bootstrap.sh::build_sol` runs `forge fmt` before `forge build`. PR AztecProtocol#22659 (now in `next` via merge-train/fairies) trimmed unused imports from `test/utils/Debug.sol`; once trimmed, the multi-line import block was short enough that `forge fmt` collapses it to a single line. That rewrites the file mid-CI and trips `ci3/cache_content_hash` with `ERROR: Noticed changes to rebuild patterns during CI run`, disabling cache hits for every downstream `*-tests` target — as seen in http://ci.aztec-labs.com/1778494208886637. This PR puts `Debug.sol` directly into the forge-fmt-stable form (single-line import). After rebase, this is the only diff against `next`. ## Verification ```bash cd barretenberg/sol forge fmt --check # clean forge fmt # no changes ``` Full analysis: https://gist.github.com/AztecBot/86bb7e59c1a9998f77dd1bc51dd9319d
2 parents b0185eb + 18f3fa8 commit 32b9d85

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

barretenberg/sol/test/utils/Debug.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
pragma solidity >=0.8.27;
44

55
import {Fr} from "src/honk/Fr.sol";
6-
import {
7-
Honk,
8-
NUMBER_OF_ALPHAS,
9-
CONST_PROOF_SIZE_LOG_N
10-
} from "src/honk/HonkTypes.sol";
6+
import {Honk, NUMBER_OF_ALPHAS, CONST_PROOF_SIZE_LOG_N} from "src/honk/HonkTypes.sol";
117
import {Transcript} from "src/honk/Transcript.sol";
128

139
function bytes32ToString(bytes32 value) pure returns (string memory result) {

0 commit comments

Comments
 (0)