Skip to content

Conversation

@Arvmor
Copy link

@Arvmor Arvmor commented Jan 20, 2026

What?

Set compiler version to be ^0.8.23 instead of 0.8.23
Fixes #88

Why?

When importing the delegation framework into the Foundry project, having a locked compiler version is problematic. The project will not compile if it imports other third-party contracts that use a higher version of Solidity, such as 0.8.27.

For instance, if a project imports both rhineston's module kit and the delegation framework, the project will not compile as most contracts in the module kit use ^0.8.27 and the delegation framework has locked compiler version 0.8.23.
Foundry does not support using multiple compiler versions in the same project.

How?

Allowed using compiler versions 0.8.23 or higher.


Note

Relax Solidity compiler constraint

  • Replace pragma solidity 0.8.23; with pragma solidity ^0.8.23; across contracts, enforcers, libraries, interfaces, helpers, scripts, tests, and example snippets
  • No functional logic changes; enables building with newer 0.8.x compilers

Written by Cursor Bugbot for commit 4deb8b0. This will update automatically on new commits. Configure here.

@Arvmor Arvmor requested a review from a team as a code owner January 20, 2026 14:39
@Arvmor
Copy link
Author

Arvmor commented Jan 20, 2026

Currently blocking development on my end, would be helpful to relax these versions reqs

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.

Source files have Solidity version locked to 0.8.23, limiting extensibility

1 participant