From fe9183112daa249da5cbed1dbbd6b14c9e26ed2f Mon Sep 17 00:00:00 2001 From: pahor167 <47992132+pahor167@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:31:29 +0200 Subject: [PATCH] EpochManagerEnabler version --- .../contracts-0.8/common/EpochManagerEnabler.sol | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/protocol/contracts-0.8/common/EpochManagerEnabler.sol b/packages/protocol/contracts-0.8/common/EpochManagerEnabler.sol index ba33773b9b9..4fa0541d089 100644 --- a/packages/protocol/contracts-0.8/common/EpochManagerEnabler.sol +++ b/packages/protocol/contracts-0.8/common/EpochManagerEnabler.sol @@ -60,6 +60,17 @@ contract EpochManagerEnabler is Initializable, UsingPrecompiles, UsingRegistry { } } + /** + * @notice Returns the storage, major, minor, and patch version of the contract. + * @return Storage version of the contract. + * @return Major version of the contract. + * @return Minor version of the contract. + * @return Patch version of the contract. + */ + function getVersionNumber() external pure returns (uint256, uint256, uint256, uint256) { + return (1, 1, 0, 0); + } + function getFirstBlockOfEpoch(uint256 currentEpoch) external view returns (uint256) { return _getFirstBlockOfEpoch(currentEpoch); }