Support underscores in chain ID reference#180
Conversation
|
Could you also add a PR to add starknet to the namespaces repo? |
Will do the PR. Drafting this one for now as there may be better ways of representing StarkNet chain ids that don't require this change. |
|
@pedrouid any reason not to add support for |
|
@oed @pedrouid here is PR for |
|
@delaaxe this LGTM but maybe we can get the namespace finalized by thursday the 15th so that we don't have an example in a CAIP that isn't backed up by a namespace entry? I'm applying 14-day merge tag so that this breaking change gets triaged in the same bump to the last breaking change to this CAIP. |
Fixes https://github.com/KILTprotocol/ticket/issues/2458. - CAIP-19 asset reference max length was increased to 128: ChainAgnostic/CAIPs#179 - CAIP-2 chain reference now supports underscores: ChainAgnostic/CAIPs#180 - CAIP-19 asset reference and asset identifier now support `.` and `%` symbols: ChainAgnostic/CAIPs#160 Not a breaking change since it just relaxes some requirements.
Fixes https://github.com/KILTprotocol/ticket/issues/2458. - CAIP-19 asset reference max length was increased to 128: ChainAgnostic/CAIPs#179 - CAIP-2 chain reference now supports underscores: ChainAgnostic/CAIPs#180 - CAIP-19 asset reference and asset identifier now support `.` and `%` symbols: ChainAgnostic/CAIPs#160 Not a breaking change since it just relaxes some requirements.
Fixes https://github.com/KILTprotocol/ticket/issues/2458. - CAIP-19 asset reference max length was increased to 128: ChainAgnostic/CAIPs#179 - CAIP-2 chain reference now supports underscores: ChainAgnostic/CAIPs#180 - CAIP-19 asset reference and asset identifier now support `.` and `%` symbols: ChainAgnostic/CAIPs#160 Not a breaking change since it just relaxes some requirements.
Fixes https://github.com/KILTprotocol/ticket/issues/2458. - CAIP-19 asset reference max length was increased to 128: ChainAgnostic/CAIPs#179 - CAIP-2 chain reference now supports underscores: ChainAgnostic/CAIPs#180 - CAIP-19 asset reference and asset identifier now support `.` and `%` symbols: ChainAgnostic/CAIPs#160 Not a breaking change since it just relaxes some requirements.
Adding support for underscores in the chain id reference allows using StarkNet chain ids as-is (
SN_MAIN,SN_GOERLI) without having to do error-prone translations in both dapps and wallets.Such a change shouldn't impact the existing requirements for the reference.