Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Removed PARANOID build option (#5631) #5655

Merged
merged 3 commits into from
Jul 9, 2019

Conversation

chrisjgf
Copy link
Contributor

@chrisjgf chrisjgf commented Jul 7, 2019

Fix #5631 - Remove PARANOID build and #define ETH_PARANOIA

@codecov-io
Copy link

codecov-io commented Jul 7, 2019

Codecov Report

Merging #5655 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5655      +/-   ##
=========================================
+ Coverage   62.79%   62.8%   +<.01%     
=========================================
  Files         349     348       -1     
  Lines       29722   29707      -15     
  Branches     3346    3345       -1     
=========================================
- Hits        18665   18657       -8     
+ Misses       9845    9838       -7     
  Partials     1212    1212

@gumb0 gumb0 requested review from chfast and gumb0 July 8, 2019 09:58
@@ -140,7 +140,7 @@ bool OverlayDB::exists(h256 const& _h) const

void OverlayDB::kill(h256 const& _h)
{
#if ETH_PARANOIA || 1
#if 1
Copy link
Member

Choose a reason for hiding this comment

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

The #if 1 is useless now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure thing, just removed the block

Copy link
Member

Choose a reason for hiding this comment

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

Actually, you should not. Leave the #if 1 block and remove the #else one.

Copy link
Contributor Author

@chrisjgf chrisjgf Jul 8, 2019

Choose a reason for hiding this comment

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

Sorry, oversight on my part - just changed it.

@chfast
Copy link
Member

chfast commented Jul 8, 2019

Are you able to squash 2 last commits?

@chrisjgf
Copy link
Contributor Author

chrisjgf commented Jul 8, 2019

Are you able to squash 2 last commits?

Should now be squashed 👍

@chfast
Copy link
Member

chfast commented Jul 8, 2019

Ok, great. I will merge it as soon the Windows build finishes.

@chfast chfast merged commit 007d89a into ethereum:master Jul 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove PARANOID build option
3 participants