block test

This commit is contained in:
aniketfuryrocks 2023-03-03 19:31:20 +05:30
parent d003798a50
commit 634cfd8a29
No known key found for this signature in database
GPG Key ID: FA6BFCFAA7D4B764
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import * as os from "os";
jest.setTimeout(60000);
const MEMO_PROGRAM_ID = new PublicKey("MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr");
const connection = new Connection('http://0.0.0.0:8890', 'finalized');
const connection = new Connection('http://0.0.0.0:8890', 'confirmed');
const keypair_file = fs.readFileSync(`${os.homedir}/.config/solana/id.json`, 'utf-8');
const payer = Keypair.fromSecretKey(Uint8Array.from(JSON.parse(keypair_file)));