From 17ce3bb34a9084ab645cf4c696fbaeb22314b3f9 Mon Sep 17 00:00:00 2001 From: Reinis Martinsons Date: Thu, 17 Apr 2025 14:01:49 +0000 Subject: [PATCH] fix(svm): N-02 clarify documentation Signed-off-by: Reinis Martinsons --- scripts/svm/createVault.ts | 2 +- scripts/svm/nativeDeposit.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/svm/createVault.ts b/scripts/svm/createVault.ts index bc46a5256..05ded1722 100644 --- a/scripts/svm/createVault.ts +++ b/scripts/svm/createVault.ts @@ -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. diff --git a/scripts/svm/nativeDeposit.ts b/scripts/svm/nativeDeposit.ts index 9ff23601f..d86f11e26 100644 --- a/scripts/svm/nativeDeposit.ts +++ b/scripts/svm/nativeDeposit.ts @@ -65,7 +65,7 @@ async function nativeDeposit(): Promise { // 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,