Skip to content

Commit

Permalink
chore(starknet_api): fix no item named warnings (#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArniStarkware committed Dec 29, 2024
1 parent 2a7d97c commit a8cd616
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/blockifier/src/execution/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ impl SyscallResponse for GetBlockHashResponse {

/// Returns the block hash of a given block_number.
/// Returns the expected block hash if the given block was created at least
/// [constants::STORED_BLOCK_HASH_BUFFER] blocks before the current block. Otherwise, returns an
/// error.
/// [STORED_BLOCK_HASH_BUFFER](`crate::abi::constants::STORED_BLOCK_HASH_BUFFER`) blocks before the
/// current block. Otherwise, returns an error.
pub fn get_block_hash(
request: GetBlockHashRequest,
_vm: &mut VirtualMachine,
Expand Down
2 changes: 1 addition & 1 deletion crates/starknet_api/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ impl From<cairo_lang_starknet_classes::contract_class::ContractClass> for Sierra
}
}

/// An entry point of a [ContractClass](`crate::state::ContractClass`).
/// An entry point of a [`SierraContractClass`].
#[derive(Debug, Default, Clone, Eq, PartialEq, Hash, Deserialize, Serialize, PartialOrd, Ord)]
pub struct EntryPoint {
pub function_idx: FunctionIndex,
Expand Down

0 comments on commit a8cd616

Please sign in to comment.