You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: solana/README.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,14 @@ The program checks rate limits via the `consume_or_delay` function during the tr
25
25
26
26
If the transfer amount fits within the current capacity:
27
27
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.
30
30
- Add the transfer to the outbox with `release_timestamp` set to the current timestamp, so it can be released immediately.
31
31
32
32
If the transfer amount does not fit within the current capacity:
33
33
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.
36
36
37
37
3.**Send**
38
38
@@ -60,7 +60,7 @@ The following will be produced in the program logs:
60
60
Program log: Instruction: ReceiveMessage
61
61
```
62
62
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.
64
64
65
65
The following will be produced in the program logs:
66
66
@@ -116,7 +116,7 @@ To initialize NTT, use the [`initialize_multisig`] instruction instead.
116
116
117
117
In `burning` mode, to release the inbound transfer and the mint tokens to the recipient, use the [`release_inbound_mint_multisig`] instruction instead.
118
118
119
-
## Prerequisities
119
+
## Prerequisites
120
120
121
121
### Installation
122
122
@@ -152,7 +152,7 @@ Run the following command to generate the IDL and run the full Solana test-suite
152
152
make test
153
153
```
154
154
155
-
The test-suite includes cargo unit tests and Anchor integration tests
155
+
The test-suite includes cargo unit tests and Anchor integration tests.
0 commit comments