Skip to content

Instantly share code, notes, and snippets.

@redsquirrel
Last active March 27, 2018 19:04
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