Skip to content

Commit

Permalink
fix: flamegraph script issue (#7886)
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan authored Aug 9, 2024
1 parent c3292d7 commit 43fff40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions noir-projects/noir-contracts/scripts/flamegraph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function sed_wrapper() {

# convert contract name to following format: token_bridge_contract-TokenBridge.json
ARTIFACT=$(echo "$CONTRACT" | sed_wrapper -r 's/^([A-Z])/\L\1/; s/([a-z0-9])([A-Z])/\1_\L\2/g')
ARTIFACT=$(echo "$ARTIFACT" | tr '[:upper:]' '[:lower:]')
ARTIFACT_NAME="${ARTIFACT}_contract-${CONTRACT}"

# Extract artifact for the specific function
Expand Down

0 comments on commit 43fff40

Please sign in to comment.