-
-
Save izqui/2ffece981bfa1fec74e07164a81e21b2 to your computer and use it in GitHub Desktop.
This file contains 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
contract Error { | |
function x() { | |
revert(error(1, 1, 2567)); | |
} | |
function error(uint8 x, uint8 y, uint16 z) internal view returns (string) { | |
return string(abi.encodePacked(x, y, z, address(this))); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment