Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
paths:
- 'sdk/**'
env:
solana_version: '1.14.13'
anchor_version: '0.21.0'
solana_version: '1.18.17'
anchor_version: '0.30.1'

jobs:
install:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@ on:
branches:
- master
env:
solana_version: '1.14.13'
anchor_version: '0.21.0'
solana_version: '1.18.17'
anchor_version: '0.30.1'

jobs:
install:
runs-on: ubuntu-latest
strategy:
matrix:
case:
[
case: [
'npm run test:swap',
'npm run test:multiple-swap',
'npm run test:cross',
Expand All @@ -28,38 +27,39 @@ jobs:
'npm run test:position',
'npm run test:math',
'npm run test:withdraw',
'npm run test:withdraw-staker',
# 'npm run test:withdraw-staker',
'npm run test:position-list',
'npm run test:claim',
'npm run test:random',
'npm run test:simulate-claim-amount',
'npm run test:math-staker',
# 'npm run test:math-staker',
'npm run test:cu',
'npm run test:init-both',
'npm run test:change-protocol-fee',
'npm run test:tickmap',
'npm run test:change-fee-receiver',
'npm run test:whole-liquidity',
'npm run test:position-change',
# 'npm run test:position-change',
'npm run test:protocol-fee',
'npm run test:target',
'npm run test:slippage',
'npm run test:position-slippage',
'npm run test:fee-tier',
'npm run test:big-swap',
'npm run test:create',
'npm run test:stake',
'npm run test:multicall',
# 'npm run test:create',
# 'npm run test:stake',
# 'npm run test:multicall',
'npm run test:oracle',
'npm run test:limits',
'npm run test:compare',
'npm run test:max-tick-cross',
'npm run test:close-stake',
# 'npm run test:close-stake',
'cargo test',
'npm run test:referral-default',
'npm run test:referral-all',
'npm run test:referral-none',
'npm run test:referral-jupiter',
'npm run test:token2022',
'cargo test --features "all"',
'cargo test --features "none"',
'cargo test --features "jupiter"'
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
node-version: '18'
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: 1.79
override: true
- name: install global mocha
run: |
Expand Down
2 changes: 1 addition & 1 deletion .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*out
*out
10 changes: 6 additions & 4 deletions Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ cluster = "localnet"
wallet = "~/.config/solana/id.json"

[workspace]
members = ["programs/invariant", "programs/staker"]
members = ["programs/invariant",
# "programs/staker"
]

[programs.localnet]
invariant = "HyaB3W9q6XdA5xwpU4XnSZV94htfmbmqJXZcEbRaJutt"
invariant = "5KLfYtAYvUchvTg8jb27eYgeRXLjPPsa9DqwjJJuYGQJ"
staker = "MJ6WF1tpEJ7Gk8ULqejDJapRfqBwBEp1dH5QvAgYxu9"

[programs.devnet]
invariant = "D8Xd5VFXJeANivc4LXEzYqiE8q2CGVbjym5JiynPCP6J"
invariant = "5KLfYtAYvUchvTg8jb27eYgeRXLjPPsa9DqwjJJuYGQJ"

[scripts]
test = "ts-mocha -p ./tsconfig.json -t 1000000"
test = "ts-mocha -p ./tsconfig.json -t 1000000"
Loading