Skip to content

Instantly share code, notes, and snippets.

@redsquirrel
Last active March 27, 2018 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redsquirrel/6f4b7a2efbeebe6f2df78aad1cb1853e to your computer and use it in GitHub Desktop.
Save redsquirrel/6f4b7a2efbeebe6f2df78aad1cb1853e to your computer and use it in GitHub Desktop.
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