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

Property test on CPMM buy and sell #2

Merged
merged 3 commits into from
Sep 3, 2024
Merged

Property test on CPMM buy and sell #2

merged 3 commits into from
Sep 3, 2024

Conversation

lvn-hasky-dragon
Copy link
Contributor

No description provided.


let ts = Timestamp::from_nanos(1_000_000_202);

let mut stored = StoredMarket {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, I considered creating a smaller helper type to make it easier to test the CPMM stuff without adding in all the unnecessary fields here... overall I think this approach simplified the codebase. Would have been even nicer if we could use #[serde(flatten)] in CosmWasm code.

@lvn-rusty-dragon lvn-rusty-dragon merged commit ffe97bd into main Sep 3, 2024
1 check passed
@lvn-rusty-dragon lvn-rusty-dragon deleted the prop-test branch September 3, 2024 10:42
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.

3 participants