Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #20781

Merged
merged 1 commit into from
Jan 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/sui-rpc-api/src/rest/transactions/resolve/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ fn resolve_arg(
let value = Base64::decode(&v).map_err(|e| {
RpcServiceError::new(
axum::http::StatusCode::BAD_REQUEST,
format!("argument is an invalid pure arguement: {e}"),
format!("argument is an invalid pure argument: {e}"),
)
})?;
CallArg::Pure(value)
Expand All @@ -409,7 +409,7 @@ fn resolve_arg(
let value = serde_json::from_value(serde_json::Value::from(array)).map_err(|e| {
RpcServiceError::new(
axum::http::StatusCode::BAD_REQUEST,
format!("argument is an invalid pure arguement: {e}"),
format!("argument is an invalid pure argument: {e}"),
)
})?;
CallArg::Pure(value)
Expand Down Expand Up @@ -544,7 +544,7 @@ fn resolve_shared_input(
resolve_shared_input_with_object(called_packages, commands, arg_idx, object)
}

// Checks if the provided input argument is used as a recieving object
// Checks if the provided input argument is used as a receiving object
fn is_input_argument_receiving(
called_packages: &HashMap<ObjectId, NormalizedPackage>,
commands: &[Command],
Expand Down
4 changes: 2 additions & 2 deletions crates/sui-types/src/messages_grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pub struct HandleCertificateResponseV3 {
/// versions of shared objects.
//
// TODO: In the future we may want to include shared objects or child objects which were read
// but not modified during exectuion.
// but not modified during execution.
pub input_objects: Option<Vec<Object>>,

/// If requested, will included all changed objects, including mutated, created and unwrapped
Expand Down Expand Up @@ -247,7 +247,7 @@ pub struct HandleTransactionResponseV2 {
/// versions of shared objects.
//
// TODO: In the future we may want to include shared objects or child objects which were read
// but not modified during exectuion.
// but not modified during execution.
pub input_objects: Option<Vec<Object>>,

/// If requested, will included all changed objects, including mutated, created and unwrapped
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-types/src/storage/read_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ pub struct DynamicFieldIndexInfo {
pub name_value: Vec<u8>,
// TODO do we want to also store the type of the value? We can get this for free for
// DynamicFields, but for DynamicObjects it would require a lookup in the DB on init, or
// scanning the transaction's output objects for the coorisponding Object to retreive its type
// scanning the transaction's output objects for the coorisponding Object to retrieve its type
// information.
//
// pub value_type: TypeTag,
Expand Down
2 changes: 1 addition & 1 deletion crates/suiop-cli/src/cli/lib/oauth/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use tokio::task;
use tracing::{debug, info};

// Okta client created for Mysten Labs
// Contact #techops-suport for replacement
// Contact #techops-support for replacement
const CLIENT_ID: &str = "0oacw4bwt1BOV410t697";

#[derive(Deserialize)]
Expand Down
2 changes: 1 addition & 1 deletion crates/suiop-cli/src/cli/pulumi/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn ensure_pulumi_authed() -> Result<()> {
vec!["bash", "-c", "pulumi login"],
Some(CommandOptions::new(true, false)),
)?;
info!("logged in sucessfully")
info!("logged in successfully")
} else {
debug!("authed");
}
Expand Down
Loading