diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5f121c0..31820a3 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -8,7 +8,7 @@ Ensure you completed **all of the steps** below before submitting your pull requ - [ ] Added natspec comments? - [ ] Ran `forge snapshot`? -- [ ] Ran `pnpm gas-report`? +- [ ] Ran `pnpm gas:report`? - [ ] Ran `pnpm lint`? - [ ] Ran `forge test`? - [ ] Ran `pnpm verify`? diff --git a/package.json b/package.json index 452463a..6ba47b1 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,6 @@ "lint:sol": "forge fmt --check && pnpm solhint {script,src,test,certora}/**/*.sol", "prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore", "prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore", - "gas-report": "forge test --gas-report 2>&1 | (tee /dev/tty | awk '/Test result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)" + "gas:report": "forge test --gas-report 2>&1 | (tee /dev/tty | awk '/Test result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)" } } \ No newline at end of file