8000 Fix `Propose` invalidation logic [ECR-4223] by slowli · Pull Request #1782 · exonum/exonum · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Propose invalidation logic [ECR-4223] #1782

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

Merged
merged 8 commits into from
Feb 19, 2020

Conversation

slowli
Copy link
Contributor
@slowli slowli commented Feb 14, 2020

Overview

This PR fixes Propose invalidation logic. A Propose could be marked as invalid even if it did not contain invalid transactions, simply as a result of processing an unrelated invalid transaction.

Not done:

  • Add tests for service switching on / off into the sandbox. Switching on / off seems to work fine, but more test coverage is always good.
  • Fix panics on node shutdown (I'll create a separate Jira task for this).

See: https://jira.bf.local/browse/ECR-4223

A `Propose` could be marked as invalid even if it did not contain
invalid transactions, simply as a result of processing an invalid
transaction.
@codecov
Copy link
codecov bot commented Feb 14, 2020

Codecov Report

Merging #1782 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1782      +/-   ##
==========================================
- Coverage   94.49%   94.49%   -0.01%     
==========================================
  Files         267      267              
  Lines       41608    41643      +35     
==========================================
+ Hits        39317    39350      +33     
- Misses       2291     2293       +2     
Impacted Files Coverage Δ
exonum-node/src/events/network.rs 87.42% <0.00%> (-0.60%) ⬇️
exonum-node/src/sandbox/tests/round_details.rs 98.14% <0.00%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73e0333...38c8e8b. Read the comment docs.

@aleksuss aleksuss merged commit 2e626ae into exonum:master Feb 19, 2020
@slowli slowli deleted the fix-invalid-propose branch February 20, 2020 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants
0