Skip to content

docs: update Solidity version from 0.8.23 to ^0.8.23#165

Open
Samdevrel wants to merge 1 commit intoMetaMask:mainfrom
Samdevrel:main
Open

docs: update Solidity version from 0.8.23 to ^0.8.23#165
Samdevrel wants to merge 1 commit intoMetaMask:mainfrom
Samdevrel:main

Conversation

@Samdevrel
Copy link

@Samdevrel Samdevrel commented Feb 19, 2026

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

  • Updated all pragma solidity 0.8.23 to pragma solidity ^0.8.23
  • Affects: source contracts, test files, deployment scripts
  • Total: 137 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

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.

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.
@Samdevrel Samdevrel requested a review from a team as a code owner February 19, 2026 07:13
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