-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Staked collateral #248
Staked collateral #248
Changes from 48 commits
2fd6e2c
74384fe
4065aea
9b4f5aa
d16dd06
2f12095
ae17eb8
dc6f55a
ef6c5a2
b37bc26
ac09ed9
79669f8
951af44
d4bd1f7
04856e3
011a172
4b08d98
e406b96
88b68dc
364034c
4489f7c
4751da9
8249881
530deb1
8a4261d
1c7dd35
5c7261e
3e0a0bd
fc853ed
2f1e1ca
1c1d22d
88b3f5c
73e74ce
62698c4
4d42c32
1128807
3338852
94e2a29
414f18a
16c98f5
b5e0b94
07d2f3d
64b9f00
8107742
4eece77
99e0768
8c5d59b
f711b76
259fd83
3a36bb8
60e02ae
e6fac42
d6e7a1a
85b3cd0
989f21c
907fa7e
2074ff6
de33b65
7d5fe37
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,10 @@ resolution = true | |
skip-lint = false | ||
|
||
[programs.localnet] | ||
liquidity_incentive_program = "Lip1111111111111111111111111111111111111111" | ||
# liquidity_incentive_program = "Lip1111111111111111111111111111111111111111" | ||
marginfi = "2jGhuVUuy3umdzByFx8sNWUAaf5vaeuDm78RDPEnhrMr" | ||
mocks = "5XaaR94jBubdbrRrNW7DtRvZeWvLhSHkEGU3jHTEXV3C" | ||
spl_single_pool = "SVSPxpvHdN29nkVg9rPapPNDddN5DipNLRUFhyjFThE" # cloned from solana-labs repo (see below) | ||
|
||
[programs.mainnet] | ||
liquidity_incentive_program = "LipsxuAkFkwa4RKNzn51wAsW7Dedzt1RNHMkTkDEZUW" | ||
|
@@ -19,15 +20,18 @@ marginfi = "MFv2hWf31Z9kbCa1snEPYctwafyhdvnV7FZnsebVacA" | |
url = "https://api.apr.dev" | ||
|
||
[provider] | ||
cluster = "localnet" | ||
# cluster = "https://devnet.rpcpool.com/" | ||
cluster = "Localnet" | ||
wallet = "~/.config/solana/id.json" | ||
|
||
# (remove RUST_LOG= to see bankRun logs) | ||
[scripts] | ||
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/*.spec.ts --exit --require tests/rootHooks.ts" | ||
test = "RUST_LOG= yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/*.spec.ts --exit --require tests/rootHooks.ts" | ||
|
||
# Staked collateral tests only | ||
# test = "RUST_LOG= yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/s*.spec.ts --exit --require tests/rootHooks.ts" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No comments in main There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any alternative location where they can stay? As the TS suite grows it can take several minutes to run and it's nice to have a documented method to run a portion of the suite. Most programs do not support running a portion of anchor tests, so generally people would be unfamiliar with that option unless it's documented. |
||
|
||
[test] | ||
startup_wait = 5000 | ||
startup_wait = 60000 | ||
shutdown_wait = 2000 | ||
upgradeable = false | ||
|
||
|
@@ -44,6 +48,16 @@ filename = "tests/fixtures/bonk_bank.json" | |
address = "4kNXetv8hSv9PzvzPZzEs1CTH6ARRRi2b8h6jk1ad1nP" | ||
filename = "tests/fixtures/cloud_bank.json" | ||
|
||
[[test.validator.account]] | ||
address = "Fe5QkKPVAh629UPP5aJ8sDZu8HTfe6M26jDQkKyXVhoA" | ||
filename = "tests/fixtures/pyusd_bank.json" | ||
|
||
[[test.validator.account]] | ||
address = "8FRFC6MoGGkMFQwngccyu69VnYbzykGeez7ignHVAFSN" | ||
filename = "tests/fixtures/localnet_usdc.json" | ||
|
||
# To update: | ||
# clone https://github.com/solana-labs/solana-program-library/tree/master and run cargo build-sbf in spl_single_pool | ||
[[test.genesis]] | ||
address = "SVSPxpvHdN29nkVg9rPapPNDddN5DipNLRUFhyjFThE" # spl single pool program | ||
program = "tests/fixtures/spl_single_pool.so" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No comments in main