Skip to content

typo in Readme: hrmp channel config #196

@doutv

Description

@doutv

The sender and recipient in json config should be int type.

This example config in README does not work and produce the following error:

"hrmpChannels": [
    {
        "sender": "200",
        "recipient": "300",
        "maxCapacity": 8,
        "maxMessageSize": 512
    }
]
Error parsing spec file: invalid type: string "200"

Should be

"hrmpChannels": [
    {
        "sender": 200,
        "recipient": 300,
        "maxCapacity": 8,
        "maxMessageSize": 512
    }
]

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