From ebbf3b7ab221f9b234817d9a052f392bac4b530d Mon Sep 17 00:00:00 2001 From: Alex Towle Date: Tue, 3 Dec 2024 17:08:27 -0600 Subject: [PATCH] Updated the deploy scripts --- tasks/deploy/hyperdrive-matching-engine.ts | 4 ++-- tasks/deploy/hyperdrive.ts | 2 +- tasks/deploy/index.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/deploy/hyperdrive-matching-engine.ts b/tasks/deploy/hyperdrive-matching-engine.ts index 39b8b5562..9baad53af 100644 --- a/tasks/deploy/hyperdrive-matching-engine.ts +++ b/tasks/deploy/hyperdrive-matching-engine.ts @@ -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 @@ -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(); diff --git a/tasks/deploy/hyperdrive.ts b/tasks/deploy/hyperdrive.ts index c7b8ad66b..353891388 100644 --- a/tasks/deploy/hyperdrive.ts +++ b/tasks/deploy/hyperdrive.ts @@ -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, }); } diff --git a/tasks/deploy/index.ts b/tasks/deploy/index.ts index efe8f79bb..bb55aa4b2 100644 --- a/tasks/deploy/index.ts +++ b/tasks/deploy/index.ts @@ -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";