Commit ca87358a authored by Matthew Slipper's avatar Matthew Slipper

ctb: Remove wait in `getContractFromArtifact`

This wait hangs on L1s that prune transaction history, and is unnecessary for deployment.
parent 1786f370
...@@ -174,7 +174,6 @@ export const getContractFromArtifact = async ( ...@@ -174,7 +174,6 @@ export const getContractFromArtifact = async (
} = {} } = {}
): Promise<ethers.Contract> => { ): Promise<ethers.Contract> => {
const artifact = await hre.deployments.get(name) const artifact = await hre.deployments.get(name)
await hre.ethers.provider.waitForTransaction(artifact.receipt.transactionHash)
// Get the deployed contract's interface. // Get the deployed contract's interface.
let iface = new hre.ethers.utils.Interface(artifact.abi) let iface = new hre.ethers.utils.Interface(artifact.abi)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment