chore: Update to test-sbf

This commit is contained in:
Sebastian Bor 2022-12-21 13:35:58 +00:00
parent 802efdd201
commit 42b6c04858
4 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

@ -17,7 +17,7 @@ no-idl = []
cpi = ["no-entrypoint"]
default = []
localnet = []
test-bpf = []
test-sbf = []
[dependencies]
# a) for deployment use these

View File

@ -2,4 +2,4 @@
set -euo pipefail
cargo test-bpf
cargo test-sbf