fix: bpf programs are now shared objects

This commit is contained in:
Michael Vines 2018-12-05 10:45:38 -08:00
parent 83d79afb96
commit 6b3eeb5504
4 changed files with 2 additions and 2 deletions

View File

@ -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],

View File

@ -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.

BIN
web3.js/test/fixtures/noop/noop.so vendored Executable file

Binary file not shown.