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

Complex scenarios testing #59

Merged
merged 8 commits into from
Jul 1, 2022
Merged

Complex scenarios testing #59

merged 8 commits into from
Jul 1, 2022

Conversation

greenhat
Copy link
Member

@greenhat greenhat commented Jun 16, 2022

Close #52

Todo:

With API drafted and bootstrap testing implemented I'd prefer to merge it as is and continue to implement the full scenario from #52 in the subsequent PRs.

@coveralls
Copy link

coveralls commented Jun 16, 2022

Pull Request Test Coverage Report for Build 2588155899

  • 88 of 108 (81.48%) changed or added relevant lines in 6 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.4%) to 63.124%

Changes Missing Coverage Covered Lines Changed/Added Lines %
core/src/cli_commands/bootstrap.rs 5 7 71.43%
core/src/pool_commands/test_utils.rs 11 13 84.62%
core/src/node_interface.rs 0 8 0.0%
ergo-chain-sim/src/chain.rs 36 44 81.82%
Totals Coverage Status
Change from base Build 2582340535: 1.4%
Covered Lines: 1087
Relevant Lines: 1722

💛 - Coveralls

@greenhat greenhat marked this pull request as ready for review June 30, 2022 09:09
@greenhat greenhat requested a review from kettlebell June 30, 2022 09:09
Copy link
Collaborator

@kettlebell kettlebell left a comment

Choose a reason for hiding this comment

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

Looks great! The API is really clear. Thank you!

@@ -451,7 +424,7 @@ pub fn perform_bootstrap_chained_transaction(

let target_balance = calc_target_balance(num_transactions_left)?;
let box_selector = SimpleBoxSelector::new();
let mut inputs = filter_tx_outputs(signed_mint_reward_tokens_tx.outputs.clone());
let mut inputs = filter_tx_outputs(signed_pool_box_tx.outputs.clone());
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for the bug fix!

Copy link
Member Author

Choose a reason for hiding this comment

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

My pleasure. I was happy to see that simulation was able to catch this.

@kettlebell kettlebell merged commit 9172084 into develop Jul 1, 2022
@kettlebell kettlebell deleted the i52-test-complex branch July 1, 2022 02:33
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.

CI tests for complex scenarios
3 participants