Created
March 31, 2021 14:07
-
-
Save cleanunicorn/2106c4503702f396bce04709dfcd2ef7 to your computer and use it in GitHub Desktop.
One can change the calldata arguments using other calldata arguments.
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
| contract C { | |
| function getCalldata( | |
| bytes calldata _a, | |
| bytes calldata _b | |
| ) public pure returns (bytes calldata, bytes calldata) { | |
| _a = _b; | |
| return (_a, _b); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment