poa-bridge/tools/estimate_gas_costs.sh

8 lines
222 B
Bash
Raw Normal View History

2018-01-04 07:26:05 -08:00
#!/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.
2018-01-04 07:26:05 -08:00
cd truffle
yarn test | grep "estimated gas cost"