Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: function write_checkpoint did not write checkpoint_{index}_with_id.json files to the folder #4915

Merged
merged 8 commits into from
Dec 11, 2024
3 changes: 2 additions & 1 deletion rust/main/hyperlane-base/src/types/gcs_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ impl CheckpointSyncer for GcsStorageClient {
&self,
signed_checkpoint: &SignedCheckpointWithMessageId,
) -> Result<()> {
let object_name = Self::get_checkpoint_key(signed_checkpoint.value.index);
let object_key = Self::get_checkpoint_key(signed_checkpoint.value.index);
let object_name = self.object_path(&object_key);
let data = serde_json::to_vec(signed_checkpoint)?;
self.upload_and_log(&object_name, data).await
}
Expand Down
Loading