Skip to content

chore: fix some typos in comment #1794

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion docs/gravity-bridge/dev-setup-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ message DelegateKeysSignMsg {
}
```

Use your favorite protobuf library to encode the message, and use your favorite web3 library to do the messge signing,
Use your favorite protobuf library to encode the message, and use your favorite web3 library to do the message signing,
for example, this is how it could be done in python:

```python
Expand Down
2 changes: 1 addition & 1 deletion memiavl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ payload:
repeat with next version
```

- Change set files can be splited with certain block ranges for incremental backup and restoration.
- Change set files can be split with certain block ranges for incremental backup and restoration.

- Historical files can be compressed with zlib, because it doesn't need to support random access.

Expand Down
2 changes: 1 addition & 1 deletion memiavl/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func OpenSnapshot(snapshotDir string) (snapshot *Snapshot, err error) {
return nil, err
}
if len(bz) != SizeMetadata {
return nil, fmt.Errorf("wrong metadata file size, expcted: %d, found: %d", SizeMetadata, len(bz))
return nil, fmt.Errorf("wrong metadata file size, expected: %d, found: %d", SizeMetadata, len(bz))
}

magic := binary.LittleEndian.Uint32(bz)
Expand Down
4 changes: 2 additions & 2 deletions x/cronos/rpc/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (api *CronosAPI) GetTransactionReceiptsByBlock(blockNrOrHash rpctypes.Block
"blockNumber": hexutil.Uint64(blockNumber),
"transactionIndex": hexutil.Uint64(txIndex),

// sender and receiver (contract or EOA) addreses
// sender and receiver (contract or EOA) addresses
"from": from,
"to": txData.To(),
"type": hexutil.Uint(txData.Type()),
Expand Down Expand Up @@ -336,7 +336,7 @@ func (api *CronosAPI) ReplayBlock(blockNrOrHash rpctypes.BlockNumberOrHash, post
"blockNumber": hexutil.Uint64(blockNumber),
"transactionIndex": hexutil.Uint64(txIndex),

// sender and receiver (contract or EOA) addreses
// sender and receiver (contract or EOA) addresses
"from": from,
"to": txData.GetTo(),
}
Expand Down