Darun Seethammagari 11 miesięcy temu
rodzic
commit
57c302d0bc

+ 1 - 1
lazer/contracts/evm/script/PythLazerDeploy.s.sol

@@ -182,7 +182,7 @@ contract PythLazerDeployScript is Script {
 
     function migrate() public {
         // Deploys new version and updates proxy to use new address
-        address proxyAddress =  getProxyAddress("lazer:proxy");
+        address proxyAddress = getProxyAddress("lazer:proxy");
         address newImpl = deployImplementation("lazer:impl");
         bytes memory migrateCall = abi.encodeWithSignature("migrate()");
         vm.startBroadcast();

+ 4 - 1
lazer/contracts/evm/src/PythLazer.sol

@@ -22,7 +22,10 @@ contract PythLazer is OwnableUpgradeable, UUPSUpgradeable {
     }
 
     function migrate() public onlyOwner {
-        require(trustedSigners.length >= deprecatedTrustedSigners.length, "trustedSigners cannot be migrated to smaller array");
+        require(
+            trustedSigners.length >= deprecatedTrustedSigners.length,
+            "trustedSigners cannot be migrated to smaller array"
+        );
 
         verification_fee = 1 wei;
         for (uint8 i = 0; i < deprecatedTrustedSigners.length; i++) {