Last active
March 27, 2018 19:04
-
-
Save redsquirrel/6f4b7a2efbeebe6f2df78aad1cb1853e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.21; | |
contract BigFallback { | |
event ReportGas(uint256 g); | |
function() public payable { | |
for (uint8 i = 0; i < 100; i++) { | |
emit ReportGas(gasleft()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment