Skip to content

fix: quote variables to prevent word-splitting (SC2086)#1097

Open
okwn wants to merge 4 commits into
base:mainfrom
okwn:contrib/shellcheck-sc2086-fix
Open

fix: quote variables to prevent word-splitting (SC2086)#1097
okwn wants to merge 4 commits into
base:mainfrom
okwn:contrib/shellcheck-sc2086-fix

Conversation

@okwn
Copy link
Copy Markdown

@okwn okwn commented May 22, 2026

Summary

Fixes SC2086 ShellCheck warnings in execution-entrypoint by properly quoting variables to prevent word splitting.

Changes

  • $ADDITIONAL_ARGS"${ADDITIONAL_ARGS}"" when appending pruning args
  • $RETH_FB_WEBSOCKET_URL"${RETH_FB_WEBSOCKET_URL}"" in Flashblocks conditional

These changes prevent potential word-splitting issues if variables contain whitespace.

okwn added 4 commits May 21, 2026 22:27
…mpose

Addresses issues base#1054 and base#1045 - if either the consensus client or
execution client crashes, supervisord will now automatically restart it
without requiring manual operator intervention.

Also adds a healthcheck to the execution service so docker compose ps
accurately reflects service health rather than always showing healthy.
The consensus service (port 7545) is mapped in docker-compose.yml, but
.env.mainnet and .env.sepolia did not define BASE_NODE_RPC_PORT, so the
consensus RPC was unreachable from the host on the expected mapped port.

Fixes issue base#1088.
Quotes unquoted variables in execution-entrypoint to comply with ShellCheck
SC2086 (double quoting to prevent word splitting). Fixes:
- $ADDITIONAL_ARGS when appending pruning args
- $RETH_FB_WEBSOCKET_URL in the Flashblocks conditional
@cb-heimdall
Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants