diff --git a/src/client/WebSocketClient.ts b/src/client/WebSocketClient.ts index 55845da..6785ae6 100644 --- a/src/client/WebSocketClient.ts +++ b/src/client/WebSocketClient.ts @@ -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 diff --git a/src/client/rest/api/WasmAPI.ts b/src/client/rest/api/WasmAPI.ts index 8eb7860..4b81887 100644 --- a/src/client/rest/api/WasmAPI.ts +++ b/src/client/rest/api/WasmAPI.ts @@ -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( diff --git a/src/core/bech32.ts b/src/core/bech32.ts index c71c1c7..b4cb991 100644 --- a/src/core/bech32.ts +++ b/src/core/bech32.ts @@ -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', diff --git a/src/core/gov/msgs/MsgDepositLegacy.ts b/src/core/gov/msgs/MsgDepositLegacy.ts index e43a70d..25d216b 100644 --- a/src/core/gov/msgs/MsgDepositLegacy.ts +++ b/src/core/gov/msgs/MsgDepositLegacy.ts @@ -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 */ diff --git a/src/core/ibc/applications/fee/msgs/MsgPayPacketFee.ts b/src/core/ibc/applications/fee/msgs/MsgPayPacketFee.ts index 2b4a341..dcd5413 100644 --- a/src/core/ibc/applications/fee/msgs/MsgPayPacketFee.ts +++ b/src/core/ibc/applications/fee/msgs/MsgPayPacketFee.ts @@ -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 */ diff --git a/src/core/ibc/core/channel/PacketId.ts b/src/core/ibc/core/channel/PacketId.ts index 68f577c..602ab66 100644 --- a/src/core/ibc/core/channel/PacketId.ts +++ b/src/core/ibc/core/channel/PacketId.ts @@ -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. */ diff --git a/src/core/ophost/BridgeConfig.ts b/src/core/ophost/BridgeConfig.ts index 5df112a..9d75d9e 100644 --- a/src/core/ophost/BridgeConfig.ts +++ b/src/core/ophost/BridgeConfig.ts @@ -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