diff --git a/rust/main/hyperlane-base/src/types/gcs_storage.rs b/rust/main/hyperlane-base/src/types/gcs_storage.rs index a413edb323..e29f382a2c 100644 --- a/rust/main/hyperlane-base/src/types/gcs_storage.rs +++ b/rust/main/hyperlane-base/src/types/gcs_storage.rs @@ -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 } @@ -305,4 +306,4 @@ async fn public_landset_no_auth_works_test() { .await .unwrap(); assert!(client.get_by_path(LANDSAT_KEY).await.is_ok()); -} +} \ No newline at end of file