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

dependency issue when trying to download genesis file #341

Open
gamenautdips opened this issue Jan 31, 2023 · 1 comment
Open

dependency issue when trying to download genesis file #341

gamenautdips opened this issue Jan 31, 2023 · 1 comment
Assignees

Comments

@gamenautdips
Copy link

When trying to download genesis file using
cargo run --release -- --home-dir ~/.near/testnet init --chain-id testnet --download-config --download-genesis

Getting the following dependency error

Compiling near-rosetta-rpc v0.0.0 (https://github.com/near/nearcore?rev=9a3edd1fd2b8ee6968be69b30593dd134c2da7fa#9a3edd1f)
error[E0560]: struct ResponseWrapper<_, _> has no field named responder
--> /home/dips/.cargo/git/checkouts/nearcore-5bf7818cf2261fd0/9a3edd1/chain/rosetta-rpc/src/lib.rs:76:1
|
76 | #[api_v2_operation]
| ^^^^^^^^^^^^^^^^^^^ field does not exist
|
::: /home/dips/.cargo/registry/src/github.com-1ecc6299db9ec823/paperclip-core-0.5.2/src/v2/actix.rs:638:12
|
638 | pub struct ResponseWrapper<T, H>(#[pin] pub T, pub H);
| --------------- ResponseWrapper<_, _> defined here
|
= note: this error originates in the attribute macro api_v2_operation (in Nightly builds, run with -Z macro-backtrace for more info)
help: ResponseWrapper<_, _> is a tuple struct, use the appropriate syntax
|
76 | ResponseWrapper<_, _>(/* fields */)

@khorolets
Copy link
Member

@gamenautdips Hey! Thanks for bringing this up.

Could you clarify what branch you use?

Also, do you follow our work? Are you aware that we have migrated from nearcore to near-lake-framework? Thus near-indexer-for-explorer doesn't have an init command anymore.

It would be helpful if you add a few words describing what you are trying to achieve so we can suggest you something.

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

No branches or pull requests

2 participants