Skip to content

Commit

Permalink
chore: fix cargo doc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dafnamatsry committed Jul 17, 2024
1 parent d852ea1 commit 43441c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/blockifier/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
5 changes: 3 additions & 2 deletions crates/mempool_test_utils/src/starknet_api_test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 43441c8

Please sign in to comment.