Skip to content

Unknown variant hashMap #114

@GabrielePicco

Description

@GabrielePicco

I'm trying to generate the client for the metaplex metadata program IDL, but seems that hashmap type is missing the mapping.

Steps to reproduce

  1. Download the idl: https://raw.githubusercontent.com/metaplex-foundation/metaplex-program-library/master/token-metadata/js/idl/mpl_token_metadata.json
  2. anchorpy client-gen mpl_token_metadata.json metaplex_client

Error:

solders.SerdeJSONError: unknown variant `hashMap`, expected one of `bool`, `u8`, `i8`, `u16`, `i16`, `u32`, `i32`, `f32`, `u64`, `i64`, `f64`, `u128`, `i128`, `bytes`, `string`, `publicKey`, `defined`, `option`, `vec`, `array` at line 4498 column 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions