Skip to content

Conversation

@tesol2y090
Copy link

Description

This PR modifies contracts to support upgradeability using OpenZeppelin's upgradeable contracts pattern. This change allows for future upgrades while preserving the contract's state and functionality.

Changes

  • Added Initializable contract from OpenZeppelin's upgradeable contracts
  • Implemented constructor with _disableInitializers() to prevent initialization of the implementation contract
  • Added initialize() function to replace constructor functionality
  • Maintained existing public state variables and functions
  • Modified AxelarExecutable.sol to be upgradeable:
    • Added OpenZeppelin's Initializable contract
    • Replaced constructor with initializer function
    • Made state variables mutable for upgrades
    • Added proper initialization pattern

Related Issues

@longfeiWan9
Copy link

@tesol2y090 sorry, I did not see this PR. I will review it

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.

2 participants