diff --git a/contracts/utils/deployment.ts b/contracts/utils/deployment.ts index 750c6b20e..79e29be54 100644 --- a/contracts/utils/deployment.ts +++ b/contracts/utils/deployment.ts @@ -28,6 +28,7 @@ const userRegistryNames: Record = { brightid: 'BrightIdUserRegistry', snapshot: 'SnapshotUserRegistry', merkle: 'MerkleUserRegistry', + semaphore: 'SemaphoreUserRegistry', } // Mapping of recipient registry type to the contract name @@ -93,7 +94,9 @@ export async function deployPoseidon({ signer ) - return Poseidon.deploy() + const poseidonContract = await Poseidon.deploy() + + return await poseidonContract.waitForDeployment() } export type deployContractOptions = {