chore: use latest validator version
This commit is contained in:
parent
48e104b3a6
commit
dd7deb8d2b
|
@ -16,7 +16,7 @@ fi
|
|||
|
||||
if ! hash solana 2>/dev/null; then
|
||||
echo Installing Solana tool suite ...
|
||||
curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v1.5.8/install/solana-install-init.sh | SOLANA_RELEASE=v1.5.8 sh -s - v1.5.8
|
||||
curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v1.13.3/install/solana-install-init.sh | SOLANA_RELEASE=v1.13.3 sh -s - v1.13.3
|
||||
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
|
||||
if [ ! -f ~/.config/solana/id.json ]; then
|
||||
echo Generating keypair ...
|
||||
|
@ -29,7 +29,7 @@ solana config set --url "http://127.0.0.1:8899"
|
|||
curl -s -L "https://github.com/serum-community/serum-dex/releases/download/v2/serum_dex-$os_type.so" > serum_dex.so
|
||||
sleep 1
|
||||
solana airdrop 10000
|
||||
DEX_PROGRAM_ID="$(solana deploy --use-deprecated-loader serum_dex.so | jq .programId -r)"
|
||||
DEX_PROGRAM_ID="$(solana deploy serum_dex.so --output json | jq .programId -r)"
|
||||
echo DEX_PROGRAM_ID: "$DEX_PROGRAM_ID"
|
||||
curl -s -L "https://github.com/serum-community/serum-dex/releases/download/v2/crank-$os_type" > crank
|
||||
chmod +x crank
|
||||
|
|
Loading…
Reference in New Issue