Skip to content

Commit c98a209

Browse files
committed
Fix grammar inconsistencies and spelling errors
1 parent 3b90329 commit c98a209

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

solana/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ The program checks rate limits via the `consume_or_delay` function during the tr
2525

2626
If the transfer amount fits within the current capacity:
2727

28-
- Reduce the current capacity
29-
- Refill the inbound capacity for the destination chain
28+
- Reduce the current capacity.
29+
- Refill the inbound capacity for the destination chain.
3030
- Add the transfer to the outbox with `release_timestamp` set to the current timestamp, so it can be released immediately.
3131

3232
If the transfer amount does not fit within the current capacity:
3333

34-
- If `shouldQueue = true`, add the transfer to the outbox with `release_timestamp` set to the current timestamp plus the configured `RATE_LIMIT_DURATION`.
35-
- If `shouldQueue = false`, revert with a `TransferExceedsRateLimit` error
34+
- If `should_queue = true`, add the transfer to the outbox with `release_timestamp` set to the current timestamp plus the configured `RATE_LIMIT_DURATION`.
35+
- If `should_queue = false`, revert with a `TransferExceedsRateLimit` error.
3636

3737
3. **Send**
3838

@@ -60,7 +60,7 @@ The following will be produced in the program logs:
6060
Program log: Instruction: ReceiveMessage
6161
```
6262

63-
[`redeem`] checks the inbound rate limit and places the message in an Inbox. Logic works the same as the outbound rate limit we mentioned previously.
63+
[`redeem`] checks the inbound rate limit and places the message in an Inbox. The logic works the same as the outbound rate limit we mentioned previously.
6464

6565
The following will be produced in the program logs:
6666

@@ -116,7 +116,7 @@ To initialize NTT, use the [`initialize_multisig`] instruction instead.
116116

117117
In `burning` mode, to release the inbound transfer and the mint tokens to the recipient, use the [`release_inbound_mint_multisig`] instruction instead.
118118

119-
## Prerequisities
119+
## Prerequisites
120120

121121
### Installation
122122

@@ -152,7 +152,7 @@ Run the following command to generate the IDL and run the full Solana test-suite
152152
make test
153153
```
154154

155-
The test-suite includes cargo unit tests and Anchor integration tests
155+
The test-suite includes cargo unit tests and Anchor integration tests.
156156

157157
### Format
158158

0 commit comments

Comments
 (0)