Skip to content

Conversation

@vtamara
Copy link

@vtamara vtamara commented Feb 11, 2025

The paramter -c in head is specific to GNU head but not of POSIX https://pubs.opengroup.org/onlinepubs/9699919799/utilities/head.html
And at least it doesn't work on OpenBSD/adJ.

This patch implements a more portable way to extract first 32 bytes of a sequence.

Copy link

@piersy piersy left a comment

Choose a reason for hiding this comment

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

HI @vtamara, thank you for this!

@piersy piersy merged commit 8ff1c64 into celo-org:main Feb 11, 2025
@vtamara vtamara deleted the first32portable branch February 11, 2025 15:58
@vtamara
Copy link
Author

vtamara commented Feb 11, 2025

Welcome, thanks for you work. With my branch https://github.com/vtamara/celo-l2-node-docker-compose/tree/outside-docker I was able to run op-geth withouth Docker on OpenBSD/adJ and on Linux.

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