Skip to content

Conversation

@mcintyre94
Copy link
Contributor

We instead use a read stream to process the file in chunks

This avoids a bug where when validator.log gets too big locally the fs.readFileSync would fail

Fixes #1517

@mcintyre94 mcintyre94 requested a review from buffalojoec August 10, 2023 10:26
Copy link
Contributor

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid fix mate, nicely done

We instead use a read stream to process the file in chunks
@mcintyre94 mcintyre94 merged commit 954995a into solana-foundation:master Aug 10, 2023
@mcintyre94 mcintyre94 deleted the genesis-hash-fixup branch August 10, 2023 15:12
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.78.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error running get-genesis-hash-test locally on long-running validator

3 participants