File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 39
39
}
40
40
_SPDX_ID_KEY = "SPDX-License-Identifier: "
41
41
42
- ECOSYSTEMS_VERIFY_USING_JSON = ("ethereum" , )
42
+ ECOSYSTEMS_VERIFY_USING_JSON = ("arbitrum" , "base" , "blast" , "ethereum" )
43
43
44
44
45
45
class LicenseType (Enum ):
@@ -289,8 +289,6 @@ def attempt_verification(self):
289
289
290
290
version = str (self .compiler .version )
291
291
292
- # TODO: Fix compiler output in ape-solidity
293
- # and/or add more validation to ethpm_types.Compiler
294
292
compiler = self .compiler
295
293
valid = True
296
294
settings = {}
@@ -299,12 +297,12 @@ def attempt_verification(self):
299
297
output_contracts = settings .get ("outputSelection" , {})
300
298
for contract_id in self .compiler .contractTypes or []:
301
299
parts = contract_id .split (":" )
302
- if len (parts ) != 2 :
303
- # Bad compiler.
304
- valid = False
305
- continue
300
+ if len (parts ) == 2 :
301
+ _ , cname = parts
302
+
303
+ else :
304
+ cname = parts [0 ]
306
305
307
- _ , cname = parts
308
306
if cname not in output_contracts :
309
307
valid = False
310
308
break
@@ -357,7 +355,7 @@ def attempt_verification(self):
357
355
358
356
def _get_new_settings (self , version : str ) -> dict :
359
357
logger .warning (
360
- "Settings missing from cached manifest. " " Attempting to re-calculate find settings."
358
+ "Settings missing from cached manifest. Attempting to re-calculate to find settings."
361
359
)
362
360
363
361
# Attempt to re-calculate settings.
You can’t perform that action at this time.
0 commit comments