Skip to content

Commit 62912e9

Browse files
committed
improve initial setup
1 parent 7b9d4a1 commit 62912e9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

programs/whirlpool/src/constants/nft.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use anchor_lang::prelude::*;
22

33
pub 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

scripts/setup.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ echo "Detected: $OS"
2828
if [[ "$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
3232
elif [[ "$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}
7373
cd "$REPO_ROOT"
7474
yarn install
7575
yarn build
76+
# NOTE: without this, most of the auto-generated code in `ts-sdk/client` be shown as unstaged
77+
# even though there are no meaningful changes
78+
yarn format
7679

7780
echo "=== Setup complete ==="

0 commit comments

Comments
 (0)