Skip to content

Refactor to broadly use local vars - #2900

Open
yorickdowne wants to merge 2 commits into
ethstaker:mainfrom
yorickdowne:chore/more-locals
Open

yorickdowne wants to merge 2 commits into
ethstaker:mainfrom
yorickdowne:chore/more-locals

Conversation

@yorickdowne

@yorickdowne yorickdowne commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

What I did

__get_value_from_env can write into local variables because of bash dynamic scoping

Adjust ethd code to use locals much more broadly.

Where globals pass values between functions or are used to write into .env, they are kept.

Document when to use globals

@yorickdowne yorickdowne added check-ethd check-ethd-macos Full Docker run on macOS Intel for ethd update labels Oct 6, 2026
@yorickdowne
yorickdowne requested a review from pietjepuk2 October 6, 2026 06:18
@yorickdowne
yorickdowne force-pushed the chore/more-locals branch 3 times, most recently from 3c61c3b to b00550e Compare October 6, 2026 06:33
@yorickdowne yorickdowne added check-ethd-macos Full Docker run on macOS Intel for ethd update and removed check-ethd-macos Full Docker run on macOS Intel for ethd update labels Oct 6, 2026
@yorickdowne yorickdowne removed the check-ethd-macos Full Docker run on macOS Intel for ethd update label Oct 6, 2026
@yorickdowne

Copy link
Copy Markdown
Collaborator Author

macOS check keeps timing out while installing homebrow pre-reqs. The days of checking ethd on macOS may be over

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.

1 participant