arb1 does not approve tokens by default

This commit is contained in:
tim
2024-10-05 20:03:20 -04:00
parent a703d8fc12
commit 8d5209a72a
2 changed files with 3 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
metadata = '' # this setting approves no tokens
account = '${accounts.gas}'
rpc_url = '${rpc_urls.arbsep_alchemy}'
ws_url = '${rpc_urls.arbsep_alchemy_ws}'

View File

@@ -160,6 +160,8 @@ def get_metadata(addr=None, *, chain_id=None):
if metadata is NARG:
if config.metadata is None or generating_metadata:
metadata = None
elif config.metadata == '':
metadata = None
else:
try:
with open(config.metadata) as file: