Skip to content

Commit f1b777a

Browse files
committed
format
1 parent a22899d commit f1b777a

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

contracts/script/GenerateFeeVaultAlloc.s.sol

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ abstract contract FeeVaultAllocBase is Script {
5353
)
5454
)
5555
);
56-
cfg.feeVaultAddress =
57-
address(uint160(uint256(keccak256(abi.encodePacked(bytes1(0xff), cfg.deployer, cfg.salt, initCodeHash)))));
56+
cfg.feeVaultAddress = address(
57+
uint160(uint256(keccak256(abi.encodePacked(bytes1(0xff), cfg.deployer, cfg.salt, initCodeHash))))
58+
);
5859
}
5960

6061
require(cfg.feeVaultAddress != address(0), "FEE_VAULT_ADDRESS or DEPLOYER required");
@@ -101,15 +102,8 @@ contract GenerateFeeVaultAlloc is FeeVaultAllocBase {
101102
Config memory cfg = loadConfig();
102103
bytes memory runtimeCode = type(FeeVault).runtimeCode;
103104

104-
(
105-
bytes32 slot0,
106-
bytes32 slot1,
107-
bytes32 slot2,
108-
bytes32 slot3,
109-
bytes32 slot4,
110-
bytes32 slot5,
111-
bytes32 slot6
112-
) = computeSlots(cfg);
105+
(bytes32 slot0, bytes32 slot1, bytes32 slot2, bytes32 slot3, bytes32 slot4, bytes32 slot5, bytes32 slot6) =
106+
computeSlots(cfg);
113107

114108
console.log("========== FeeVault Genesis Alloc ==========");
115109
console.log("FeeVault address:", cfg.feeVaultAddress);
@@ -163,15 +157,8 @@ contract GenerateFeeVaultAllocJSON is FeeVaultAllocBase {
163157
Config memory cfg = loadConfig();
164158
bytes memory runtimeCode = type(FeeVault).runtimeCode;
165159

166-
(
167-
bytes32 slot0,
168-
bytes32 slot1,
169-
bytes32 slot2,
170-
bytes32 slot3,
171-
bytes32 slot4,
172-
bytes32 slot5,
173-
bytes32 slot6
174-
) = computeSlots(cfg);
160+
(bytes32 slot0, bytes32 slot1, bytes32 slot2, bytes32 slot3, bytes32 slot4, bytes32 slot5, bytes32 slot6) =
161+
computeSlots(cfg);
175162

176163
string memory json = string(
177164
abi.encodePacked(

0 commit comments

Comments
 (0)