From 1e6ed30f0d9996eeaed5ab8b2e3da6861d8c1957 Mon Sep 17 00:00:00 2001 From: clint Date: Thu, 21 Dec 2023 11:32:44 +0800 Subject: [PATCH] fix(typos):check spelling --- src/main.rs | 2 +- src/specs/0.1.0/starknet_write_api.json | 2 +- src/specs/0.3.0/starknet_api_openrpc.json | 2 +- src/specs/0.4.0/starknet_api_openrpc.json | 2 +- src/specs/0.4.0/starknet_write_api.json | 2 +- src/specs/0.5.1/starknet_api_openrpc.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 62cf6e1..d1a893d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -307,5 +307,5 @@ fn main() { Subcommands::Print(cmd) => cmd.run(&profiles), }; - result.expect("Error running commmand"); + result.expect("Error running command"); } diff --git a/src/specs/0.1.0/starknet_write_api.json b/src/specs/0.1.0/starknet_write_api.json index 096eaa5..c5464a5 100644 --- a/src/specs/0.1.0/starknet_write_api.json +++ b/src/specs/0.1.0/starknet_write_api.json @@ -105,7 +105,7 @@ "params": [ { "name": "contract_address_salt", - "description": "The salt used for calculting the contract address", + "description": "The salt used for calculating the contract address", "schema": { "$ref": "#/components/schemas/FELT" } diff --git a/src/specs/0.3.0/starknet_api_openrpc.json b/src/specs/0.3.0/starknet_api_openrpc.json index 22e33d7..fcccaf4 100644 --- a/src/specs/0.3.0/starknet_api_openrpc.json +++ b/src/specs/0.3.0/starknet_api_openrpc.json @@ -469,7 +469,7 @@ { "name": "starknet_estimateFee", "summary": "estimate the fee for of Starknet transactions", - "description": "estimates the resources required by transactions when applyed on a given state", + "description": "estimates the resources required by transactions when applied on a given state", "params": [ { "name": "request", diff --git a/src/specs/0.4.0/starknet_api_openrpc.json b/src/specs/0.4.0/starknet_api_openrpc.json index d284fb5..d37db05 100644 --- a/src/specs/0.4.0/starknet_api_openrpc.json +++ b/src/specs/0.4.0/starknet_api_openrpc.json @@ -469,7 +469,7 @@ { "name": "starknet_estimateFee", "summary": "estimate the fee for of Starknet transactions", - "description": "estimates the resources required by transactions when applyed on a given state", + "description": "estimates the resources required by transactions when applied on a given state", "params": [ { "name": "request", diff --git a/src/specs/0.4.0/starknet_write_api.json b/src/specs/0.4.0/starknet_write_api.json index 7ea7032..47bfa08 100644 --- a/src/specs/0.4.0/starknet_write_api.json +++ b/src/specs/0.4.0/starknet_write_api.json @@ -276,7 +276,7 @@ }, "UNEXPECTED_ERROR": { "code": 63, - "message": "An unexpected error occured", + "message": "An unexpected error occurred", "data": { "type": "string" } diff --git a/src/specs/0.5.1/starknet_api_openrpc.json b/src/specs/0.5.1/starknet_api_openrpc.json index 1d796ed..9000f85 100644 --- a/src/specs/0.5.1/starknet_api_openrpc.json +++ b/src/specs/0.5.1/starknet_api_openrpc.json @@ -530,7 +530,7 @@ { "name": "starknet_estimateFee", "summary": "estimate the fee for of Starknet transactions", - "description": "estimates the resources required by transactions when applyed on a given state", + "description": "estimates the resources required by transactions when applied on a given state", "params": [ { "name": "request",