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

chore(compiler): move interfaces and libraries to fpp #514

Conversation

koloz193
Copy link
Contributor

@koloz193 koloz193 commented Jun 7, 2024

What ❔

We want to enable devs to be able to build on top of our system and not be subject to the compiler version we use for our contracts. Moving interfaces and libraries to floating point pragmas unlocks this

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@koloz193 koloz193 changed the base branch from dev to protocol-defense June 7, 2024 18:08
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.24;
pragma solidity ^0.8.20;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it is ^0.8.20, and not let's say ^0.8.13? Do we use some features from 0.8.20 and higher?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i figured this was the easiest way to avoid potential breaking changes esp given that most code bases that already needed to integrate would be on pragma 0.8.24

@koloz193 koloz193 merged commit f99eaf9 into protocol-defense Jun 10, 2024
21 checks passed
@koloz193 koloz193 deleted the zk-evm-602-migrate-to-floating-point-pragma-for-better-usage-as-a branch June 10, 2024 00:09
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

Successfully merging this pull request may close these issues.

2 participants