add tools/estimate_gas_costs.sh

This commit is contained in:
Maximilian Krüger 2018-01-04 16:26:05 +01:00
parent 178b2de87b
commit 109c8e35b3
1 changed files with 7 additions and 0 deletions

7
tools/estimate_gas_costs.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# prints out estimated gas costs of contract functions.
# runs the tests which estimate and print out gas costs and greps by gas costs.
cd truffle
yarn test | grep "estimated gas cost"