Skip to content

Commit

Permalink
chore: fix some comments (#18803)
Browse files Browse the repository at this point in the history
## Description 

 fix some comments

## Test plan 

How did you test the new or updated feature?

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
  • Loading branch information
shangchenglumetro authored Jul 26, 2024
1 parent a45f461 commit c1a75c9
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/wallet/src/background/accounts/zklogin/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function prepareZkLogin(currentEpoch: number) {
const forceSilentGetProviders: ZkLoginProvider[] = ['twitch'];

/**
* This method does a get request to the authorize url and is used as a workarround
* This method does a get request to the authorize url and is used as a workaround
* for `forceSilentGetProviders` that they do the silent login/token refresh using
* html directives or js code to redirect to the redirect_url (instead of response headers) and that forces the launchWebAuthFlow
* to open and close quickly a new window. Which closes the popup window when open but also creates a weird flickering effect.
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-package-resolver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub enum ErrorConstants {
/// No constant information is available, only a line number.
None,
/// The error is a complete error, with an error identifier and constant that can be rendered.
/// The the rendered string representation of the constant is returned only when the contant
/// The rendered string representation of the constant is returned only when the contant
/// value is one of the following types:
/// * A vector of bytes convertible to a valid UTF-8 string; or
/// * A numeric value (u8, u16, u32, u64, u128, u256); or
Expand Down
2 changes: 1 addition & 1 deletion examples/move/crypto/bls_signature/sources/example.move
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

/// Examples of BLS siganture related operations.
/// Examples of BLS signature related operations.
module bls_signature::example {
use sui::bls12381;
use std::hash::sha2_256;
Expand Down
2 changes: 1 addition & 1 deletion examples/tic-tac-toe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The multisig account does not own anything other than the game object
(it does not have any gas coins of its own), so the player sponsors
the transaction, using one of its own gas coins.

Sharing a resource while avoiding consensus by transfering it to a
Sharing a resource while avoiding consensus by transferring it to a
multisig account can be generalized from two accounts to a max of ten
(the limit being the number of keys that can be associated with one
multisig).
Expand Down
2 changes: 1 addition & 1 deletion external-crates/move/crates/move-vm-runtime/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2355,7 +2355,7 @@ pub const VALUE_DEPTH_MAX: u64 = 128;

/// Maximal nodes which are allowed when converting to layout. This includes the types of
/// fields for struct types.
/// Maximal nodes which are allowed when converting to layout. This includes the the types of
/// Maximal nodes which are allowed when converting to layout. This includes the types of
/// fields for datatypes.
const MAX_TYPE_TO_LAYOUT_NODES: u64 = 256;

Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/pages/typescript/executors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ way that avoids conflicts between transactions using the same object ids.
(default 20)
- `initialCoinBalance`: The balance of new coins created for the gas pool in MIST (default
`200_000_000n`),
- `minimumCoinBalance`: After executing a transaction, the the gasCoin will be reused unless it's
- `minimumCoinBalance`: After executing a transaction, the gasCoin will be reused unless it's
balance is below this value (default `50_000_000n`),
- `defaultBudget`: The default budget for transactions, which will be used if the transaction does
not specify a budget (default `minimumCoinBalance`),
Expand Down
2 changes: 1 addition & 1 deletion sdk/docs/pages/typescript/migrations/sui-1.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ of transactionBlockBytes
## `useSignAndExecuteTransactionBlock`

The `useSignAndExecuteTransactionBlock` has been named to `useSignAndExecuteTransaction` and
redesigned to work the the updated wallet-standard methods.
redesigned to work the updated wallet-standard methods.

`useSignAndExecuteTransaction` no-longer accepts the options passed to
`suiClient.executeTransactionBlock` for returning additional data.
Expand Down
2 changes: 1 addition & 1 deletion sui-execution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The `sui-execution` crate is responsible for abstracting access to the
execution layer. It allows us to isolate big changes to the execution
layer that need to be gated behind protocol config changes, to
minimise the risk of inadvertantly changing behaviour that is relevant
minimise the risk of inadvertently changing behaviour that is relevant
for state sync (which would cause a fork).

The Execution Layer include:
Expand Down

0 comments on commit c1a75c9

Please sign in to comment.