diff --git a/crates/blockifier/src/execution/syscalls/mod.rs b/crates/blockifier/src/execution/syscalls/mod.rs index 965eb3efe4..9be396e9f8 100644 --- a/crates/blockifier/src/execution/syscalls/mod.rs +++ b/crates/blockifier/src/execution/syscalls/mod.rs @@ -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, diff --git a/crates/starknet_api/src/state.rs b/crates/starknet_api/src/state.rs index 782db70fad..c7984da21c 100644 --- a/crates/starknet_api/src/state.rs +++ b/crates/starknet_api/src/state.rs @@ -247,7 +247,7 @@ impl From 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,