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

Add Arbitrary impl for Duration and Timepoint #1032

Merged
merged 2 commits into from
Aug 2, 2023

Conversation

brson
Copy link
Contributor

@brson brson commented Jul 10, 2023

What

Implement Arbitrary for Duration and Timepoint.

Also add some missing test cases.

Why

These are both user-facing contract types. Implementing Arbitrary allows them to be accepted as inputs to fuzz tests.

Known limitations

na

@brson brson force-pushed the arbitrary-duration-timepoint branch from ccbc72c to 7a77974 Compare August 2, 2023 18:12
@brson
Copy link
Contributor Author

brson commented Aug 2, 2023

Rebased.

@graydon graydon enabled auto-merge (squash) August 2, 2023 23:58
@graydon graydon merged commit 6ab39d3 into stellar:main Aug 2, 2023
12 checks passed
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 this pull request may close these issues.

2 participants