Skip to content

Commit

Permalink
fix: flamegraph script issue
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Aug 9, 2024
1 parent fda7c3e commit 045c3ff
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 045c3ff

Please sign in to comment.