Skip to content

Commit 7fc9820

Browse files
committed
Add/Update readme for test-contract
1 parent eb7f5aa commit 7fc9820

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

pyth-sdk-solana/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,3 @@ product_account .. 6MEwdxe4g1NeAF9u6KDG14anJpFsVEa2cvr5H6iriFZ8
181181
This library can be built for either your native platform or in BPF (used by Solana programs).
182182
Use `cargo build` / `cargo test` to build and test natively.
183183
Use `cargo build-bpf` / `cargo test-bpf` to build in BPF for Solana; these commands require you to have installed the [Solana CLI tools](https://docs.solana.com/cli/install-solana-cli-tools).
184-
185-
The BPF tests will also run an instruction count program that logs the resource consumption
186-
of various library functions.
187-
This program can also be run on its own using `cargo test-bpf --test instruction_count`.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Pyth SDK Solana Test Contract
2+
This contract is used to test pyth-sdk-solana onchain.
3+
4+
## Development
5+
Use `cargo build-bpf` / `cargo test-bpf` to build in BPF for Solana; these commands require you to have installed the [Solana CLI tools](https://docs.solana.com/cli/install-solana-cli-tools).
6+
7+
The BPF tests will also run an instruction count program that logs the resource consumption
8+
of various library functions.
9+
This program can also be run on its own using `cargo test-bpf --test instruction_count`.

0 commit comments

Comments
 (0)