BREAKING CHANGE: requires Solana version v0.13.0 or greater
feat: Update to current solana tx format
This commit is contained in:
committed by
Michael Vines
parent
853ea88fd0
commit
efd0392706
@ -28,7 +28,7 @@ test('load BPF program', async () => {
|
||||
const data = await fs.readFile('test/fixtures/noop/noop.so');
|
||||
const programId = await BpfLoader.load(connection, from, data);
|
||||
const transaction = new Transaction().add({
|
||||
keys: [from.publicKey],
|
||||
keys: [{pubkey: from.publicKey, isSigner: true}],
|
||||
programId,
|
||||
});
|
||||
await sendAndConfirmTransaction(connection, transaction, from);
|
||||
|
Reference in New Issue
Block a user