Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

unhandled type Address - please write a mapper for it #97

@OscBacon

Description

@OscBacon

Hi, I get the following error when declaring an Address as an entityId type:

Generate Uncrashable Entity Helpersunhandled type Address - please write a mapper for it

yaml file:

networkConfig:
  entityIdPrefixes:
    - networks:
        - mainnet
      prefix: ""
    - networks:
        - mumbai
      prefix: mumbai
entitySettings:
  Contract:
    entityId:
      - name: addressaa
        type: Address
      - name: address
        type: Address       

Generated code:

export function generateContractId(
  addressaa: UNHANDLED_TYPE,address: UNHANDLED_TYPE
): string {
  return ENTITY_ID_PREFIX + "unhandled type in converter UNHANDLED_TYPE - Please fix the converter" + "-" + "unhandled type in converter UNHANDLED_TYPE - Please fix the converter"
}

What gives?

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