8000 Alias is not supported · Issue #86 · saber-hq/anchor-gen · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Alias is not supported #86
Open
Open
@Dmdv

Description

@Dmdv

Hi

Tried to generate CPI binding for
https://explorer.solana.com/address/6LtLpnUFNByNXLyCoK9wA2MykKAmQNZKBdY8s47dehDc/anchor-program

using anchor-gen = "0.3.1"

Got error:

error: proc macro panicked
 --> programs/liquidity_lending/src/lib.rs:5:1
  |
5 | generate_cpi_crate!("6LtLpnUFNByNXLyCoK9wA2MykKAmQNZKBdY8s47dehDc-idl.json");
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: called `Result::unwrap()` on an `Err` value: Error("unknown variant `alias`, expected `struct` or `enum`", line: 6253, column: 23)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0