Skip to content

Commit

Permalink
fix long line
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanchez committed Nov 20, 2023
1 parent 6f54ec3 commit 0c268e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cosmos_genesis_tinker.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ def replace_validator(self, old_validator: Validator, new_validator: Validator):

# Sort coins in bank balances
self.log_step("Sorting balances coins")
subprocess.run(f"jq '.app_state.bank.balances |= map(.coins |= sort_by(.denom))' {self.preprocessing_file} > sorted.json",
subprocess.run(f"jq '.app_state.bank.balances |= map(.coins |= sort_by(.denom))' " + \
f"{self.preprocessing_file} > sorted.json",
check=True, shell=True)
subprocess.run(f"mv sorted.json {self.preprocessing_file}",
check=True, shell=True)
Expand Down

0 comments on commit 0c268e0

Please sign in to comment.