diff --git a/deploy/config/config.ts b/deploy/config/config.ts index 1bdc5b2..74378af 100644 --- a/deploy/config/config.ts +++ b/deploy/config/config.ts @@ -1,7 +1,7 @@ import hre from "hardhat"; export async function getConfig() { - if (hre.network.name == "localhost") { + if (hre.network.name == "localhost" || hre.network.name == "hardhat") { return await import("./localhost"); } diff --git a/deploy/config/localhost.ts b/deploy/config/localhost.ts index 943c7f9..08bf229 100644 --- a/deploy/config/localhost.ts +++ b/deploy/config/localhost.ts @@ -1,4 +1,4 @@ export const chainName = "Localhost"; -export const registrationSMT = "0xBF926a23B4A0bcA301F97Ccd27358b55Dc4C7D3C"; +export const registrationSMT = "0xc1534912902BBe8C54626e2D69288C76a843bc0E"; export const tssSigner = "0x038D006846a3e203738cF80A02418e124203beb2"; export const votingName = "InitialVoting"; diff --git a/deploy/config/rarimo-testnet.ts b/deploy/config/rarimo-testnet.ts index ab127e1..4bb49bf 100644 --- a/deploy/config/rarimo-testnet.ts +++ b/deploy/config/rarimo-testnet.ts @@ -1,4 +1,4 @@ export const chainName = "Rarimo-testnet"; -export const registrationSMT = "0xBF926a23B4A0bcA301F97Ccd27358b55Dc4C7D3C"; +export const registrationSMT = "0xc1534912902BBe8C54626e2D69288C76a843bc0E"; export const tssSigner = "0x038D006846a3e203738cF80A02418e124203beb2"; export const votingName = "InitialVoting";