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

Removed PARANOID build option (#5631)#5655

Merged
chfast merged 3 commits intoethereum:masterfrom
chrisjgf:paranoia-removal
Jul 9, 2019
Merged

Removed PARANOID build option (#5631)#5655
chfast merged 3 commits intoethereum:masterfrom
chrisjgf:paranoia-removal

Conversation

@chrisjgf
Copy link
Copy Markdown
Contributor

@chrisjgf chrisjgf commented Jul 7, 2019

Fix #5631 - Remove PARANOID build and #define ETH_PARANOIA

@codecov-io
Copy link
Copy Markdown

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
void OverlayDB::kill(h256 const& _h)
{
#if ETH_PARANOIA || 1
#if 1
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

chfast commented Jul 8, 2019

Are you able to squash 2 last commits?

@chrisjgf chrisjgf force-pushed the paranoia-removal branch from c1dba47 to 4417642 Compare July 8, 2019 14:07
@chrisjgf
Copy link
Copy Markdown
Contributor Author

chrisjgf commented Jul 8, 2019

Are you able to squash 2 last commits?

Should now be squashed 👍

@chfast
Copy link
Copy Markdown
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