stacks-archive / stacks-transactions-js

The JavaScript library for generating Stacks 2.0 transactions
19 stars 17 forks source link

fix: serialize uint strings with literal u prefix #98

Closed reedrosenbluth closed 4 years ago

reedrosenbluth commented 4 years ago

Description

This PR introduces a slight change to the cvToString() function. Uints are now serialized like "u10" instead of like "10".

Issue: https://github.com/blockstack/stacks-blockchain/issues/1699

Type of Change

Does this introduce a breaking change?

No

Checklist

codecov[bot] commented 4 years ago

Codecov Report

Merging #98 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #98   +/-   ##
=======================================
  Coverage   84.01%   84.01%           
=======================================
  Files          28       28           
  Lines        1802     1802           
  Branches      367      367           
=======================================
  Hits         1514     1514           
  Misses        286      286           
  Partials        2        2           
Impacted Files Coverage Δ
src/clarity/clarityValue.ts 100.00% <100.00%> (ø)

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 fc0ad72...11c555a. Read the comment docs.