Transpile 2d97b6b4
This commit is contained in:
@ -7,7 +7,6 @@ import "../proxy/utils/Initializable.sol";
|
||||
|
||||
contract EnumerableMapMockUpgradeable is Initializable {
|
||||
function __EnumerableMapMock_init() internal onlyInitializing {
|
||||
__EnumerableMapMock_init_unchained();
|
||||
}
|
||||
|
||||
function __EnumerableMapMock_init_unchained() internal onlyInitializing {
|
||||
@ -51,5 +50,11 @@ contract EnumerableMapMockUpgradeable is Initializable {
|
||||
function getWithMessage(uint256 key, string calldata errorMessage) public view returns (address) {
|
||||
return _map.get(key, errorMessage);
|
||||
}
|
||||
|
||||
/**
|
||||
* This empty reserved space is put in place to allow future versions to add new
|
||||
* variables without shifting down storage in the inheritance chain.
|
||||
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
|
||||
*/
|
||||
uint256[47] private __gap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user