From ecd286529a2c693fd7a9e1986b6ca623441d7074 Mon Sep 17 00:00:00 2001 From: Guantong Date: Wed, 31 Jul 2024 17:03:46 +0800 Subject: [PATCH] Fix typo in inspect --- src/commands/contract/inspect/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/contract/inspect/mod.rs b/src/commands/contract/inspect/mod.rs index 6a63a2704..4325e6fcd 100644 --- a/src/commands/contract/inspect/mod.rs +++ b/src/commands/contract/inspect/mod.rs @@ -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(