Skip to content

Commit

Permalink
chore: forge fmt (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani authored Dec 5, 2023
1 parent 3164db7 commit ca4957a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -31,5 +33,4 @@
"unresolved-proc-macro"
],
"editor.defaultFormatter": null,

}
6 changes: 2 additions & 4 deletions contracts/script/deploy/Timelock.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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));
Expand Down

0 comments on commit ca4957a

Please sign in to comment.