Closed colin-axner closed 5 years ago
Could this include documentation of how application state is represented in the stores?
All the getters in the store return a bool if the the key is not present in the db.
should we instead return an ErrDNE?
spend.go will need to be reworked a bit, feel free to restructure it, its pretty messy rn b/c of all the logic added to construct messages for the user.
Merging #153 into develop will increase coverage by
9.88%
. The diff coverage is65.73%
.
@@ Coverage Diff @@
## develop #153 +/- ##
===========================================
+ Coverage 49.02% 58.91% +9.88%
===========================================
Files 26 27 +1
Lines 1077 1251 +174
===========================================
+ Hits 528 737 +209
+ Misses 452 396 -56
- Partials 97 118 +21
Impacted Files | Coverage Δ | |
---|---|---|
plasma/deposit.go | 56.25% <ø> (ø) |
:arrow_up: |
plasma/block.go | 84.61% <ø> (ø) |
:arrow_up: |
msgs/spendMsg.go | 0% <0%> (ø) |
:arrow_up: |
store/errors.go | 100% <100%> (ø) |
|
eth/plasma.go | 53.62% <100%> (ø) |
:arrow_up: |
handlers/depositHandler.go | 77.77% <100%> (-7.94%) |
:arrow_down: |
plasma/position.go | 61.32% <100%> (ø) |
:arrow_up: |
plasma/input.go | 66.66% <100%> (ø) |
:arrow_up: |
store/keys.go | 100% <100%> (ø) |
|
msgs/depositMsg.go | 35.71% <100%> (ø) |
:arrow_up: |
... and 15 more |
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 531c7ab...b9ecdab. Read the comment docs.
Will look over spend.go
tomorrow.
Starting to come together! Got a chance now to look more closely at all the stuff in this PR. Fantastic work as always @colin-axner!!
work in progress for updating store. My branch is off of hamdi/query so comparing it with that to see changes easier.
From discord #sidechain channel:
Updates to design include:
Fixes #128