File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
programs/whirlpool/src/constants Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @orca-so/whirlpools-program " : patch
3+ ---
4+
5+ Improve repository setup
Original file line number Diff line number Diff line change 4141 steps :
4242 - name : Checkout repository
4343 uses : actions/checkout@v5
44+ - name : Remove Unnecessary Files
45+ uses : ./.github/actions/cleanup
4446 - name : Setup Anchor
4547 uses : ./.github/actions/anchor
4648 - name : Install dependencies
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use anchor_lang::prelude::*;
22
33pub mod whirlpool_nft_update_auth {
44 use super :: * ;
5- declare_id ! ( "3axbTs2z5GBy6usVbNVoqEgZMng3vZvMnAoX29BFfwhr" ) ;
5+ pub static ID : Pubkey = solana_program :: pubkey !( "3axbTs2z5GBy6usVbNVoqEgZMng3vZvMnAoX29BFfwhr" ) ;
66}
77
88// Based on Metaplex TokenMetadata
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ echo "Detected: $OS"
2828if [[ " $OS " == " Linux" ]]; then
2929 echo " === Updating system packages (Linux) ==="
3030 sudo apt-get update && sudo apt-get upgrade -y
31- sudo apt-get install -y build-essential pkg-config libssl-dev curl git
31+ sudo apt-get install -y build-essential pkg-config libudev-dev libssl-dev curl git
3232elif [[ " $OS " == " Mac" ]]; then
3333 echo " === Installing Xcode Command Line Tools ==="
3434 xcode-select --install || true
@@ -73,5 +73,8 @@ rustup default ${RUST_VERSION_FOR_PROJECT}
7373cd " $REPO_ROOT "
7474yarn install
7575yarn build
76+ # NOTE: without this, most of the auto-generated code in `ts-sdk/client` is shown as unstaged,
77+ # even though there are no meaningful changes
78+ yarn format
7679
7780echo " === Setup complete ==="
You can’t perform that action at this time.
0 commit comments