Skip to content

Conversation

@pdyraga
Copy link
Member

@pdyraga pdyraga commented Sep 28, 2022

Pragma statements are fine to float when a contract is intended for consumption by contracts from another project. This is the case for IApplication and IStaking that are imported from tBTC v2 contracts. If we do not use the floating pragma, all tBTC v2 contracts would need to stay on 0.8.9 and now use the more recent Solidity versions.

Pragma statements are fine to float when a contract is intended for
consumption by contracts from another project. This is the case for
IApplication and IStaking that are imported from tBTC v2 contracts.
If we do not use the floating pragma, all tBTC v2 contracts would need
to stay on 0.8.9 and now use the more recent Solidity versions.
@nkuba nkuba enabled auto-merge September 28, 2022 09:40
@pdyraga pdyraga merged commit 535e23b into main Sep 28, 2022
@pdyraga pdyraga deleted the pragma branch September 28, 2022 09:51
nkuba added a commit to threshold-network/keep-core that referenced this pull request Sep 28, 2022
Solidity 0.8.17

Depends on threshold-network/solidity-contracts#127
See keep-network/sortition-pools#189

Fix Solidity version on 0.8.17 before the deployment.
nkuba added a commit to threshold-network/tbtc-v2 that referenced this pull request Sep 28, 2022
@pdyraga pdyraga added this to the v1.2.0 milestone Sep 29, 2022
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