We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ChainId's epoch format disallows one-letter chain names, due to the regex beginning with .+[^-]-{1}, which requires two characters before the hyphen.
.+[^-]-{1}
v0.21.0
ChainId::is_epoch_format("c-1") returns false.
ChainId::is_epoch_format("c-1")
ChainId::is_epoch_format("c-1") returns true.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Summary of Bug
ChainId's epoch format disallows one-letter chain names, due to the regex beginning with
.+[^-]-{1}
, which requires two characters before the hyphen.Version
v0.21.0
Steps to Reproduce
ChainId::is_epoch_format("c-1")
returns false.Acceptance Criteria
ChainId::is_epoch_format("c-1")
returns true.For Admin Use
The text was updated successfully, but these errors were encountered: