Skip to content

Commit 9088715

Browse files
committed
Merge branch 'main' into bsc
2 parents 23c69c9 + 01d3c69 commit 9088715

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

lib/solana/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Create your own copy of `.env` file and edit it to update with your AWS Account
129129
```bash
130130
pwd
131131
# Make sure you are in aws-blockchain-node-runners/lib/solana
132+
npm i --save-dev @types/node
132133
npx cdk deploy solana-common
133134
```
134135

@@ -149,7 +150,7 @@ Create your own copy of `.env` file and edit it to update with your AWS Account
149150

150151
```bash
151152
INSTANCE_ID=$(cat single-node-deploy.json | jq -r '..|.nodeinstanceid? | select(. != null)')
152-
NODE_INTERNAL_IP=$(aws ec2 describe-instances --instance-ids $INSTANCE_ID --query 'Reservations[*].Instances[*].PublicIpAddress' --output text)
153+
NODE_INTERNAL_IP=$(aws ec2 describe-instances --instance-ids $INSTANCE_ID --query 'Reservations[*].Instances[*].PrivateIpAddress' --output text)
153154
# We query token balance this account: https://solanabeach.io/address/9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM
154155
curl http://$NODE_INTERNAL_IP:8899 -X POST -H "Content-Type: application/json" \
155156
--data '{ "jsonrpc": "2.0", "id": 1, "method": "getBalance", "params": ["9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"]}'

lib/solana/sample-configs/.env-sample-baserpc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AWS_REGION="us-east-2"
99
## Common configuration parameters ##
1010
SOLANA_CLUSTER="mainnet-beta" # All options: "mainnet-beta", "testnet", "devnet"
1111
SOLANA_NODE_CONFIGURATION="baserpc" # All options: "consensus", "baserpc", "extendedrpc"
12-
SOLANA_VERSION="1.17.20" # Current required version of Solana
12+
SOLANA_VERSION="1.17.22" # Latest required version of Solana. Check for latest Mainnet version https://github.com/solana-labs/solana/releases
1313

1414
SOLANA_INSTANCE_TYPE="r6a.8xlarge"
1515
SOLANA_CPU_TYPE="x86_64" # All options: "x86_64", "ARM_64". IMPORTANT: Make sure the CPU type matches the instance type used

lib/solana/sample-configs/.env-sample-consensus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AWS_REGION="us-east-2"
99
## Common configuration parameters ##
1010
SOLANA_CLUSTER="mainnet-beta" # All options: "mainnet-beta", "testnet", "devnet"
1111
SOLANA_NODE_CONFIGURATION="consensus" # All options: "consensus", "baserpc", "extendedrpc"
12-
SOLANA_VERSION="1.17.20" # Current required version of Solana
12+
SOLANA_VERSION="1.17.22" # Latest required version of Solana. Check for latest Mainnet version https://github.com/solana-labs/solana/releases
1313

1414
SOLANA_INSTANCE_TYPE="r6a.8xlarge"
1515
SOLANA_CPU_TYPE="x86_64" # All options: "x86_64", "ARM_64". IMPORTANT: Make sure the CPU type matches the instance type used

lib/solana/sample-configs/.env-sample-extendedrpc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AWS_REGION="us-east-2"
99
## Common configuration parameters ##
1010
SOLANA_CLUSTER="mainnet-beta" # All options: "mainnet-beta", "testnet", "devnet"
1111
SOLANA_NODE_CONFIGURATION="extendedrpc" # All options: "consensus", "baserpc", "extendedrpc"
12-
SOLANA_VERSION="1.17.20" # Current required version of Solana
12+
SOLANA_VERSION="1.17.22" # Latest required version of Solana. Check for latest Mainnet version https://github.com/solana-labs/solana/releases
1313

1414
SOLANA_INSTANCE_TYPE="x2idn.16xlarge"
1515
SOLANA_CPU_TYPE="x86_64" # All options: "x86_64", "ARM_64". IMPORTANT: Make sure the CPU type matches the instance type used

0 commit comments

Comments
 (0)