Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos and link broken #597

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: fix typos and link broken
  • Loading branch information
xiaoxianBoy committed Apr 14, 2024
commit 52eb30822d5d62621b72e2680053fbc7c9acff61
2 changes: 1 addition & 1 deletion code/feature-parity-testing/preamble.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
mod tests {
use std::{error, path::PathBuf, str::FromStr};

// Use gadget-scfs to get interegate feature lists from clusters
// Use gadget-scfs to get interrogate feature lists from clusters
// must have `gadgets-scfs = "0.2.0" in Cargo.toml [dev-dependencies] to use
use gadgets_scfs::{ScfsCriteria, ScfsMatrix, SCFS_DEVNET};
use solana_client::rpc_client::RpcClient;
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/get-program-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ By default `getProgramAccounts` will return an array of JSON objects with the fo
`getProgramAccounts` is a versatile RPC method that returns all accounts owned by a program. We can use `getProgramAccounts` for a number of useful queries, such as finding:

- All token accounts for a particular wallet
- All token accounts for a particular mint (i.e. All [SRM](https://www.projectserum.com/) holders)
- All token accounts for a particular mint (i.e. All [SRM](https://docs.projectserum.com/) holders)
- All custom accounts for a particular program (i.e. All [Mango](https://mango.markets/) users)

Despite its usefulness, `getProgramAccounts` is often misunderstood due to its current constraints. Many of the queries supported by `getProgramAccounts` require RPC nodes to scan large sets of data. These scans are both memory and resource intensive. As a result, calls that are too frequent or too large in scope can result in connection timeouts. Furthermore, at the time of this writing, the `getProgramAccounts` endpoint does not support pagination. If the results of a query are too large, the response will be truncated.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/versioned-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,4 @@ const getTx = await connection.getTransaction(

## References
* [Transactions-V2 Proposal](https://beta.docs.solana.com/proposals/transactions-v2)
* [Developing with Versioned Transactions](https://beta.docs.solana.com/developing/versioned-transactions)
* [Developing with Versioned Transactions](https://solanacookbook.com/guides/versioned-transactions.html)