From 70c6db00206720151bacfc4d046c05c6fb4fbfba Mon Sep 17 00:00:00 2001 From: Dev Kalra Date: Wed, 24 Jan 2024 18:05:34 +0530 Subject: [PATCH] [evm contracts] add version to entropy and executor (#1240) * add version to entropy and executor * resolve --- .../contracts/contracts/entropy/EntropyUpgradable.sol | 4 ++++ .../contracts/contracts/executor/ExecutorUpgradable.sol | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/target_chains/ethereum/contracts/contracts/entropy/EntropyUpgradable.sol b/target_chains/ethereum/contracts/contracts/entropy/EntropyUpgradable.sol index 338e6506e..68c48305c 100644 --- a/target_chains/ethereum/contracts/contracts/entropy/EntropyUpgradable.sol +++ b/target_chains/ethereum/contracts/contracts/entropy/EntropyUpgradable.sol @@ -103,4 +103,8 @@ contract EntropyUpgradable is function entropyUpgradableMagic() public pure returns (uint32) { return 0x66697265; } + + function version() public pure returns (string memory) { + return "0.1.0"; + } } diff --git a/target_chains/ethereum/contracts/contracts/executor/ExecutorUpgradable.sol b/target_chains/ethereum/contracts/contracts/executor/ExecutorUpgradable.sol index fa9631cfc..36b0b0ddf 100644 --- a/target_chains/ethereum/contracts/contracts/executor/ExecutorUpgradable.sol +++ b/target_chains/ethereum/contracts/contracts/executor/ExecutorUpgradable.sol @@ -92,4 +92,8 @@ contract ExecutorUpgradable is function entropyUpgradableMagic() public pure returns (uint32) { return 0x66697288; } + + function version() public pure returns (string memory) { + return "0.1.0"; + } }