You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -147,7 +146,6 @@ export class ContractVerificationPluginClient extends PluginClient {
147
146
awaitthis.call('terminal','log',{type: 'warn',value: `Please input the API key in Remix Settings - Connected Services OR Contract Verification Plugin Settings.`})
148
147
continue
149
148
}
150
-
151
149
if(hasApiUrl&ðerscanApiKeySource==='global'){
152
150
awaitthis.call('terminal','log',{type: 'log',value: '[Etherscan] Using API key from Remix global settings.'})
153
151
}
@@ -186,6 +184,33 @@ export class ContractVerificationPluginClient extends PluginClient {
@@ -213,7 +238,8 @@ export class ContractVerificationPluginClient extends PluginClient {
213
238
}
214
239
}elseif(result.status==='failed'){
215
240
constmsg=result.message||'Unknown failure'
216
-
awaitthis.call('terminal','log',{type: 'warn',value: `[${verifierId}] Verification Failed: Please open the "Contract Verification" plugin to check details.`})
awaitthis.call('terminal','log',{type: 'warn',value: `[${verifierId}] Please open the "Contract Verification" plugin to retry.`})
217
243
218
244
if(verifierId==='Etherscan'&&!pluginApiKey){
219
245
awaitthis.call('terminal','log',{type: 'warn',value: `Note: To retry Etherscan verification in the plugin, you must save your API key in the plugin settings.`})
@@ -230,7 +256,10 @@ export class ContractVerificationPluginClient extends PluginClient {
230
256
message: errorMsg
231
257
})
232
258
233
-
awaitthis.call('terminal','log',{type: 'warn',value: `[${verifierId}] Verification Failed: Please open the "Contract Verification" plugin to retry.`})
awaitthis.call('terminal','log',{type: 'warn',value: `[${verifierId}] Please open the "Contract Verification" plugin to retry.`})
262
+
234
263
if(verifierId==='Etherscan'&&!pluginApiKey){
235
264
awaitthis.call('terminal','log',{type: 'warn',value: `Note: To retry Etherscan verification in the plugin, you must save your API key in the plugin settings.`})
plugin.call('terminal','log',{type: 'warn',value: `[${verifierInfo.name}] Verification Failed: Please open the "Contract Verification" plugin to retry.`})
206
+
}elseif(finalStatus==='failed'){
207
+
if(receipt.message!=='Verification timed out (30s).'){
208
+
plugin.call('terminal','log',{type: 'warn',value: `[${verifierInfo.name}] Verification Failed: Please open the "Contract Verification" plugin to retry.`})
plugin.call('terminal','log',{type: 'warn',value: `Note: To retry Etherscan verification in the plugin, you must save your API key in the plugin settings.`})
plugin.call('terminal','log',{type: 'warn',value: `Note: To retry Etherscan verification in the plugin, you must save your API key in the plugin settings.`})
0 commit comments