Skip to content
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

Be able to specify that a numeric value is within a certain range #35

Closed
gilescope opened this issue Sep 18, 2022 · 0 comments · Fixed by #39
Closed

Be able to specify that a numeric value is within a certain range #35

gilescope opened this issue Sep 18, 2022 · 0 comments · Fixed by #39

Comments

@gilescope
Copy link
Contributor

                      attribute:
                        type: XcmV2TraitsOutcome
                        isComplete: true
                        value: 4,000,000,000

Given that weights can be quite variable, it would be nice to be able to assert it's within a range. Maybe this could use rust range syntax: 1,000,000,000..4,000,000,000

@gilescope gilescope changed the title Be able to specify that a numeric value is within a certain nra Be able to specify that a numeric value is within a certain range Sep 18, 2022
@NachoPal NachoPal mentioned this issue Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant