From 42b6c048580e7f16dc28df355cce303b163a7e0f Mon Sep 17 00:00:00 2001 From: Sebastian Bor Date: Wed, 21 Dec 2022 13:35:58 +0000 Subject: [PATCH] chore: Update to test-sbf --- .github/workflows/ci-lint-test.yml | 4 ++-- README.md | 2 +- programs/voter-stake-registry/Cargo.toml | 2 +- run-test.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-lint-test.yml b/.github/workflows/ci-lint-test.yml index f63aa9c..efdb9fb 100644 --- a/.github/workflows/ci-lint-test.yml +++ b/.github/workflows/ci-lint-test.yml @@ -68,5 +68,5 @@ jobs: echo "Generating keypair..." solana-keygen new -o "$HOME/.config/solana/id.json" --no-passphrase --silent - - name: Run bpf tests - run: cargo test-bpf + - name: Run sbf tests + run: cargo test-sbf diff --git a/README.md b/README.md index 9089728..724aa11 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Users can: ## Rust * Built and developed using - rust stable(`rustc 1.57.0 (f1edd0429 2021-11-29)`) -* Run rust based tests - `cargo test-bpf` +* Run rust based tests - `cargo test-sbf` * `run-generate-anchor-types.sh` generates latest anchor types file and writes to `./voter_stake_registry.ts` * To install the typescript client, do - `yarn add @blockworks-foundation/voter-stake-registry-client` * usage diff --git a/programs/voter-stake-registry/Cargo.toml b/programs/voter-stake-registry/Cargo.toml index fec9736..05a9d80 100644 --- a/programs/voter-stake-registry/Cargo.toml +++ b/programs/voter-stake-registry/Cargo.toml @@ -17,7 +17,7 @@ no-idl = [] cpi = ["no-entrypoint"] default = [] localnet = [] -test-bpf = [] +test-sbf = [] [dependencies] # a) for deployment use these diff --git a/run-test.sh b/run-test.sh index a921b32..0be49e7 100755 --- a/run-test.sh +++ b/run-test.sh @@ -2,4 +2,4 @@ set -euo pipefail -cargo test-bpf \ No newline at end of file +cargo test-sbf \ No newline at end of file