Skip to content

Commit

Permalink
fix: formate code
Browse files Browse the repository at this point in the history
  • Loading branch information
KahanMajmudar committed Nov 22, 2024
1 parent 845f248 commit 5d1ee1a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions operate/services/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,9 @@ def _build_host(self, force: bool = True, chain_id: str = "100") -> None:
# Mech price patch.
agent_vars = json.loads(Path(build, "agent.json").read_text(encoding="utf-8"))
if "SKILL_TRADER_ABCI_MODELS_PARAMS_ARGS_MECH_REQUEST_PRICE" in agent_vars:
agent_vars["SKILL_TRADER_ABCI_MODELS_PARAMS_ARGS_MECH_REQUEST_PRICE"] = (
"10000000000000000"
)
agent_vars[
"SKILL_TRADER_ABCI_MODELS_PARAMS_ARGS_MECH_REQUEST_PRICE"
] = "10000000000000000"
Path(build, "agent.json").write_text(
json.dumps(agent_vars, indent=4),
encoding="utf-8",
Expand Down Expand Up @@ -794,9 +794,9 @@ def update_user_params_from_template(
) -> None:
"""Update user params from template."""
for chain, config in service_template["configurations"].items():
self.chain_configs[chain].chain_data.user_params = (
OnChainUserParams.from_json(dict(config))
)
self.chain_configs[
chain
].chain_data.user_params = OnChainUserParams.from_json(dict(config))

self.store()

Expand Down

0 comments on commit 5d1ee1a

Please sign in to comment.