Эх сурвалжийг харах

[evm contracts] add version to entropy and executor (#1240)

* add version to entropy and executor

* resolve
Dev Kalra 1 жил өмнө
parent
commit
70c6db0020

+ 4 - 0
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";
+    }
 }

+ 4 - 0
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";
+    }
 }