diff --git a/web3.js/test/bpf-loader.test.js b/web3.js/test/bpf-loader.test.js index 68a25ab04e..4a461a8386 100644 --- a/web3.js/test/bpf-loader.test.js +++ b/web3.js/test/bpf-loader.test.js @@ -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], diff --git a/web3.js/test/fixtures/noop/build.sh b/web3.js/test/fixtures/noop/build.sh index 452c692194..0043703b15 100755 --- a/web3.js/test/fixtures/noop/build.sh +++ b/web3.js/test/fixtures/noop/build.sh @@ -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 . diff --git a/web3.js/test/fixtures/noop/noop.o b/web3.js/test/fixtures/noop/noop.o deleted file mode 100644 index 8967678736..0000000000 Binary files a/web3.js/test/fixtures/noop/noop.o and /dev/null differ diff --git a/web3.js/test/fixtures/noop/noop.so b/web3.js/test/fixtures/noop/noop.so new file mode 100755 index 0000000000..df281c1485 Binary files /dev/null and b/web3.js/test/fixtures/noop/noop.so differ