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

[I-01] Pragma statement #17

Open
madMax92221 opened this issue Jan 4, 2024 · 1 comment
Open

[I-01] Pragma statement #17

madMax92221 opened this issue Jan 4, 2024 · 1 comment

Comments

@madMax92221
Copy link
Collaborator

The pragma statement is different almost everywhere. Some contracts are using floatable pragma. Every version after 0.8.19 will use the PUSH0 opcode, which is still not supported on some EVM-based chains, for example Arbitrum. If the protocol is expected to be deployed on multiple EVM-based chains (Optimism, Arbitrum, Polygon etc), that will be problematic.

Consider using version 0.8.19 so that the same deterministic bytecode can be deployed to all chains.

Even if the protocol is not expected to be deployed on multiple EVM-based chains, always use stable pragma statement to lock the compiler version and to have deterministic compilation to bytecode.

@madMax92221 madMax92221 changed the title # [I-01] Pragma statement [I-01] Pragma statement Jan 4, 2024
@wankhede04
Copy link
Contributor

fixed at commit 63aa5cf

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

2 participants