-
Notifications
You must be signed in to change notification settings - Fork 299
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
state: Move pieces of State implemetation #784
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #784 +/- ##
=======================================
Coverage 97.91% 97.91%
=======================================
Files 110 110
Lines 10577 10580 +3
=======================================
+ Hits 10356 10359 +3
Misses 221 221
Flags with carried forward coverage won't be shown. Click here to find out more.
|
0c3fb24
to
26c81ee
Compare
{ | ||
address addr; | ||
}; | ||
struct JournalBase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to have some doc comments for base and deriving structs, but I can live w/o it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to be updated later.
Can we also add a motivation of this change. |
Added:
|
This avoids heavy rebuilds when these implementations are modified.
These are internal State types visible in the header file only because of C++ limitations.
26c81ee
to
e44aebb
Compare
rollback()
(onlytouch()
for now). We later want to hide the journal from users by providing revertible state modification methods.State
methods implementations to thestate.cpp
file. This hides the implementation and allows faster builds.class State
scope.