Skip to content

Commit 840cae6

Browse files
committed
pre-commit fixes
1 parent 37f09fb commit 840cae6

File tree

8 files changed

+17
-8
lines changed

8 files changed

+17
-8
lines changed

docs/pre-merge-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ npm run install-pre-commit-mac
4242
npm run run-pre-commit
4343
```
4444

45-
4. Optionally, run [shellcheck](https://github.com/koalaman/shellcheck) to check for common problems in your shell scripts.
45+
4. Optionally, run [shellcheck](https://github.com/koalaman/shellcheck) to check for common problems in your shell scripts.

lib/fantom/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ npm install
108108
nano .env
109109
```
110110
> **IMPORTANT**:
111-
> 1. By default we use the latest Fantom snapshot from [Fantom](https://snapshot.fantom.network/files/snapsync/latest/listtgzfiles.txt)
111+
> 1. By default we use the latest Fantom snapshot from [Fantom](https://snapshot.fantom.network/files/snapsync/latest/listtgzfiles.txt)
112112
113113
4. Deploy common components such as IAM role
114114

lib/fantom/lib/assets/fantom-checker/syncchecker-fantom.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
FANTOM_SYNC_STATS=$(su bcuser -c '/home/bcuser/go-opera/build/opera attach --datadir=/data --exec "ftm.syncing"')
66
# Syncing status results:
7-
#
7+
#
88
# { currentBlock: 37676547,
99
# currentBlockHash: "0x0001ab120000187fd8069d3a4f6501d48ad4800778f40a76d79cf02469272a43",
1010
# currentBlockTime: "0x16ec7a4b9a82ebfe",
@@ -14,7 +14,7 @@ FANTOM_SYNC_STATS=$(su bcuser -c '/home/bcuser/go-opera/build/opera attach --dat
1414
# knownStates: 0,
1515
# pulledStates: 0,
1616
# startingBlock: 0 }
17-
#
17+
#
1818
# Synced status results:
1919
#
2020
# false

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ sudo su -l bcuser -c "git clone https://github.com/Fantom-foundation/go-opera.gi
106106
git checkout release/1.1.3-rc.5 && \
107107
make"
108108

109-
109+
110110
echo 'Configuring FANTOM Node service as a system service'
111111
# Copy startup script to correct location
112112
if [[ "$FANTOM_NODE_TYPE" == "read" ]]; then

lib/fantom/lib/ha-nodes-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class FantomHANodesStack extends cdk.Stack {
8585
_LIFECYCLE_HOOK_NAME_: lifecycleHookName,
8686
_AUTOSCALING_GROUP_NAME_: autoScalingGroupName
8787
});
88-
88+
8989
// Use Ubuntu 22.04 LTS image for amd64. Find more: https://discourse.ubuntu.com/t/finding-ubuntu-images-with-the-aws-ssm-parameter-store/15507
9090
const ubuntu2204stableImageSsmName = "/aws/service/canonical/ubuntu/server/22.04/stable/current/amd64/hvm/ebs-gp2/ami-id"
9191

lib/fantom/lib/single-node-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class FantomSingleNodeStack extends cdk.Stack {
6565

6666
// Making sure our instance will be able to read the assets
6767
asset.bucket.grantRead(instanceRole);
68-
68+
6969
// Use Ubuntu 22.04 LTS image for amd64. Find more: https://discourse.ubuntu.com/t/finding-ubuntu-images-with-the-aws-ssm-parameter-store/15507
7070
const ubuntu2204stableImageSsmName = "/aws/service/canonical/ubuntu/server/22.04/stable/current/amd64/hvm/ebs-gp2/ami-id"
7171

lib/wax/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ The [AWS CDK stack](https://github.com/worldwide-asset-exchange/wax-aws-cdk) has
1919
- [Victoria Metrics](https://victoriametrics.com/), a time series database for storing the metrics from Telegraf and WAX nodes
2020
- A [Grafana dashboard](https://grafana.com/) to display key system and blockchain metrics from CPU and disc usage to synced blocks and sync difference
2121
3. By default, all API ports, including the one for the Grafana web user interface, are available only to IP addresses from within the same VPC.
22-
4. The logs of the WAX node are published to Amazon CloudWatch.
22+
4. The logs of the WAX node are published to Amazon CloudWatch.

website/docs/Blueprints/Fantom.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
sidebar_position: 2
3+
sidebar_label: Fantom
4+
---
5+
#
6+
7+
import Readme from '../../../lib/fantom/README.md';
8+
9+
<Readme />

0 commit comments

Comments
 (0)