Skip to content

Commit

Permalink
docs: fix typos with spell checker
Browse files Browse the repository at this point in the history
  • Loading branch information
bodhi-crypo authored and SEJeff committed Dec 21, 2023
1 parent 8590089 commit 8b39c1a
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions aptos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ run the deploy script again. However, a better way is to run one of the followin

``` sh
scripts $ ./upgrade devnet Core # for upgrading the wormhole contract
scripts $ ./upgrade devnet TokenBridge # for upgarding the token bridge contract
scripts $ ./upgrade devnet NFTBridge # for upgarding the NFT bridge contract
scripts $ ./upgrade devnet TokenBridge # for upgrading the token bridge contract
scripts $ ./upgrade devnet NFTBridge # for upgrading the NFT bridge contract
```

Behind the scenes, these scripts exercise the whole contract upgrade code path
Expand Down
4 changes: 2 additions & 2 deletions near/test/p3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ async function testNearSDK() {
console.log("wallet addr: " + algoWallet.addr);
console.log("usdcAssetId: " + usdcAssetId);

console.log("transfering USDC from Algo To Near... getting the vaa");
console.log("transferring USDC from Algo To Near... getting the vaa");
console.log("myAddress: " + myAddress);

let testAddress = nearAPI.providers.getTransactionLastResult(
Expand Down Expand Up @@ -379,7 +379,7 @@ async function testNearSDK() {
)
);

console.log("transfering USDC from Algo To Near... getting the vaa");
console.log("transferring USDC from Algo To Near... getting the vaa");
let transferAlgoToNearRandoP3;
{
const AmountToTransfer: number = 100;
Expand Down
8 changes: 4 additions & 4 deletions near/test/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ async function testNearSDK() {
console.log("wallet addr: " + algoWallet.addr);
console.log("usdcAssetId: " + usdcAssetId);

console.log("transfering USDC from Algo To Near... getting the vaa");
console.log("transferring USDC from Algo To Near... getting the vaa");
console.log("myAddress: " + myAddress);

let transferAlgoToNearUSDC;
Expand Down Expand Up @@ -921,7 +921,7 @@ async function testNearSDK() {
).vaaBytes;
}

console.log("YYY transfering rando from Algo To Near... getting the vaa");
console.log("YYY transferring rando from Algo To Near... getting the vaa");
let transferAlgoToNearRando;
{
const Fee: number = 0;
Expand Down Expand Up @@ -953,7 +953,7 @@ async function testNearSDK() {
).vaaBytes;
}

console.log("transfering NEAR from Algo To Near... getting the vaa");
console.log("transferring NEAR from Algo To Near... getting the vaa");
let transferAlgoToNearNEAR;
{
const AmountToTransfer: number = 100;
Expand Down Expand Up @@ -1119,7 +1119,7 @@ async function testNearSDK() {
);

console.log(
"YYY P3 transfering rando from Algo To Near... getting the vaa"
"YYY P3 transferring rando from Algo To Near... getting the vaa"
);
let transferAlgoToNearRandoP3;
{
Expand Down
2 changes: 1 addition & 1 deletion node/pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const (
observationRequestInboundBufferSize = 500

// observationRequestOutboundBufferSize configures the size of obsvReqSendC
// and thereby somewhat limits the amout of observation requests that can be sent in bursts to the network.
// and thereby somewhat limits the amount of observation requests that can be sent in bursts to the network.
observationRequestOutboundBufferSize = 100

// observationRequestPerChainBufferSize is the buffer size of the per-network reobservation channel
Expand Down
2 changes: 1 addition & 1 deletion sdk/js/src/token_bridge/__tests__/sui-integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ describe("Sui SDK tests", () => {
console.log(JSON.stringify(updateWrappedTxRes.effects, null, 2));
expect(updateWrappedTxRes.effects?.status.status).toBe("success");

// Check if update was propogated to coin metadata
// Check if update was propagated to coin metadata
const newCoinMetadata = await suiProvider.getCoinMetadata({
coinType: getWrappedCoinType(coinPackageId),
});
Expand Down
4 changes: 2 additions & 2 deletions sui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ run the deploy script again.
``` sh
scripts $ ./upgrade devnet Core # for upgrading the wormhole contract
scripts $ ./upgrade devnet TokenBridge # for upgarding the token bridge contract
scripts $ ./upgrade devnet NFTBridge # for upgarding the NFT bridge contract
scripts $ ./upgrade devnet TokenBridge # for upgrading the token bridge contract
scripts $ ./upgrade devnet NFTBridge # for upgrading the NFT bridge contract
```
Behind the scenes, these scripts exercise the whole contract upgrade code path
Expand Down
2 changes: 1 addition & 1 deletion whitepapers/0007_governor.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If a Guardian decides to enable this feature:

Governor divides token-based transactions into two categories: small transactions, and large transactions.

- **Small Transactions:** Transactions smaller than the single-transaction threshold of the chain where the transfer is originating from are considered small transactions. During any 24h sliding window, the Guardian will sign token bridge transfers in aggregate value up to the 24h threshold with no finality delay. When small transactions exceed this limit, they will be delayed until sufficient headroom is present in the 24h sliding window. A transaction either fits or is delayed, they are not artifically split into multiple transactions. If a small transaction has been delayed for more than 24h, it will be released immediately and it will not count towards the 24h threshold.
- **Small Transactions:** Transactions smaller than the single-transaction threshold of the chain where the transfer is originating from are considered small transactions. During any 24h sliding window, the Guardian will sign token bridge transfers in aggregate value up to the 24h threshold with no finality delay. When small transactions exceed this limit, they will be delayed until sufficient headroom is present in the 24h sliding window. A transaction either fits or is delayed, they are not artificially split into multiple transactions. If a small transaction has been delayed for more than 24h, it will be released immediately and it will not count towards the 24h threshold.
- **Large Transactions:** Transactions larger than the single-transaction threshold of the chain where the transfer is originating from are considered large transactions. All large transactions have an imposed 24h finality delay before Wormhole Guardians sign them. These transactions do not affect the 24h threshold counter.

### Asset pricing
Expand Down
2 changes: 1 addition & 1 deletion whitepapers/0011_accountant.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ It will have the following accounts:

Transferring a native token across the tokenbridge (locking) increases the balance on both the custody account and wrapped account on the destination chain. Transferring a wrapped token back across the tokenbridge (burning) and subsequently unlocking its native asset decreases the balance on both the wrapped and custody accounts. Any transfer causing the balance of an account to become negative is invalid and gets rejected.

Each account is identified via a `(chain_id, token_chain, token_address)` tuple. Custody accounts are those where `chain_id == token_chain`, while the rest are wrapped accounts. See the [governance](#governance) section below for futher clarification.
Each account is identified via a `(chain_id, token_chain, token_address)` tuple. Custody accounts are those where `chain_id == token_chain`, while the rest are wrapped accounts. See the [governance](#governance) section below for further clarification.

#### Governance

Expand Down
2 changes: 1 addition & 1 deletion wormchain/development.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Develop

## prerequsites
## prerequisites

- Go >= 1.16
- nodejs >= 16
Expand Down
2 changes: 1 addition & 1 deletion wormchain/x/ibc-hooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msg := MsgExecuteContract{
### ICS20 packet structure
So given the details above, we propogate the implied ICS20 packet data structure.
So given the details above, we propagate the implied ICS20 packet data structure.
ICS20 is JSON native, so we use JSON for the memo format.
```json
Expand Down
2 changes: 1 addition & 1 deletion wormchain/x/tokenfactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ message MsgBurn {

**State Modifications:**

- Saftey check the following
- Safety check the following
- Check that the denom minting is created via `tokenfactory` module
- Check that the sender of the message is the admin of the denom
- Burn designated amount of tokens for the denom via `bank` module
Expand Down

0 comments on commit 8b39c1a

Please sign in to comment.