-
Notifications
You must be signed in to change notification settings - Fork 47
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 marketplace integration test #3569
Conversation
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.
This looks reasonable to me, just one question and maybe somebody working on the marketplace can confirm this is testing what you need
@@ -349,7 +351,7 @@ impl< | |||
} | |||
|
|||
fn get_auction_results(&self) -> Option<TYPES::AuctionResult> { | |||
unimplemented!() | |||
Some(TYPES::AuctionResult { urls: vec![] }) |
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.
Can we make an issue to update this once the simple builder supports the marketplace?
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.
We should also enable transaction generation and checking that blocks contain transactions in tests when simple builder is updated, so that the test check the builder interaction as well.
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.
Done! #3583
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 with some questions
This PR:
consistency_task
to ensure that an upgrade certificate is actually attached to some leaf.test_success_marketplace
to test that an upgrade to the marketplace completes successfully and continues to run without any view failures.This PR does not:
Key places to review:
You can run the test on this branch with
RUST_LOG=hotshot_task_impls=debug just cargo test test_success_marketplace -- --nocapture