arb1 does not approve tokens by default
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
metadata = '' # this setting approves no tokens
|
||||||
account = '${accounts.gas}'
|
account = '${accounts.gas}'
|
||||||
rpc_url = '${rpc_urls.arbsep_alchemy}'
|
rpc_url = '${rpc_urls.arbsep_alchemy}'
|
||||||
ws_url = '${rpc_urls.arbsep_alchemy_ws}'
|
ws_url = '${rpc_urls.arbsep_alchemy_ws}'
|
||||||
|
|||||||
@@ -160,6 +160,8 @@ def get_metadata(addr=None, *, chain_id=None):
|
|||||||
if metadata is NARG:
|
if metadata is NARG:
|
||||||
if config.metadata is None or generating_metadata:
|
if config.metadata is None or generating_metadata:
|
||||||
metadata = None
|
metadata = None
|
||||||
|
elif config.metadata == '':
|
||||||
|
metadata = None
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
with open(config.metadata) as file:
|
with open(config.metadata) as file:
|
||||||
|
|||||||
Reference in New Issue
Block a user