From 43441c8f4fdc727a2d0933c20ddc960afb95cf63 Mon Sep 17 00:00:00 2001 From: Dafna Matsry Date: Wed, 17 Jul 2024 14:12:16 +0300 Subject: [PATCH] chore: fix cargo doc errors --- crates/blockifier/src/test_utils.rs | 4 ++-- crates/mempool_test_utils/src/starknet_api_test_utils.rs | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/crates/blockifier/src/test_utils.rs b/crates/blockifier/src/test_utils.rs index 16f6b21bd4..0236eaaae7 100644 --- a/crates/blockifier/src/test_utils.rs +++ b/crates/blockifier/src/test_utils.rs @@ -157,8 +157,8 @@ macro_rules! storage_key { } // TODO(Yoni, 1/1/2025): move to SN API. -/// A utility macro to create a [`CompiledClassHash`] from a hex string / unsigned integer -/// representation. +/// A utility macro to create a [`starknet_api::core::CompiledClassHash`] from a hex string / +/// unsigned integer representation. #[macro_export] macro_rules! compiled_class_hash { ($s:expr) => { diff --git a/crates/mempool_test_utils/src/starknet_api_test_utils.rs b/crates/mempool_test_utils/src/starknet_api_test_utils.rs index 73f71fcb15..bece299e1a 100644 --- a/crates/mempool_test_utils/src/starknet_api_test_utils.rs +++ b/crates/mempool_test_utils/src/starknet_api_test_utils.rs @@ -243,8 +243,9 @@ impl<'a> AccountTransactionGenerator<'a> { /// Generates an `RpcTransaction` with fully custom parameters. /// /// Caller must manually handle bumping nonce and fetching the correct sender address via - /// [AccountTransactionGenerator::nonce] and [AccountTransactionGenerator::sender_address]. - /// See [AccountTransactionGenerator::generate_default] to have these filled up by default. + /// [AccountTransactionGenerator::next_nonce] and [AccountTransactionGenerator::sender_address]. + /// See [AccountTransactionGenerator::generate_default_invoke] to have these filled up by + /// default. /// /// Note: This is a best effort attempt to make the API more useful; amend or add new methods /// as needed.