2018-01-04 07:26:05 -08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# prints out estimated gas costs of contract functions.
|
2018-01-04 07:27:49 -08:00
|
|
|
# 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"
|