Skip to content

Commit a0df871

Browse files
committed
Ethereum. Fixes for quality control after refactoring.
1 parent 938dfeb commit a0df871

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

lib/ethereum/lib/assets/node/docker-compose-reth-lighthouse.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ services:
1818
--http.api "admin,eth,web3,txpool,net,debug,trace,reth"
1919
--ws
2020
--ws.port 8546
21-
21+
2222
volumes:
2323
- /secrets:/root/jwt
2424
- /data/execution/data:/root/.local/share/reth
2525
stop_signal: SIGTERM
2626
stop_grace_period: 8m
2727
security_opt:
2828
- no-new-privileges:true
29+
read_only: true
2930
ports:
3031
# Map the p2p port(30303), RPC HTTP port(8545), RPC WS port (8546), and engine port (8551)
3132
- "8545:8545"

lib/ethereum/lib/assets/user-data-alinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ sed -i 's,__ETH_CONSENSUS_CHECKPOINT_SYNC_URL__,'"$ETH_CONSENSUS_CHECKPOINT_SYNC
134134
chown -R bcuser:bcuser /home/bcuser/docker-compose.yml
135135

136136
echo "Configuring and starting sync-checker"
137-
/opt/sync-checker/setup.sh "/opt/sync-checker/$SYNC_CHECKER_FILE_NAME"
137+
/opt/sync-checker/setup.sh "/opt/sync-checker/$SYNC_CHECKER_FILE_NAME"
138138

139139
# If in Single Node stack (have Stack ID), configuring ClodFormation helpers to signal the completion of deployment"
140140
if [[ "$STACK_ID" != "none" ]]; then

lib/ethereum/lib/common-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class EthCommonStack extends cdk.Stack {
6363
actions: ["s3:ListBucket", "s3:*Object"],
6464
})
6565
);
66-
66+
6767
const s3VPCEndpoint = vpc.addGatewayEndpoint("s3-vpc-endpoint", {
6868
service: ec2.GatewayVpcEndpointAwsService.S3,
6969
});

lib/ethereum/lib/rpc-nodes-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class EthRpcNodesStack extends cdk.Stack {
7171
// Getting the snapshot bucket name and IAM role ARN from the common stack
7272
const importedInstanceRoleArn = cdk.Fn.importValue("NodeInstanceRoleArn");
7373
let snapshotBucketName;
74-
74+
7575
if (snapshotType === "s3") {
7676
snapshotBucketName = cdk.Fn.importValue("NodeSnapshotBucketName");
7777
}

0 commit comments

Comments
 (0)