We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d180d12 + afd359f commit 4988795Copy full SHA for 4988795
deploy/dnsregistrar/20_set_tlds.ts
@@ -105,10 +105,12 @@ export default deployScript(
105
console.log(` - Processing ${suffixes.length} public suffixes`)
106
107
// Check if multicall exists, deploy if needed
108
- const multicallExistingBytecode = await network.provider.request({
109
- method: 'eth_getCode',
110
- params: [multicallAddress, 'latest'],
111
- })
+ const multicallExistingBytecode = await network.provider
+ .request({
+ method: 'eth_getCode',
+ params: [multicallAddress, 'latest'],
112
+ })
113
+ .then((bytecode: Hex) => bytecode !== '0x')
114
115
if (!multicallExistingBytecode && !config.saveDeployments) {
116
console.log(' - Deploying Multicall')
0 commit comments