Skip to content

Fix issue causing update-geth.sh fails#318

Closed
Kourin1996 wants to merge 1 commit intocelo-rebase-12from
Kourin1996/fix-failing-update-geth-sh
Closed

Fix issue causing update-geth.sh fails#318
Kourin1996 wants to merge 1 commit intocelo-rebase-12from
Kourin1996/fix-failing-update-geth-sh

Conversation

@Kourin1996
Copy link
Copy Markdown

@Kourin1996 Kourin1996 commented Feb 13, 2025

Closes #317

ops/celo/update-geth.sh and Update celo-org/op-geth action fail in celo-rebase-12 branch because ops-bedrock directory no longer exists upstream after a PR ethereum-optimism#13842 was merged.

This PR adds a check of existence of the directory for existing check.

@Kourin1996 Kourin1996 self-assigned this Feb 13, 2025
@Kourin1996 Kourin1996 requested a review from piersy February 13, 2025 14:40
@Kourin1996
Copy link
Copy Markdown
Author

@piersy Do you think if any processes for ops-bedrock shouldn't be included in this script?

if [ "$(perl -ne "m|${docker_search_string}| && print" ops-bedrock/l2-op-geth.Dockerfile | wc -l)" != "1" ]; then
echo "Failed to find exactly one match for docker search string in ops-bedrock/l2-op-geth.Dockerfile" >&2
exit 1
if [ -d "ops-bedrock" ]; then
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do we need this? I guess the ops-bedrock directory is not coming back.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@palango I'm just curious about that. We can remove any steps for ops-bedrock directory.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There's now an optimism script that does the updating of the go.mod file, it's probably an improvement on the approach here because it uses go mod edit so I think we should use that. I've just been fiddling with it to see if it can work for us, I will raise a PR for that.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

PR here #319

@Kourin1996 Kourin1996 closed this Feb 14, 2025
@Kourin1996 Kourin1996 deleted the Kourin1996/fix-failing-update-geth-sh branch March 21, 2025 11:41
piersy pushed a commit that referenced this pull request Apr 8, 2025
* feat: interop fixes (#287)

* feat: interop fixes

* fix: natspec format

* chore: add field on struct natspec

---------

Co-authored-by: 0xDiscotech <131301107+0xDiscotech@users.noreply.github.com>

* fix: campaign fixes (#313)

* feat: interop fixes

* fix: permit2 not inifinite approval check

* chore: enhance superchain erc20 natspec

* chore: tests natspec

* fix: incorrect merge

---------

Co-authored-by: agusduha <agusnduha@gmail.com>

* chore: remove interop contracts (#318)

* chore: remove unnecessary interop contracts

* fix: golang tests

* chore: remove system config interop and run pre pr

* fix: exlude correct contracts on test to succeed

* chore: update initializer array length

* fix: semver lock

* fix: L2 audit findings (#323)

* fix: audit findings

* chore: pre-pr

* refactor: avoid stack too deep removing params on test (#324)

---------

Co-authored-by: AgusDuha <81362284+agusduha@users.noreply.github.com>
Co-authored-by: agusduha <agusnduha@gmail.com>
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.

op-geth sync job failed

3 participants