Skip to content

Conversation

@yorickdowne
Copy link
Collaborator

@yorickdowne yorickdowne commented Dec 31, 2025

What I did

Changed the awk code to handle multi-line single-quote entries, like

STATIC_PEERS='[
  "enode:something",
  "enode:thatthing"
]
'

This pattern is not in use with Eth Docker, but valid. This is adapted from Linea Docker, where the pattern is in use

Main concern: Touching awk code is tricky. I didn't write it to begin with, AI did. And I didn't write this adjustment, AI did.

@yorickdowne
Copy link
Collaborator Author

I tested this on an .env with:

  • Empty var
  • Single-line no quotes
  • Single-line single-quote
  • Single-line double-quote
  • Multi-line single-quote
  • Multi-line double-quote
  • Comments

And everything came over fine, with just the ENV_VERSION being changed

@yorickdowne yorickdowne merged commit eabd40d into ethstaker:main Jan 4, 2026
306 checks passed
@yorickdowne yorickdowne deleted the env-single-quote branch January 4, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants