Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing import in celo-migrate/main.go #305

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

piersy
Copy link

@piersy piersy commented Feb 4, 2025

Looks like this was missed on the last PR for the celo-migrate tool.

Copy link
Collaborator

@palango palango left a comment

Choose a reason for hiding this comment

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

I wonder hwo this even got green for merging 🤔

@palango palango merged commit 5bde0ae into celo10 Feb 4, 2025
43 of 56 checks passed
@palango palango deleted the piersy/celo-migrate-compile-error branch February 4, 2025 15:40
palango added a commit that referenced this pull request Feb 6, 2025
* Fix missing import in celo-migrate/main.go (#305)

* Fix update-geth.sh (#304)

The script was not substituting the go.mod file and the Dockerfile since the
regexes were not matching.

The regex for the Dockerfile contained '@sha256:' which perl was
interpreting as a global symbol, in order to interpret it literally we
needed to escape the '@'.

The regex for the go.mod file contained an extra space before the arrow
'go-ethereum .* => ', in a tidied go.mod file there is one space between
the package name and the arrow '=>'.

Also adds failure output so that it's easier to debug where this is
going wrong.

---------

Co-authored-by: Karl Bartel <[email protected]>
Co-authored-by: Paul Lange <[email protected]>

* The substitution was failing in the docker file since (#309)

The substitution \1 and the beginning of the image hash together created
\150 which perl interprets as the octal character code for h.

To prevent this we need to use the \${1} notation to reference captured
groups.

* Revert "Update op-geth for `celo10` branch (#292)"

This reverts commit 16f5156.

* Update op-geth to celo-v2.0.0-rc3

* Reinstate requirements

---------

Co-authored-by: Karl Bartel <[email protected]>
Co-authored-by: Paul Lange <[email protected]>
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