Skip to content

Commit

Permalink
Add gap back to MailboxClient
Browse files Browse the repository at this point in the history
The gap should ensure MailboxClient is
upgrade-safe as long as future additions
to the contract reduce the gap properly.
  • Loading branch information
0xmichalis committed Nov 9, 2023
1 parent c44fd29 commit aa3d6a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions solidity/contracts/client/MailboxClient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ abstract contract MailboxClient is OwnableUpgradeable {

IInterchainSecurityModule public interchainSecurityModule;

uint256[48] private __GAP; // gap for upgrade safety

// ============ Modifiers ============
modifier onlyContract(address _contract) {
require(
Expand Down

0 comments on commit aa3d6a5

Please sign in to comment.