Skip to content

Commit b5d871f

Browse files
authored
chore: fix some minor issues in comments (#1534)
Signed-off-by: houpo-bob <[email protected]>
1 parent ce74f15 commit b5d871f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/rococo-testnet/rococo-sepolia-token-transfers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ The transfer process takes about ±30 minutes to get to the other side of the br
123123

124124
### Sending Tokens to a User-specified Destination Parachain
125125

126-
Snowbridge supports sending tokens to a user-specified destination parachain. When specifying a destination chain the funds are transfered to Asset Hub and then a reserve transfer is done from Asset Hub to the destination parachain.
126+
Snowbridge supports sending tokens to a user-specified destination parachain. When specifying a destination chain the funds are transferred to Asset Hub and then a reserve transfer is done from Asset Hub to the destination parachain.
127127

128128
#### 1. Destination Parachain Requirements
129129

relayer/chain/parachain/schedule_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
)
77

8-
// 100 messages distrubuted to 10 relayers, check waitingPeriod for each relayer
8+
// 100 messages distributed to 10 relayers, check waitingPeriod for each relayer
99
func TestModuloSchedule(t *testing.T) {
1010
message_count := 100
1111
total_count := 10

web/packages/api/src/toPolkadot_v2.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ async function validateAccount(
276276
assetMetadata?: Asset,
277277
maxConsumers?: bigint
278278
) {
279-
// Check if the acocunt is created
279+
// Check if the account is created
280280
const [beneficiaryAccount, beneficiaryTokenBalance] = await Promise.all([
281281
parachainImpl.getNativeAccount(beneficiaryAddress),
282282
parachainImpl.getTokenBalance(beneficiaryAddress, ethChainId, tokenAddress, assetMetadata),
@@ -328,7 +328,7 @@ export async function validateTransfer(
328328
logs.push({
329329
kind: ValidationKind.Error,
330330
reason: ValidationReason.MinimumAmountValidation,
331-
message: "The amount transfered is less than the minimum amount.",
331+
message: "The amount transferred is less than the minimum amount.",
332332
})
333333
}
334334
const etherBalance = await ethereum.getBalance(sourceAccount)
@@ -512,7 +512,7 @@ export async function validateTransfer(
512512
!destParachain.features.hasDryRunApi)
513513
) {
514514
const destParachainImpl = await paraImplementation(destParachainApi)
515-
// Check if the acocunt is created
515+
// Check if the account is created
516516
const { accountMaxConumers, accountExists } = await validateAccount(
517517
destParachainImpl,
518518
beneficiaryAddressHex,

web/packages/operations/src/examples/send_ether_from_eth_to_assethub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ import { setTimeout } from "timers/promises"
9797
throw Error(`Transaction ${response.hash} not included.`)
9898
}
9999

100-
// Step 6. Get the message reciept for tracking purposes
100+
// Step 6. Get the message receipt for tracking purposes
101101
const message = await toPolkadotV2.getMessageReceipt(receipt)
102102
if (!message) {
103103
throw Error(`Transaction ${receipt.hash} did not emit a message.`)

web/packages/operations/src/transfer_to_polkadot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const transferToPolkadot = async (
132132
throw Error(`Transaction ${response.hash} not included.`)
133133
}
134134

135-
// Step 7. Get the message reciept for tracking purposes
135+
// Step 7. Get the message receipt for tracking purposes
136136
const message = await toPolkadotV2.getMessageReceipt(receipt)
137137
if (!message) {
138138
throw Error(`Transaction ${receipt.hash} did not emit a message.`)

0 commit comments

Comments
 (0)