Skip to content

Conversation

@8sunyuan
Copy link
Contributor

@8sunyuan 8sunyuan commented Jul 7, 2025

Motivation:

Fix missing gap and cleanup unused constants

Modifications:

Describe the modifications you've done.

Result:

After your change, what will change.

Copilot AI review requested due to automatic review settings July 7, 2025 20:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Clean up unused constants and ensure upgrade safety by adding a storage gap.

  • Remove two unused constants from KeyRegistrarStorage to streamline the contract.
  • Add a reserved __gap array in ECDSACertificateVerifierStorage for future storage layout changes.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/contracts/permissions/KeyRegistrarStorage.sol Deleted two internal constants that were no longer used.
src/contracts/multichain/ECDSACertificateVerifierStorage.sol Introduced an __gap storage slot with documentation for upgradeable contracts.

@8sunyuan 8sunyuan merged commit 7b4d11f into main Jul 7, 2025
14 checks passed
@8sunyuan 8sunyuan deleted the fix/multichain-nits branch July 7, 2025 21:18
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