stratumn / go-core

Stratumn's core utilities to create decentralized applications and networks
Apache License 2.0
0 stars 0 forks source link

chainscript: update #437

Closed t-bast closed 6 years ago

t-bast commented 6 years ago

Update Indigo Core to use versioned chainscript. Enjoy the 9k lines change :D Overall we're mostly removing code which is good, but all stores needed some code changes to work with the new format.

NOT included in this PR (and should be worked on later):

my work here is done


This change is Reviewable

codecov[bot] commented 6 years ago

Codecov Report

Merging #437 into master will decrease coverage by <.01%. The diff coverage is 85.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #437      +/-   ##
==========================================
- Coverage    73.9%   73.89%   -0.01%     
==========================================
  Files          79       81       +2     
  Lines        4824     4777      -47     
==========================================
- Hits         3565     3530      -35     
+ Misses        932      927       -5     
+ Partials      327      320       -7
Impacted Files Coverage Δ
types/bytes.go 94.16% <ø> (ø)
store/storetesting/mock_batch.go 0% <0%> (ø) :arrow_up:
validation/localmanager.go 74.54% <0%> (ø) :arrow_up:
validation/validators/pki.go 95.12% <100%> (ø) :arrow_up:
store/storehttp/storehttp.go 83.33% <100%> (ø) :arrow_up:
validation/validators/script.go 94.28% <100%> (ø) :arrow_up:
tmstore/tmstore.go 66.29% <100%> (ø) :arrow_up:
validation/configloader.go 86.11% <100%> (ø) :arrow_up:
validation/validators/schema.go 92% <100%> (+13.42%) :arrow_up:
store/store.go 94.66% <100%> (+0.07%) :arrow_up:
... and 38 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 a1d7410...34c32a9. Read the comment docs.