-
Notifications
You must be signed in to change notification settings - Fork 216
Support underscores in chain ID reference #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 |
pedrouid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
|
@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.