Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoreira-valory committed Aug 14, 2024
1 parent b3eb5fa commit 52dfe3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion operate/services/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def _deploy_service_onchain_from_safe( # pylint: disable=too-many-statements,to
# print(f"{current_safe_owners=}")
approve_message, deploy_message = sftxb.get_deploy_data_from_safe(
service_id=chain_data.token,
reuse_multisig=is_update,
reuse_multisig=not is_first_mint,
master_safe=sftxb.wallet.safe,
)
sftxb.new_tx().add(approve_message).add(deploy_message).settle()
Expand Down
2 changes: 0 additions & 2 deletions operate/services/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,6 @@ def get_deploy_data_from_safe(
else:
raise NotImplementedError


deploy_data = registry_instance.encodeABI(
fn_name="deploy",
args=[
Expand All @@ -1169,7 +1168,6 @@ def get_deploy_data_from_safe(
}
return [approve_hash_message, deploy_message]


def get_terminate_data(self, service_id: int) -> t.Dict:
"""Get terminate tx data."""
instance = registry_contracts.service_manager.get_instance(
Expand Down

0 comments on commit 52dfe3f

Please sign in to comment.