Skip to content

Commit

Permalink
Fix: Allow service template migration from <4 to 5
Browse files Browse the repository at this point in the history
Signed-off-by: OjusWiZard <[email protected]>
  • Loading branch information
OjusWiZard committed Jan 8, 2025
1 parent 8b4ea45 commit 0f315bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operate/services/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ def migrate_format(cls, path: Path) -> bool: # pylint: disable=too-many-stateme
else:
data["env_variables"] = {}

if version == 4:
if version < 5:
new_chain_configs = {}
for chain, chain_data in data["chain_configs"].items():
fund_requirements = chain_data["chain_data"]["user_params"][
Expand Down

0 comments on commit 0f315bd

Please sign in to comment.