Skip to content

OrderedMap not supported #260

@banool

Description

@banool

I have a view function like this:

public fun get_canvas(game_address: address, round_number: u64, team: u64): OrderedMap<u16, Color>

When I use the ABI for this module with Surf:

      {
        "name": "get_canvas",
        "visibility": "public",
        "is_entry": false,
        "is_view": true,
        "generic_type_params": [],
        "params": [
          "address",
          "u64",
          "u64"
        ],
        "return": [
          "0x1::ordered_map::OrderedMap<u16, 0x6038c25eb61cf10831f50b3ba11006e3fef8a0cac0de6eeb4b57cdccfbec344f::pictionary::Color>"
        ]
      }

The view function just returns [unknown]. I suppose the framework ABI bundled with the package needs to be updated.

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