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

Alternative code in aleth-interpreter SSTORE #5240

Closed
wants to merge 4 commits into from

Conversation

gumb0
Copy link
Member

@gumb0 gumb0 commented Sep 3, 2018

Maybe this version is better, not sure.

}
else
{
auto const status =
Copy link
Member Author

Choose a reason for hiding this comment

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

We could also charge sstoreUnchangedGas upfront similar to pre-Constantinople way, but maybe it doesn't make much sense because doesn't prevent extra writes to DB

@gumb0 gumb0 added this to the Constantinople milestone Sep 3, 2018
@codecov-io
Copy link

Codecov Report

Merging #5240 into net-sstore-interpreter will decrease coverage by 0.01%.
The diff coverage is 57.14%.

Impacted file tree graph

@@                    Coverage Diff                    @@
##           net-sstore-interpreter   #5240      +/-   ##
=========================================================
- Coverage                   61.01%     61%   -0.02%     
=========================================================
  Files                         338     338              
  Lines                       27649   27652       +3     
  Branches                     3203    3205       +2     
=========================================================
- Hits                        16871   16868       -3     
- Misses                       9649    9653       +4     
- Partials                     1129    1131       +2

@gumb0 gumb0 closed this Sep 5, 2018
@gumb0 gumb0 deleted the net-sstore-interpreter2 branch September 5, 2018 15:10
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.

2 participants