Skip to content

Commit

Permalink
Acammm/upgrade anchor 0.21.0 (cherry picking @cnek work) (#120)
Browse files Browse the repository at this point in the history
* Updgrade anchor version

* updated anchor

* Updated Anchor + use new ci program due to layout change between last rebalancing implementation

* And use a new program ID

* Please Clippy and fmt

* Add back some prints + cleanup old ones

* Fix cargo.toml

* Update IDL and uxd-client

* fmt

Co-authored-by: cnek <[email protected]>
  • Loading branch information
acamill and cnek authored Feb 17, 2022
1 parent ecea6c0 commit fa2d68d
Show file tree
Hide file tree
Showing 41 changed files with 757 additions and 430 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-anchor-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
BANK_WALLET_PATH: "./target/deploy/bank-keypair.json"
CI_DEPLOYMENT_AUTHORITY_WALLET_PATH: "./target/deploy/ci-resident-upgrade-authority.json"
# This program stays deployed to test over time
# RESIDENT_PROGRAM_ID: CXzEE9YjFgw3Ggz2r1oLHqJTd4mpzFWRKm9fioTjpk45
# RESIDENT_PROGRAM_ID: CV7cWGP9gYkVBBEmyRLpp5kw9KPpJvUkwPVdtSH9Fen8
RESIDENT_PROGRAM_KEYPAIR: ./target/deploy/ci-resident-keypair.json # another way to get the ID
# Accounts used to MM on mango market
MANGO_ACCOUNT_MM_SOL: "8fbL4156uoVYYyY9cvA6hVBBTdui9356tdKmFbkC6t6w"
Expand Down
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"mngo",
"mochawesome",
"NPMRC",
"oustanding",
"permissionless",
"permissionned",
"Perp",
Expand All @@ -38,6 +39,7 @@
"QUOTEPASSTHROUGH",
"rebalance",
"rebalancing",
"redeemables",
"repr",
"rustfmt",
"rustup",
Expand Down
2 changes: 1 addition & 1 deletion Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ wallet = "~/.config/solana/id.json"
uxd = "UXD8m9cvwk4RcSxnX2HZ9VudQCEeDH6fRnB4CAP57Dr"

[programs.devnet]
uxd = "8zR9UHeX61RAVux5jtdhDo2UFZ4ydudxu957e7M9yp7e"
uxd = "F3UToS4WKQkyAAs5TwM21ANq2xNfDRB7tGRWx4DxapaR"

[registry]
url = "https://anchor.projectserum.com"
Expand Down
Loading

0 comments on commit fa2d68d

Please sign in to comment.