Skip to content

Conversation

horsefacts
Copy link
Collaborator

@horsefacts horsefacts commented Jun 2, 2025

Motivation

We haven't touched the contracts in over a year and solc is out of date.

Change Summary

  • Relax version pragmas for deployed contracts
  • Update solc to 0.8.29

Merge Checklist

Choose all relevant options below by adding an x now or at any time before submitting for review


PR-Codex overview

This PR updates the pragma solidity version across multiple files to allow for compatibility with newer Solidity versions. It also updates the solc_version and evm_version in the foundry.toml file.

Detailed summary

  • Updated pragma solidity from 0.8.21 to ^0.8.21 in various files.
  • Updated solc_version from 0.8.21 to 0.8.29 in foundry.toml.
  • Updated evm_version from paris to cancun in foundry.toml.
  • Updated pragma solidity in src/TierRegistry.sol from 0.8.21 to 0.8.29.

The following files were skipped due to too many changes: .gas-snapshot

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@horsefacts horsefacts added the chore A task that is none of the other types label Jun 2, 2025
@horsefacts horsefacts force-pushed the horsefacts/solidity-version-upgrade branch from b839138 to 4b144de Compare June 2, 2025 23:16
Copy link

github-actions bot commented Jun 2, 2025

Coverage after merging horsefacts/solidity-version-upgrade into main will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   Bundler.sol100%100%100%100%
   BundlerV1.sol100%100%100%100%
   FnameResolver.sol100%100%100%100%
   IdGateway.sol100%100%100%100%
   IdRegistry.sol100%100%100%100%
   KeyGateway.sol100%100%100%100%
   KeyRegistry.sol100%100%100%100%
   RecoveryProxy.sol100%100%100%100%
   StorageRegistry.sol100%100%100%100%
   TierRegistry.sol100%100%100%100%
src/abstract
   EIP712.sol100%100%100%100%
   Guardians.sol100%100%100%100%
   Migration.sol100%100%100%100%
   Nonces.sol100%100%100%100%
   Signatures.sol100%100%100%100%
src/validators
   SignedKeyRequestValidator.sol100%100%100%100%

@horsefacts horsefacts merged commit 9b21c1f into main Jun 2, 2025
4 checks passed
@horsefacts horsefacts deleted the horsefacts/solidity-version-upgrade branch June 2, 2025 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore A task that is none of the other types

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant