Skip to content

Commit

Permalink
Updated the deploy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jalextowle committed Dec 6, 2024
1 parent 0359eee commit ebbf3b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tasks/deploy/hyperdrive-matching-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import {
CREATE_X_FACTORY,
CREATE_X_FACTORY_DEPLOYER,
CREATE_X_PRESIGNED_TRANSACTION,
HYPERDRIVE_MATCHING_ENGINE_SALT,
HyperdriveDeployBaseTask,
HyperdriveDeployNamedTaskParams,
UNI_V3_ZAP_SALT,
} from "./lib";

// Extend params to include the additional constructor arguments
Expand Down Expand Up @@ -69,7 +69,7 @@ HyperdriveDeployBaseTask(
CREATE_X_FACTORY,
);
let tx = await createXDeployer.write.deployCreate3([
UNI_V3_ZAP_SALT,
HYPERDRIVE_MATCHING_ENGINE_SALT,
creationCode,
]);
let pc = await viem.getPublicClient();
Expand Down
2 changes: 1 addition & 1 deletion tasks/deploy/hyperdrive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ HyperdriveDeployBaseTask(
if (hyperdriveDeploy.hyperdriveMatchingEngine) {
await run("deploy:hyperdrive-matching-engine", {
name: hyperdriveDeploy.hyperdriveMatchingEngine.name,
swapRouter: hyperdriveDeploy.hyperdriveMatchingEngine.morpho,
morpho: hyperdriveDeploy.hyperdriveMatchingEngine.morpho,
});
}

Expand Down
1 change: 1 addition & 0 deletions tasks/deploy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export * from "./checkpoint-subrewarder";
export * from "./coordinator";
export * from "./factory";
export * from "./hyperdrive";
export * from "./hyperdrive-matching-engine";
export * from "./instance";
export * from "./lib";
export * from "./registry";
Expand Down

0 comments on commit ebbf3b7

Please sign in to comment.