Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 1bcc5c0

Browse files
Reduce airdrop to fit in current testnet/devnet limits (#541)
1 parent 94861a3 commit 1bcc5c0

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

token/js/cli/token-test.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,7 @@ export async function loadTokenProgram(): Promise<void> {
128128

129129
export async function createMint(): Promise<void> {
130130
const connection = await getConnection();
131-
const payer = await newAccountWithLamports(
132-
connection,
133-
100000000000 /* wag */,
134-
);
131+
const payer = await newAccountWithLamports(connection, 1000000000 /* wag */);
135132
testMintAuthority = new Account();
136133
testToken = await Token.createMint(
137134
connection,
@@ -529,11 +526,8 @@ export async function nativeToken(): Promise<void> {
529526
const connection = await getConnection();
530527
// this user both pays for the creation of the new token account
531528
// and provides the lamports to wrap
532-
const payer = await newAccountWithLamports(
533-
connection,
534-
100000000000 /* wag */,
535-
);
536-
const lamportsToWrap = 50000000000;
529+
const payer = await newAccountWithLamports(connection, 2000000000 /* wag */);
530+
const lamportsToWrap = 1000000000;
537531

538532
const token = new Token(connection, NATIVE_MINT, programId, payer);
539533
const owner = new Account();

0 commit comments

Comments
 (0)