docs: update Solidity version from 0.8.23 to ^0.8.23#165
Open
Samdevrel wants to merge 1 commit intoMetaMask:mainfrom
Open
docs: update Solidity version from 0.8.23 to ^0.8.23#165Samdevrel wants to merge 1 commit intoMetaMask:mainfrom
Samdevrel wants to merge 1 commit intoMetaMask:mainfrom
Conversation
This change relaxes the Solidity version constraint from an exact version (0.8.23) to a semver-compatible range (^0.8.23), making the framework more extensible and easier for downstream projects to use. **Changes:** - Updated all `pragma solidity 0.8.23` to `pragma solidity ^0.8.23` - Affects: source contracts, test files, deployment scripts - Total: 84 files modified **Rationale:** Locking the exact version limits extensibility for projects that want to build on top of the Delegation Framework using newer Solidity versions. Allowing ^0.8.23 enables better developer experience while maintaining compatibility with 0.8.23 and newer patch releases. **Reference:** Issue MetaMask#88 **Impact:** Minimal - existing code will compile with both exact and caret-anchored versions. Downstream projects can now upgrade to newer Solidity versions without compiler conflicts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change relaxes the Solidity version constraint from an exact version (
0.8.23) to a semver-compatible range (^0.8.23), making the framework more extensible and easier for downstream projects to use.Changes
pragma solidity 0.8.23topragma solidity ^0.8.23Rationale
Locking the exact version limits extensibility for projects that want to build on top of the Delegation Framework using newer Solidity versions. Allowing
^0.8.23enables better developer experience while maintaining compatibility with 0.8.23 and newer patch releases.Reference
Closes #88
Impact
Minimal - existing code will compile with both exact and caret-anchored versions. Downstream projects can now upgrade to newer Solidity versions without compiler conflicts.
This PR was created by @Samdevrel as part of our AI DevRel engagement with the Delegation Framework.
Note
Low Risk
Purely changes compiler version constraints; behavioral impact is limited to differences introduced by compiling with newer Solidity versions.
Overview
Updates Solidity pragmas repo-wide from an exact pin (
pragma solidity 0.8.23;) to a caret range (pragma solidity ^0.8.23;) across deployment scripts, core contracts (e.g.DeleGatorCore,DelegationManager), enforcers, helper libraries, and the full test suite.This is a compatibility/packaging change intended to allow downstream projects to compile against newer 0.8.x patch/minor releases without pragma conflicts; no runtime logic is modified.
Written by Cursor Bugbot for commit 4cd8940. This will update automatically on new commits. Configure here.