Skip to content

Commit b835658

Browse files
committed
Lint checker
1 parent f80761e commit b835658

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

lib/sui/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Create your own copy of `.env` file and edit it:
7676
```
7777
**NOTE:** The default VPC must have at least two public subnets in different Availability Zones, and public subnet must set `Auto-assign public IPv4 address` to `YES`.
7878

79-
The EC2 instance will deploy, initialize the node and start the first sync. In Cloudformation the instance will show as successful once the node is running. From that point it still takes a while until the node is synced to the blockchain. You can check the sync status with the REST call below in step 4. If the `curl cannot connect to the node on port 9000, then the node is still importing. Once that's done, the curl command works.
79+
The EC2 instance will deploy, initialize the node and start the first sync. In Cloudformation the instance will show as successful once the node is running. From that point it still takes a while until the node is synced to the blockchain. You can check the sync status with the REST call below in step 4. If the `curl cannot connect to the node on port 9000, then the node is still importing. Once that's done, the curl command works.
8080

8181
2. After starting the node you need to wait for the inital syncronization process to finish. It may take from an hour to half a day depending on the the state of the network. You can use Amazon CloudWatch to track the progress. To see them:
8282

@@ -152,7 +152,7 @@ The result should start like like this (the actual balance might change):
152152
pwd
153153
# Make sure you are in aws-blockchain-node-runners/lib/Sui
154154
aws ssm start-session --target $INSTANCE_ID
155-
155+
156156
```
157157

158158
3. Service Tools
@@ -182,7 +182,7 @@ Example:
182182
state-archive-read-config:
183183
- object-store-config:
184184
object-store: "S3"
185-
# Use mysten-testnet-archives for testnet
185+
# Use mysten-testnet-archives for testnet
186186
# Use mysten-mainnet-archives for mainnet
187187
bucket: "mysten-testnet-archives"
188188
# Use your AWS account access key id
@@ -209,8 +209,8 @@ sui-tool download-db-snapshot --latest \
209209
--skip-indexes \
210210
--no-sign-request
211211
212-
213-
Example:
212+
213+
Example:
214214
sudo sui-tool download-db-snapshot --latest --network testnet --path /data/sui/db/live --num-parallel-downloads 50 --skip-indexes --no-sign-request
215215
216216
```
@@ -231,5 +231,3 @@ curl --location --request POST 'https://fullnode.<Network_ID>.sui.io:443/' --hea
231231
```
232232
Enter your node's external IP at https://node.sui.zvalid.com/
233233
```
234-
235-

lib/sui/cdk.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@
5555
"@aws-cdk/aws-opensearchservice:enableOpensearchMultiAzWithStandby": true
5656
}
5757
}
58-

lib/sui/lib/assets/user-data/node.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ echo "Volume $volume is mounted and ready to use at $MOUNT_POINT_BASE"
122122

123123

124124
# Download Assets
125-
cd /opt #
125+
cd /opt #
126126
echo "Downloading assets zip file"
127127
aws s3 cp $ASSETS_S3_PATH ./assets.zip
128128
unzip -q assets.zip
@@ -143,7 +143,7 @@ systemctl status amazon-cloudwatch-agent
143143

144144

145145
# Download Sui artifacts
146-
cd $HOME
146+
cd $HOME
147147

148148
download_sui_binaries() {
149149
echo "Fetching tags for ${!NETWORK_ID}..."

lib/sui/lib/constructs/sui-node-security-group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ export interface SuiNodeSecurityGroupConstructProps {
3030

3131
this.securityGroup = sg
3232
}
33-
}
33+
}

0 commit comments

Comments
 (0)