diff --git a/cosmos_genesis_tinker.py b/cosmos_genesis_tinker.py index 8f3b6dc..1cc7732 100755 --- a/cosmos_genesis_tinker.py +++ b/cosmos_genesis_tinker.py @@ -336,7 +336,9 @@ def create_preprocessing_file(self): self.log_step("Creating preprocessing file " + self.preprocessing_file) self._preprocessing = True - shutil.copy2(self.input_file, self.preprocessing_file) + subprocess.run(f"jq '.' {self.input_file} > {self.preprocessing_file}", + check=True, shell=True) + # shutil.copy2(self.input_file, self.preprocessing_file) def replace_delegator(self, old_delegator: Delegator, new_delegator: Delegator): """