Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AllFi committed Jun 19, 2024
1 parent a91af45 commit f2dfdcd
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions script/scripts/MigrateAccounting.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,24 +106,17 @@ contract MigrateAccounting is Script, UpgradeTest {
PoolSnapshot memory snapshot = makeSnapshot(pool);

vm.startBroadcast();

EIP1967Proxy(payable(address(pool))).upgradeTo(address(newZkBobPoolImpl));

EIP1967Proxy(payable(address(pool))).setAdmin(accountingMigrator);

ZkBobAccounting(zkBobAccounting).transferOwnership(accountingMigrator);

migrator.migrate(
address(pool),
zkBobAccounting,
snapshot.kycManager,
accountingOwner,
snapshot.proxyAdmin
);
migrator.migrate(address(pool), zkBobAccounting, snapshot.kycManager, accountingOwner, snapshot.proxyAdmin);

vm.stopBroadcast();

postCheck(ZkBobPoolUSDC(address(pool)), snapshot);
}
}

0 comments on commit f2dfdcd

Please sign in to comment.