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

chore: fix some typos in comment #103

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 src/client/WebSocketClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function makeQueryParams(query: TendermintQuery): string {
}

/**
* An object repesenting a connection to a Initia node's WebSocket RPC endpoint.
* An object representing a connection to a Initia node's WebSocket RPC endpoint.
* This allows for subscribing to Tendermint events through WebSocket.
*
* ### Events
Expand Down
2 changes: 1 addition & 1 deletion src/client/rest/api/WasmAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class WasmAPI extends BaseAPI {
}

/**
* Query the binary code and metadata for a singe wasm code.
* Query the binary code and metadata for a single wasm code.
* @param code_id unique code identifier
*/
public async codeInfo(
Expand Down
2 changes: 1 addition & 1 deletion src/core/bech32.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export namespace AccAddress {
*/
export function fromHex(hexAddress: string): AccAddress {
const hex = hexAddress.replace(/^0x0+|^0x|^0+(?!x)/, '')
// That moudule address reach here is nearly impossible
// That module address reach here is nearly impossible
if (hex.length <= 40) {
return bech32.encode(
'init',
Expand Down
2 changes: 1 addition & 1 deletion src/core/gov/msgs/MsgDepositLegacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class MsgDepositLegacy extends JSONSerializable<
> {
public amount: Coins
/**
* @param proposal_id Id of porposal to deposit to
* @param proposal_id Id of proposal to deposit to
* @param depositor depositor's account address
* @param amount amount to deposit
*/
Expand Down
2 changes: 1 addition & 1 deletion src/core/ibc/applications/fee/msgs/MsgPayPacketFee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class MsgPayPacketFee extends JSONSerializable<
/**
* @param fee encapsulates the recv, ack and timeout fees associated with an IBC packet
* @param source_port_id the source port unique identifier
* @param source_channel_id the source channel unique identifer
* @param source_channel_id the source channel unique identifier
* @param signer account address to refund fee if necessary
* @param relayers optional list of relayers permitted to the receive packet fees
*/
Expand Down
2 changes: 1 addition & 1 deletion src/core/ibc/core/channel/PacketId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { PacketId as PacketId_pb } from '@initia/initia.proto/ibc/core/channel/v
import { JSONSerializable } from '../../../../util/json'

/**
* PacketId is an identifer for a unique Packet.
* PacketId is an identifier for a unique Packet.
* Source chains refer to packets by source port/channel.
* Destination chains refer to packets by destination port/channel.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/core/ophost/BridgeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class BridgeConfig extends JSONSerializable<
* @param proposer the address of the proposer
* @param batch_info the information about batch submission
* @param submission_interval the time interval at which checkpoints must be submitted
* @param finalization_period the minium time duration that must elapse before a withdrawal can be finalized
* @param finalization_period the minimum time duration that must elapse before a withdrawal can be finalized
* @param submission_start_height the first l2 block will be recorded on l1
* @param oracle_enabled flag to enable oracle
* @param metadata normally IBC channelID for permissioned IBC relayer
Expand Down