Skip to content

Commit 337b0f9

Browse files
committed
good
1 parent 669b92d commit 337b0f9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

contracts/script/deploy/AllAtomic.s.sol

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,15 +168,14 @@ contract AllAtomicScript is BaseScript, FixtureLoader {
168168
// Read config
169169
bytes32 salt = readBytes32("CREATE2_SALT");
170170
address OWNER = readAddress("OWNER");
171-
172-
address STAKING_IMPL = address(new SuccinctStaking{salt: salt}());
173-
174-
// Deploy contracts
175171
address PROVE = readAddress("PROVE");
176172
address VERIFIER = readAddress("VERIFIER");
177173

174+
// Deploy implementation contracts
175+
address STAKING_IMPL = address(new SuccinctStaking{salt: salt}());
178176
address VAPP_IMPL = address(new SuccinctVApp{salt: salt}());
179-
177+
178+
// Atomically deploy the rest of the contracts
180179
{
181180
AtomicDeployer deployer = new AtomicDeployer();
182181
{
@@ -227,8 +226,6 @@ contract AllAtomicScript is BaseScript, FixtureLoader {
227226

228227
// Write addresses
229228
writeAddress("STAKING_IMPL", STAKING_IMPL);
230-
writeAddress("VERIFIER", VERIFIER);
231229
writeAddress("VAPP_IMPL", VAPP_IMPL);
232-
writeAddress("PROVE", PROVE);
233230
}
234231
}

0 commit comments

Comments
 (0)