Skip to content

Commit d86a42e

Browse files
committed
pre-commit
1 parent b3f5442 commit d86a42e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lazer/contracts/evm/script/PythLazerDeploy.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ contract PythLazerDeployScript is Script {
182182

183183
function migrate() public {
184184
// Deploys new version and updates proxy to use new address
185-
address proxyAddress = getProxyAddress("lazer:proxy");
185+
address proxyAddress = getProxyAddress("lazer:proxy");
186186
address newImpl = deployImplementation("lazer:impl");
187187
bytes memory migrateCall = abi.encodeWithSignature("migrate()");
188188
vm.startBroadcast();

lazer/contracts/evm/src/PythLazer.sol

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ contract PythLazer is OwnableUpgradeable, UUPSUpgradeable {
2222
}
2323

2424
function migrate() public onlyOwner {
25-
require(trustedSigners.length >= deprecatedTrustedSigners.length, "trustedSigners cannot be migrated to smaller array");
25+
require(
26+
trustedSigners.length >= deprecatedTrustedSigners.length,
27+
"trustedSigners cannot be migrated to smaller array"
28+
);
2629

2730
verification_fee = 1 wei;
2831
for (uint8 i = 0; i < deprecatedTrustedSigners.length; i++) {

0 commit comments

Comments
 (0)