Skip to content

[PT1-864] Relax pragma - #274

Open
SteMak wants to merge 2 commits into
masterfrom
fix/relax-pragma
Open

[PT1-864] Relax pragma#274
SteMak wants to merge 2 commits into
masterfrom
fix/relax-pragma

Conversation

@SteMak

@SteMak SteMak commented Sep 7, 2026

Copy link
Copy Markdown

Relax ^0.8.30 to ^0.8.27
Fix interfaces to have ^0.8.0

It would be nice to do a real revise of each file pragma and use the minimal or apply 0.8.4 / 0.8.27 rule


Note

Low Risk
Compiler-version metadata only; no bytecode or behavior changes unless consumers compile with an older 0.8.x than previously allowed.

Overview
Relaxes Solidity compiler pragmas across contracts, mixins, libraries, and test mocks so the package can compile on older 0.8.x toolchains instead of requiring ^0.8.30.

Interfaces and general-purpose code (e.g. IRescuable, Calldata, Multicall, Rescuable, Simulator) move to ^0.8.0. Transient-storage helpers stay at ^0.8.24 (Transient, TransientUnsafe and their mocks). Reentrancy / transient-lock code stays at ^0.8.27 (ReentrancyGuard, TransientLock*, related mocks). The test WETH mock is aligned from ^0.8.15 to ^0.8.0.

No runtime logic, imports, or APIs change—only pragma solidity lines.

Reviewed by Cursor Bugbot for commit ee972ed. Bugbot is set up for automated code reviews on this repo. Configure here.

@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Comment thread contracts/libraries/TransientUnsafe.sol
Comment thread contracts/tests/mocks/TransientMock.sol
Comment thread contracts/tests/mocks/TransientUnsafeMock.sol

@BoogerWooger BoogerWooger left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all ok

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.

3 participants