Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add magic comment to omit a code section from transpiler output #106

Open
frangio opened this issue Dec 28, 2022 · 0 comments
Open

Add magic comment to omit a code section from transpiler output #106

frangio opened this issue Dec 28, 2022 · 0 comments

Comments

@frangio
Copy link
Contributor

frangio commented Dec 28, 2022

// oz-transpiler omit-begin
...
// oz-transpiler omit-end

Would be used for e.g. EIP712:

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/446cd9f5fb5d982863ffaecf5dd40489f595d7f6/contracts/utils/cryptography/EIP712.sol#L31-L33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant