poa-bridge/tools/estimate_gas_costs.sh

8 lines
222 B
Bash
Executable File

#!/usr/bin/env bash
# prints out estimated gas costs of contract functions.
# runs the tests which estimate and print out gas costs. then greps test output for gas costs.
cd truffle
yarn test | grep "estimated gas cost"