marnett / ethereum

0 stars 0 forks source link

Add section on Gas #14

Closed firesnowball closed 9 years ago

firesnowball commented 9 years ago

Small portion on gas was written. Unsure how user should measure gas (current best option is two log statements getting current gas in contract and subtracting them). Will continue researching to find best solution.

firesnowball commented 9 years ago

Figured out how to use s.block.gas_used. That should make it easy to calculate. Adding to guide now.