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

Can't use cargo vendor with reth due to c-kzg dependency #4826

Closed
1 task done
selfuryon opened this issue Sep 27, 2023 · 0 comments · Fixed by #4827
Closed
1 task done

Can't use cargo vendor with reth due to c-kzg dependency #4826

selfuryon opened this issue Sep 27, 2023 · 0 comments · Fixed by #4827
Labels
C-bug An unexpected or incorrect behavior

Comments

@selfuryon
Copy link

Describe the bug

You are using c-kzg package with the same version but different sources (one, two).
In that case cargo build works, but cargo vendor doesn't:

$ cargo vendor
...

error: failed to sync

Caused by:
  found duplicate version of package `c-kzg v0.1.0` vendored from two sources:

    source 1: https://github.com/ethereum/c-kzg-4844?rev=f5f6f863d475847876a2bd5ee252058d37c3a15d#f5f6f863
    source 2: https://github.com/ethereum/c-kzg-4844#fbef59a3

I see that reth-primitives and reth-rlp use f5f6 revision, and revm-precompile and revm-primitives use fbef revision.

Can you please make them the same?

Steps to reproduce

Just try to run cargo vendor.

Node logs

No response

Platform(s)

Linux (x86)

What version/commit are you on?

v0.1.0-alpha.9

What database version are you on?

No response

If you've built Reth from source, provide the full command you used

No response

Code of Conduct

  • I agree to follow the Code of Conduct
@selfuryon selfuryon added C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled labels Sep 27, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Reth Tracker Sep 27, 2023
@DaniPopes DaniPopes removed the S-needs-triage This issue needs to be labelled label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug An unexpected or incorrect behavior
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants