Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Explicitly mention IDs can be restricted #252
There is no semantic restriction on the identifiers in the spec because supporting only the syntactic rule(ASCII+numeric) will make the implementation compatible with the protocol. However, it is possible to restrict the identifier formats depending on the characteristics of the chains, for example:
All of them are purely optional but people might make the misassumption that "having restriction on assigning IDs is a violation of protocol", so the allowance of them should be explicitly stated ].
This has to be declared inside the relayer module spec where those restrictions will be defined by the implementation users(as an injectible callback function/enum, with a default provided per ecosystem discussion).