chore: Update to test-sbf
This commit is contained in:
parent
802efdd201
commit
42b6c04858
|
@ -68,5 +68,5 @@ jobs:
|
||||||
echo "Generating keypair..."
|
echo "Generating keypair..."
|
||||||
solana-keygen new -o "$HOME/.config/solana/id.json" --no-passphrase --silent
|
solana-keygen new -o "$HOME/.config/solana/id.json" --no-passphrase --silent
|
||||||
|
|
||||||
- name: Run bpf tests
|
- name: Run sbf tests
|
||||||
run: cargo test-bpf
|
run: cargo test-sbf
|
||||||
|
|
|
@ -34,7 +34,7 @@ Users can:
|
||||||
|
|
||||||
## Rust
|
## Rust
|
||||||
* Built and developed using - rust stable(`rustc 1.57.0 (f1edd0429 2021-11-29)`)
|
* 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`
|
* `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`
|
* To install the typescript client, do - `yarn add @blockworks-foundation/voter-stake-registry-client`
|
||||||
* usage
|
* usage
|
||||||
|
|
|
@ -17,7 +17,7 @@ no-idl = []
|
||||||
cpi = ["no-entrypoint"]
|
cpi = ["no-entrypoint"]
|
||||||
default = []
|
default = []
|
||||||
localnet = []
|
localnet = []
|
||||||
test-bpf = []
|
test-sbf = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# a) for deployment use these
|
# a) for deployment use these
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
cargo test-bpf
|
cargo test-sbf
|
Loading…
Reference in New Issue