diff --git a/.vscode/settings.json b/.vscode/settings.json index 9f4a30991..bccd7d666 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,12 @@ { "editor.inlineSuggest.enabled": true, "[rust]": { - "editor.defaultFormatter": "rust-lang.rust-analyzer", - "editor.formatOnSave": true, + "editor.defaultFormatter": "rust-lang.rust-analyzer", + "editor.formatOnSave": true, }, - "editor.rulers": [100], + "editor.rulers": [ + 100 + ], "rust-analyzer.linkedProjects": [ "./plonky2x/core/Cargo.toml", "./plonky2x/derive/Cargo.toml" @@ -31,5 +33,4 @@ "unresolved-proc-macro" ], "editor.defaultFormatter": null, - } \ No newline at end of file diff --git a/contracts/script/deploy/Timelock.s.sol b/contracts/script/deploy/Timelock.s.sol index dbe581bc4..ca2d490de 100644 --- a/contracts/script/deploy/Timelock.s.sol +++ b/contracts/script/deploy/Timelock.s.sol @@ -11,7 +11,6 @@ contract DeployTimelock is BaseScript { console.log("Deploying Timelock contract on chain %s", Strings.toString(block.chainid)); // Check inputs - bytes32 CREATE2_SALT = envBytes32("CREATE2_SALT"); uint256 MINIMUM_DELAY = envUint256("MINIMUM_DELAY"); address GUARDIAN = envAddress("GUARDIAN", block.chainid); @@ -22,9 +21,8 @@ contract DeployTimelock is BaseScript { EXECUTORS[0] = GUARDIAN; // Deploy contract - Timelock timelock = new Timelock{salt: CREATE2_SALT}( - MINIMUM_DELAY, PROPOSERS, EXECUTORS, address(0) - ); + Timelock timelock = + new Timelock{salt: CREATE2_SALT}(MINIMUM_DELAY, PROPOSERS, EXECUTORS, address(0)); // Write address writeEnvAddress(DEPLOYMENT_FILE, "TIMELOCK", address(timelock));