Skip to content

fix(svm): N-02 clarify documentation #963

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

Open
wants to merge 2 commits into
base: solana-march-audit-2
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
2 changes: 1 addition & 1 deletion scripts/svm/createVault.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This script is used by a chain admin to create a vault for a token on the Solana Spoke Pool. Note that this is a
// This script can be used by a anyone to create a vault for a token on the Solana Spoke Pool. Note that this is a
// permissionless operation, only requiring the caller to spend rent-exempt deposit to create the vault account that is
// not recoverable. Similar to other chains, this enables one to deposit and fill non-whitelisted tokens.

Expand Down
2 changes: 1 addition & 1 deletion scripts/svm/nativeDeposit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function nativeDeposit(): Promise<void> {
// Define the signer (replace with your actual signer)
const signer = (provider.wallet as anchor.Wallet).payer;

// Find ATA for the input token to be stored by state (vault). This was created when the route was enabled.
// Find ATA for the input token to be stored by state (vault).
const vault = getAssociatedTokenAddressSync(
inputToken,
statePda,
Expand Down
Loading