File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ contract DevnetMigration is Script {
197197 ForwarderFactory forwarderFactory = new ForwarderFactory ();
198198 HyperdriveFactory.FactoryConfig
199199 memory factoryConfig = HyperdriveFactory.FactoryConfig ({
200- governance: config.admin ,
200+ governance: msg . sender ,
201201 hyperdriveGovernance: config.admin,
202202 feeCollector: config.admin,
203203 fees: IHyperdrive.Fees ({
@@ -273,9 +273,11 @@ contract DevnetMigration is Script {
273273 // Deploy the MockHyperdriveMath contract.
274274 MockHyperdriveMath mockHyperdriveMath = new MockHyperdriveMath ();
275275
276- // Transfer ownership of the base token and vault to the admin address
277- // now that we're done minting tokens.
276+ // Transfer ownership of the base token, factory, and vault to the admin
277+ // address now that we're done minting tokens and updating the
278+ // configuration.
278279 baseToken.transferOwnership (config.admin);
280+ factory.updateGovernance (config.admin);
279281 pool.transferOwnership (config.admin);
280282
281283 vm.stopBroadcast ();
You can’t perform that action at this time.
0 commit comments