Skip to content

Installation fails on current main branch #89

Closed

Description

If you follow the instructions to install Odyssey from source using the current main branch:

git clone https://github.com/ithacaxyz/odyssey
cd odyssey
cargo install --path bin/odyssey

It fails with the following error:

error[E0603]: module `eip1559` is private
  --> /Users/zachobront/.cargo/git/checkouts/reth-36d3ea1d1152b20c/4b4f9cf/crates/optimism/payload/src/payload.rs:10:25
   |
10 | use op_alloy_consensus::eip1559::{decode_holocene_extra_data, EIP1559Par...
   |                         ^^^^^^^ private module
   |
note: the module `eip1559` is defined here
  --> /Users/zachobront/.cargo/registry/src/index.crates.io-6f17d22bba15001f/op-alloy-consensus-0.6.7/src/lib.rs:22:1
   |
22 | mod eip1559;
   | ^^^^^^^^^^^

error[E0603]: module `eip1559` is private
  --> /Users/zachobront/.cargo/git/checkouts/reth-36d3ea1d1152b20c/4b4f9cf/crates/optimism/payload/src/payload.rs:10:25
   |
10 | use op_alloy_consensus::eip1559::{decode_holocene_extra_data, EIP1559Par...
   |                         ^^^^^^^ private module
   |
help: consider importing this enum instead:
      op_alloy_consensus::EIP1559ParamError
  --> /Users/zachobront/.cargo/git/checkouts/reth-36d3ea1d1152b20c/4b4f9cf/crates/optimism/payload/src/payload.rs:10:63
   |
10 | ...code_holocene_extra_data, EIP1559ParamError};
   |                              ^^^^^^^^^^^^^^^^^
note: the module `eip1559` is defined here
  --> /Users/zachobront/.cargo/registry/src/index.crates.io-6f17d22bba15001f/op-alloy-consensus-0.6.7/src/lib.rs:22:1
   |
22 | mod eip1559;
   | ^^^^^^^^^^^

Everything works fine before the latest commit. It looks like bumping the version of reth-optimism-payload-builder pulls in the new op-alloy-consensus, which includes this commit that re-exports the items from eip1559 but makes the module itself private.

(Required as I'm trying to run a node with new reth features.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions