forked from solana-labs/solana-program-library
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
424 additions
and
73 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Running: cargo-build-bpf --manifest-path /root/repos/solana-program-library/token-lending/program/Cargo.toml --bpf-out-dir /root/repos/solana-program-library/target/deploy | ||
BPF SDK: /root/.local/share/solana/install/releases/1.8.16/solana-release/bin/sdk/bpf | ||
cargo-build-bpf child: rustup toolchain list -v | ||
cargo-build-bpf child: cargo +bpf build --target bpfel-unknown-unknown --release | ||
cargo-build-bpf child: /root/.local/share/solana/install/releases/1.8.16/solana-release/bin/sdk/bpf/dependencies/bpf-tools/llvm/bin/llvm-readelf --dyn-symbols /root/repos/solana-program-library/target/deploy/spl_token_lending.so | ||
|
||
To deploy this program: | ||
$ solana program deploy /root/repos/solana-program-library/target/deploy/spl_token_lending.so | ||
The program address will default to this keypair (override with --program-id): | ||
/root/repos/solana-program-library/target/deploy/spl_token_lending-keypair.json | ||
Running: /root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo test --manifest-path /root/repos/solana-program-library/token-lending/program/Cargo.toml --test borrow_obligation_liquidity --features test-bpf | ||
|
||
running 5 tests | ||
test test_borrow_too_large ... ok | ||
test test_borrow_usdc_fixed_amount ... FAILED | ||
test test_borrow_sol_max_amount ... ok | ||
test test_borrow_max_reserves ... ok | ||
test test_borrow_limit ... ok | ||
|
||
failures: | ||
|
||
---- test_borrow_usdc_fixed_amount stdout ---- | ||
thread 'test_borrow_usdc_fixed_amount' panicked at 'assertion failed: banks_client.process_transaction(transaction).await.is_ok()', token-lending/program/tests/borrow_obligation_liquidity.rs:120:5 | ||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | ||
|
||
|
||
failures: | ||
test_borrow_usdc_fixed_amount | ||
|
||
test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.93s | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.