From 0dd04a179eb3d8cf6849a9a2601df95a01ac5d25 Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Wed, 11 Sep 2024 09:05:45 -0300 Subject: [PATCH] chore(package.json): fix gas-report command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0384cae..9aab387 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "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 '/Suite result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)", "verify:stake_vault": "certoraRun certora/confs/StakeVault.conf", "verify:stake_manager": "certoraRun certora/confs/StakeManager.conf", "verify:stake_manager_start_migration": "certoraRun certora/confs/StakeManagerStartMigration.conf",