diff --git a/run_service.sh b/run_service.sh index b8c539fe..2053dbe9 100755 --- a/run_service.sh +++ b/run_service.sh @@ -705,18 +705,18 @@ if [ ! -d "$directory" ]; then fi cd $directory -poetry run autonomy init --reset --author $open_autonomy_author --remote --ipfs --ipfs-node "/dns/registry.autonolas.tech/tcp/443/https" - if [ "$(git rev-parse --is-inside-work-tree)" = true ] then poetry install poetry run autonomy packages sync + poetry run autonomy init --reset --author $open_autonomy_author --remote --ipfs --ipfs-node "/dns/registry.autonolas.tech/tcp/443/https" poetry add tqdm else echo "$directory is not a git repo!" exit 1 fi + # Setup the minting tool export CUSTOM_CHAIN_RPC=$rpc export CUSTOM_CHAIN_ID=$gnosis_chain_id diff --git a/scripts/swap_safe_owner.py b/scripts/swap_safe_owner.py index 2c23d3e5..c9387b36 100644 --- a/scripts/swap_safe_owner.py +++ b/scripts/swap_safe_owner.py @@ -85,7 +85,7 @@ def load_contract(ctype: ContractType) -> ContractType: current_owner_crypto = EthereumCrypto( private_key_path=args.current_owner_private_key_path, password=args.password ) - owner_cryptos: list[EthereumCrypto] = [current_owner_crypto] + owner_cryptos = [current_owner_crypto] # type: ignore owners = [ ledger_api.api.to_checksum_address(owner_crypto.address)