Skip to content

Commit

Permalink
fix: Fixed a typo in inspect output about missing ABI support (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong authored Aug 1, 2024
1 parent fd3ab99 commit 006e52e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/contract/inspect/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ async fn get_contract_source_metadata(

#[derive(Error, Debug)]
pub enum FetchAbiError {
#[error("Contact does not support NEAR ABI (https://github.com/near/abi), so there is no way to get details about the function argument and return values.")]
#[error("Contract does not support NEAR ABI (https://github.com/near/abi), so there is no way to get details about the function argument and return values.")]
AbiNotSupported,
#[error("The contact has unknown NEAR ABI format (https://github.com/near/abi), so there is no way to get details about the function argument and return values. See more details about the error:\n\n{0}")]
#[error("The contract has unknown NEAR ABI format (https://github.com/near/abi), so there is no way to get details about the function argument and return values. See more details about the error:\n\n{0}")]
AbiUnknownFormat(Report),
#[error("'__contract_abi' function call failed due to RPC error, so there is no way to get details about the function argument and return values. See more details about the error:\n\n{0}")]
RpcError(
Expand Down

0 comments on commit 006e52e

Please sign in to comment.