From 24b51231fc6f9abd095037d027ae2e91febd772d Mon Sep 17 00:00:00 2001 From: kevincheng96 Date: Fri, 3 Nov 2023 15:43:33 -0700 Subject: [PATCH] Hardcode export artifact --- .../mainnet/usdc/migrations/1687890699_temp.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 deployments/mainnet/usdc/migrations/1687890699_temp.ts diff --git a/deployments/mainnet/usdc/migrations/1687890699_temp.ts b/deployments/mainnet/usdc/migrations/1687890699_temp.ts new file mode 100644 index 000000000..0a340b0f7 --- /dev/null +++ b/deployments/mainnet/usdc/migrations/1687890699_temp.ts @@ -0,0 +1,16 @@ +import { DeploymentManager } from '../../../../plugins/deployment_manager/DeploymentManager'; +import { migration } from '../../../../plugins/deployment_manager/Migration'; + +interface Vars { + newWBTCPriceFeed: string +}; + +export default migration('1687890699_temp', { + prepare: async (deploymentManager: DeploymentManager) => { + // Hardcoded price feed address because artifact from 5 months ago has expired + return { newWBTCPriceFeed: "0x45939657d1CA34A8FA39A924B71D28Fe8431e581" }; + }, + + enact: async (deploymentManager: DeploymentManager, govDeploymentManager: DeploymentManager, vars: Vars) => { + }, +});