Skip to content

Conversation

@pdyraga
Copy link
Member

@pdyraga pdyraga commented Sep 28, 2022

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

Fix Solidity version on 0.8.17 before the deployment.

The new version has solidity pragma fixed to 0.8.17.
We still need 0.8.9 compiler to compile contracts from
@threshold-network/solidity-contracts so instead of replacing 0.8.9 with
0.8.17 we have them both.
The dependency has been updated to the most recent version with a
floating pragma on IStaking and IApplication interfaces. This will allow
to compile random beacon contracts with 0.8.17 compiler.
After the update to 0.8.17 compiler, the gas cost is a bit smaller.
Since the difference is not that significant and it is only one path
that reports the problem, I decided to tweak the assertion instead of
revisiting offsets.
@pdyraga pdyraga marked this pull request as ready for review September 28, 2022 10:11
@nkuba nkuba enabled auto-merge September 28, 2022 10:11
@pdyraga pdyraga mentioned this pull request Sep 28, 2022
70 tasks
@nkuba nkuba merged commit 4df5ceb into main Sep 28, 2022
@nkuba nkuba deleted the solidity branch September 28, 2022 10:45
@pdyraga pdyraga added this to the solidity/v2.0.0 milestone Sep 28, 2022
nkuba added a commit to threshold-network/tbtc-v2 that referenced this pull request Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants