@@ -175,7 +175,7 @@ impl NotarizationClientReadOnly {
175175 /// # Returns
176176 /// A `Result` containing the timestamp as a `u64` or an [`Error`].
177177 pub async fn last_state_change_ts ( & self , notarized_object_id : ObjectID ) -> Result < u64 , Error > {
178- let tx = NotarizationImpl :: last_change_ts ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
178+ let tx = NotarizationImpl :: last_change_ts ( notarized_object_id, self ) . await ?;
179179
180180 self . execute_read_only_transaction ( tx) . await
181181 }
@@ -191,7 +191,7 @@ impl NotarizationClientReadOnly {
191191 /// # Returns
192192 /// A `Result` containing the timestamp as a `u64` or an [`Error`].
193193 pub async fn created_at_ts ( & self , notarized_object_id : ObjectID ) -> Result < u64 , Error > {
194- let tx = NotarizationImpl :: created_at ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
194+ let tx = NotarizationImpl :: created_at ( notarized_object_id, self ) . await ?;
195195
196196 self . execute_read_only_transaction ( tx) . await
197197 }
@@ -207,7 +207,7 @@ impl NotarizationClientReadOnly {
207207 /// # Returns
208208 /// A `Result` containing the version count as a `u64` or an [`Error`].
209209 pub async fn state_version_count ( & self , notarized_object_id : ObjectID ) -> Result < u64 , Error > {
210- let tx = NotarizationImpl :: version_count ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
210+ let tx = NotarizationImpl :: version_count ( notarized_object_id, self ) . await ?;
211211
212212 self . execute_read_only_transaction ( tx) . await
213213 }
@@ -223,7 +223,7 @@ impl NotarizationClientReadOnly {
223223 /// # Returns
224224 /// A `Result` containing an `Option<String>` or an [`Error`]. `None` if no description is set.
225225 pub async fn description ( & self , notarized_object_id : ObjectID ) -> Result < Option < String > , Error > {
226- let tx = NotarizationImpl :: description ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
226+ let tx = NotarizationImpl :: description ( notarized_object_id, self ) . await ?;
227227
228228 self . execute_read_only_transaction ( tx) . await
229229 }
@@ -239,7 +239,7 @@ impl NotarizationClientReadOnly {
239239 /// # Returns
240240 /// A `Result` containing an `Option<String>` or an [`Error`]. `None` if no updatable metadata is set.
241241 pub async fn updatable_metadata ( & self , notarized_object_id : ObjectID ) -> Result < Option < String > , Error > {
242- let tx = NotarizationImpl :: updatable_metadata ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
242+ let tx = NotarizationImpl :: updatable_metadata ( notarized_object_id, self ) . await ?;
243243
244244 self . execute_read_only_transaction ( tx) . await
245245 }
@@ -255,7 +255,7 @@ impl NotarizationClientReadOnly {
255255 /// # Returns
256256 /// A `Result` containing the [`NotarizationMethod`] or an [`Error`].
257257 pub async fn notarization_method ( & self , notarized_object_id : ObjectID ) -> Result < NotarizationMethod , Error > {
258- let tx = NotarizationImpl :: notarization_method ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
258+ let tx = NotarizationImpl :: notarization_method ( notarized_object_id, self ) . await ?;
259259 self . execute_read_only_transaction ( tx) . await
260260 }
261261
@@ -270,7 +270,7 @@ impl NotarizationClientReadOnly {
270270 /// # Returns
271271 /// A `Result` containing an `Option<LockMetadata>` or an [`Error`]. `None` if no locks are set.
272272 pub async fn lock_metadata ( & self , notarized_object_id : ObjectID ) -> Result < Option < LockMetadata > , Error > {
273- let tx = NotarizationImpl :: lock_metadata ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
273+ let tx = NotarizationImpl :: lock_metadata ( notarized_object_id, self ) . await ?;
274274
275275 self . execute_read_only_transaction ( tx) . await
276276 }
@@ -294,7 +294,7 @@ impl NotarizationClientReadOnly {
294294 let type_tag = move_utils:: get_type_tag ( self , & notarized_object_id) . await ?;
295295 let type_str = type_tag. to_string ( ) ;
296296
297- let tx = NotarizationImpl :: state ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
297+ let tx = NotarizationImpl :: state ( notarized_object_id, self ) . await ?;
298298
299299 if type_str == "vector<u8>" {
300300 let state: State < Vec < u8 > > = self . execute_read_only_transaction ( tx) . await ?;
@@ -323,7 +323,7 @@ impl NotarizationClientReadOnly {
323323 /// # Returns
324324 /// A `Result` containing the [`State<T>`] or an [`Error`].
325325 pub async fn state_as < T : DeserializeOwned > ( & self , notarized_object_id : ObjectID ) -> Result < State < T > , Error > {
326- let tx = NotarizationImpl :: state ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
326+ let tx = NotarizationImpl :: state ( notarized_object_id, self ) . await ?;
327327
328328 self . execute_read_only_transaction ( tx) . await
329329 }
@@ -337,7 +337,7 @@ impl NotarizationClientReadOnly {
337337 /// # Returns
338338 /// A `Result` containing `true` if the object is update-locked, `false` otherwise, or an [`Error`].
339339 pub async fn is_update_locked ( & self , notarized_object_id : ObjectID ) -> Result < bool , Error > {
340- let tx = NotarizationImpl :: is_update_locked ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
340+ let tx = NotarizationImpl :: is_update_locked ( notarized_object_id, self ) . await ?;
341341
342342 self . execute_read_only_transaction ( tx) . await
343343 }
@@ -351,7 +351,7 @@ impl NotarizationClientReadOnly {
351351 /// # Returns
352352 /// A `Result` containing `true` if the object is destroy-allowed, `false` otherwise, or an [`Error`].
353353 pub async fn is_destroy_allowed ( & self , notarized_object_id : ObjectID ) -> Result < bool , Error > {
354- let tx = NotarizationImpl :: is_destroy_allowed ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
354+ let tx = NotarizationImpl :: is_destroy_allowed ( notarized_object_id, self ) . await ?;
355355
356356 self . execute_read_only_transaction ( tx) . await
357357 }
@@ -365,7 +365,7 @@ impl NotarizationClientReadOnly {
365365 /// # Returns
366366 /// A `Result` containing `true` if the object is transfer-locked, `false` otherwise, or an [`Error`].
367367 pub async fn is_transfer_locked ( & self , notarized_object_id : ObjectID ) -> Result < bool , Error > {
368- let tx = NotarizationImpl :: is_transfer_locked ( self . notarization_pkg_id , notarized_object_id, self ) . await ?;
368+ let tx = NotarizationImpl :: is_transfer_locked ( notarized_object_id, self ) . await ?;
369369
370370 self . execute_read_only_transaction ( tx) . await
371371 }
0 commit comments