Skip to content

Commit 6542c29

Browse files
chore: remove duplicate word in comment (#21907)
## Description remove duplicate word in comment ## 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): - [ ] gRPC: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: Signed-off-by: wangcundashang <wangcundashang@qq.com>
1 parent 02d2b0f commit 6542c29

File tree

4 files changed

+7
-7
lines changed
  • crates
    • sui-indexer-alt-jsonrpc/src/api/name_service
    • sui-indexer-alt-schema/migrations/2024-11-01-182359_kv_genesis
  • docs/content/concepts
  • external-crates/move/crates/move-analyzer/trace-adapter/src

4 files changed

+7
-7
lines changed

crates/sui-indexer-alt-jsonrpc/src/api/name_service/response.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::{
1717

1818
use super::Error;
1919

20-
/// Attempt to to translate the given SuiNS `name` to its address, as long as the mapping exists,
20+
/// Attempt to translate the given SuiNS `name` to its address, as long as the mapping exists,
2121
/// and it hasn't expired.
2222
pub(super) async fn resolved_address(
2323
ctx: &Context,
@@ -91,7 +91,7 @@ pub(super) async fn resolved_address(
9191
}
9292
}
9393

94-
/// Attempt to to translate the given `address` to its SuiNS name, as long as the reverse mapping
94+
/// Attempt to translate the given `address` to its SuiNS name, as long as the reverse mapping
9595
/// exists, and the forward mapping points to the address.
9696
pub(super) async fn resolved_name(
9797
ctx: &Context,

crates/sui-indexer-alt-schema/migrations/2024-11-01-182359_kv_genesis/up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Stores information related to to the genesis checkpoint.
1+
-- Stores information related to the genesis checkpoint.
22
CREATE TABLE IF NOT EXISTS kv_genesis
33
(
44
-- The checkpoint digest of the genesis checkpoint

docs/content/concepts/grpc-overview.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ These definitions can be used to generate client libraries in various programmin
3131

3232
:::info
3333

34-
There are some proto files in the folder `sui/rpc/v2alpha` as well. Those are are in alpha because they are early experimental versions that are subject to change and not recommended for production use.
34+
There are some proto files in the folder `sui/rpc/v2alpha` as well. Those are in alpha because they are early experimental versions that are subject to change and not recommended for production use.
3535

3636
:::
3737

@@ -239,7 +239,7 @@ require (
239239

240240
**Generate Golang code from proto files**
241241

242-
Assuming you have the the proto files from [Github v2beta](https://github.com/MystenLabs/sui/tree/main/crates/sui-rpc-api/proto), run:
242+
Assuming you have the proto files from [Github v2beta](https://github.com/MystenLabs/sui/tree/main/crates/sui-rpc-api/proto), run:
243243

244244
```shell
245245
protoc --proto_path=./protos --go_out=. --go-grpc_out=. protos/sui/rpc/v2beta/ledger_service.proto
@@ -336,7 +336,7 @@ pip install grpcio grpcio-tools protobuf
336336

337337
**Generate Python code from proto files**
338338

339-
Assuming you have the the proto files from [Github v2beta](https://github.com/MystenLabs/sui/tree/main/crates/sui-rpc-api/proto), run:
339+
Assuming you have the proto files from [Github v2beta](https://github.com/MystenLabs/sui/tree/main/crates/sui-rpc-api/proto), run:
340340

341341
```shell
342342
python -m grpc_tools.protoc -I./protos --python_out=. --grpc_python_out=. ./protos/sui/rpc/v2beta/ledger_service.proto

external-crates/move/crates/move-analyzer/trace-adapter/src/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ export class Runtime extends EventEmitter {
506506
// and `baz` in the example above).
507507
//
508508
// The following explains a bit more formally what needs
509-
// to happen both on on `next` and `step` actions when
509+
// to happen both on `next` and `step` actions when
510510
// call and non-call instructions are interleaved:
511511
//
512512
// When `step` is called:

0 commit comments

Comments
 (0)