fix: bpf programs are now shared objects
This commit is contained in:
parent
83d79afb96
commit
6b3eeb5504
|
@ -25,7 +25,7 @@ test('load BPF program', async () => {
|
|||
|
||||
const connection = new Connection(url);
|
||||
const from = await newAccountWithTokens(connection, 1024);
|
||||
const data = await fs.readFile('test/fixtures/noop/noop.o');
|
||||
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],
|
||||
|
|
|
@ -4,4 +4,4 @@ set -ex
|
|||
cd "$(dirname "$0")"
|
||||
|
||||
make -C ../../../examples/bpf-c-noop/
|
||||
cp ../../../examples/bpf-c-noop/out/noop.o .
|
||||
cp ../../../examples/bpf-c-noop/out/noop.so .
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue