diff --git a/coverage.txt b/coverage.txt new file mode 100644 index 0000000..7b11066 --- /dev/null +++ b/coverage.txt @@ -0,0 +1,109 @@ +mode: atomic +github.com/cosmos/iavl/cache/cache.go:55.37,61.2 1 11 +github.com/cosmos/iavl/cache/cache.go:63.40,65.41 2 19 +github.com/cosmos/iavl/cache/cache.go:65.41,70.3 4 1 +github.com/cosmos/iavl/cache/cache.go:72.2,75.36 3 18 +github.com/cosmos/iavl/cache/cache.go:75.36,78.3 2 4 +github.com/cosmos/iavl/cache/cache.go:79.2,79.12 1 14 +github.com/cosmos/iavl/cache/cache.go:82.42,83.60 1 9 +github.com/cosmos/iavl/cache/cache.go:83.60,86.3 2 9 +github.com/cosmos/iavl/cache/cache.go:87.2,87.12 1 0 +github.com/cosmos/iavl/cache/cache.go:90.41,93.2 2 9 +github.com/cosmos/iavl/cache/cache.go:95.31,97.2 1 41 +github.com/cosmos/iavl/cache/cache.go:99.44,100.66 1 8 +github.com/cosmos/iavl/cache/cache.go:100.66,102.3 1 5 +github.com/cosmos/iavl/cache/cache.go:103.2,103.12 1 3 +github.com/cosmos/iavl/cache/cache.go:106.49,110.2 3 9 +github.com/cosmos/iavl/internal/encoding/encoding.go:14.26,16.3 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:20.26,22.3 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:26.26,28.3 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:33.50,35.16 2 35 +github.com/cosmos/iavl/internal/encoding/encoding.go:35.16,37.3 1 1 +github.com/cosmos/iavl/internal/encoding/encoding.go:41.2,42.42 2 34 +github.com/cosmos/iavl/internal/encoding/encoding.go:42.42,44.3 1 6 +github.com/cosmos/iavl/internal/encoding/encoding.go:46.2,47.13 2 28 +github.com/cosmos/iavl/internal/encoding/encoding.go:47.13,49.3 1 1 +github.com/cosmos/iavl/internal/encoding/encoding.go:51.2,51.19 1 27 +github.com/cosmos/iavl/internal/encoding/encoding.go:51.19,53.3 1 23 +github.com/cosmos/iavl/internal/encoding/encoding.go:54.2,56.22 3 4 +github.com/cosmos/iavl/internal/encoding/encoding.go:61.52,63.12 2 35 +github.com/cosmos/iavl/internal/encoding/encoding.go:63.12,66.3 1 1 +github.com/cosmos/iavl/internal/encoding/encoding.go:66.8,66.18 1 34 +github.com/cosmos/iavl/internal/encoding/encoding.go:66.18,71.3 2 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:72.2,72.18 1 34 +github.com/cosmos/iavl/internal/encoding/encoding.go:77.50,79.12 2 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:79.12,81.3 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:81.8,81.18 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:81.18,86.3 2 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:87.2,87.18 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:91.48,93.16 2 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:93.16,95.3 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:96.2,97.12 2 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:101.50,112.2 7 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:115.37,117.2 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:120.49,130.2 5 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:133.38,134.12 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:134.12,136.3 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:137.2,137.32 1 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:141.47,158.2 5 0 +github.com/cosmos/iavl/internal/encoding/encoding.go:161.36,164.2 2 0 +github.com/cosmos/iavl/internal/bytes/bytes.go:13.46,15.2 1 1 +github.com/cosmos/iavl/internal/bytes/bytes.go:18.50,21.2 2 1 +github.com/cosmos/iavl/internal/bytes/bytes.go:24.50,31.2 6 3 +github.com/cosmos/iavl/internal/bytes/bytes.go:34.54,35.65 1 3 +github.com/cosmos/iavl/internal/bytes/bytes.go:35.65,37.3 1 0 +github.com/cosmos/iavl/internal/bytes/bytes.go:38.2,41.16 4 3 +github.com/cosmos/iavl/internal/bytes/bytes.go:41.16,43.3 1 0 +github.com/cosmos/iavl/internal/bytes/bytes.go:44.2,45.12 2 3 +github.com/cosmos/iavl/internal/bytes/bytes.go:49.35,51.2 1 0 +github.com/cosmos/iavl/internal/bytes/bytes.go:53.36,55.2 1 0 +github.com/cosmos/iavl/internal/bytes/bytes.go:57.51,58.14 1 0 +github.com/cosmos/iavl/internal/bytes/bytes.go:59.11,60.41 1 0 +github.com/cosmos/iavl/internal/bytes/bytes.go:61.10,62.49 1 0 +github.com/cosmos/iavl/internal/bytes/string.go:10.40,18.2 7 5 +github.com/cosmos/iavl/internal/bytes/string.go:24.40,26.2 1 5 +github.com/cosmos/iavl/internal/rand/random.go:28.13,31.2 2 1 +github.com/cosmos/iavl/internal/rand/random.go:33.22,37.2 3 1 +github.com/cosmos/iavl/internal/rand/random.go:39.23,42.25 3 2 +github.com/cosmos/iavl/internal/rand/random.go:42.25,45.3 2 16 +github.com/cosmos/iavl/internal/rand/random.go:46.2,46.22 1 2 +github.com/cosmos/iavl/internal/rand/random.go:49.34,51.2 1 102 +github.com/cosmos/iavl/internal/rand/random.go:56.23,58.2 1 0 +github.com/cosmos/iavl/internal/rand/random.go:60.33,62.2 1 1 +github.com/cosmos/iavl/internal/rand/random.go:64.20,66.2 1 100 +github.com/cosmos/iavl/internal/rand/random.go:68.24,70.2 1 100 +github.com/cosmos/iavl/internal/rand/random.go:72.30,74.2 1 1 +github.com/cosmos/iavl/internal/rand/random.go:76.28,78.2 1 100 +github.com/cosmos/iavl/internal/rand/random.go:83.33,87.2 3 0 +github.com/cosmos/iavl/internal/rand/random.go:90.39,93.6 2 1 +github.com/cosmos/iavl/internal/rand/random.go:93.6,95.27 2 26 +github.com/cosmos/iavl/internal/rand/random.go:95.27,97.15 2 256 +github.com/cosmos/iavl/internal/rand/random.go:97.15,99.13 2 13 +github.com/cosmos/iavl/internal/rand/random.go:100.10,102.29 2 243 +github.com/cosmos/iavl/internal/rand/random.go:102.29,103.21 1 1 +github.com/cosmos/iavl/internal/rand/random.go:105.5,105.14 1 242 +github.com/cosmos/iavl/internal/rand/random.go:110.2,110.22 1 1 +github.com/cosmos/iavl/internal/rand/random.go:113.32,115.2 1 0 +github.com/cosmos/iavl/internal/rand/random.go:117.32,122.2 4 0 +github.com/cosmos/iavl/internal/rand/random.go:124.32,126.2 1 0 +github.com/cosmos/iavl/internal/rand/random.go:128.28,133.2 4 0 +github.com/cosmos/iavl/internal/rand/random.go:135.30,137.2 1 0 +github.com/cosmos/iavl/internal/rand/random.go:139.30,141.2 1 0 +github.com/cosmos/iavl/internal/rand/random.go:143.30,145.2 1 0 +github.com/cosmos/iavl/internal/rand/random.go:147.26,152.2 4 343 +github.com/cosmos/iavl/internal/rand/random.go:154.30,159.2 4 100 +github.com/cosmos/iavl/internal/rand/random.go:161.38,166.2 4 0 +github.com/cosmos/iavl/internal/rand/random.go:168.30,173.2 4 26 +github.com/cosmos/iavl/internal/rand/random.go:175.38,180.2 4 0 +github.com/cosmos/iavl/internal/rand/random.go:182.34,187.2 4 0 +github.com/cosmos/iavl/internal/rand/random.go:189.34,194.2 4 0 +github.com/cosmos/iavl/internal/rand/random.go:196.33,198.2 1 0 +github.com/cosmos/iavl/internal/rand/random.go:202.36,206.31 2 1 +github.com/cosmos/iavl/internal/rand/random.go:206.31,208.3 1 243 +github.com/cosmos/iavl/internal/rand/random.go:209.2,209.11 1 1 +github.com/cosmos/iavl/internal/rand/random.go:214.32,219.2 4 0 +github.com/cosmos/iavl/internal/rand/random.go:222.28,226.2 1 0 +github.com/cosmos/iavl/internal/rand/random.go:229.34,234.2 4 100 +github.com/cosmos/iavl/internal/rand/random.go:238.38,241.16 3 2 +github.com/cosmos/iavl/internal/rand/random.go:241.16,242.13 1 0 +github.com/cosmos/iavl/internal/rand/random.go:244.2,244.10 1 2 diff --git a/go.mod b/go.mod index 8f59437..085148e 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cosmos/iavl go 1.18 require ( - github.com/DataDog/zstd v1.4.5 + github.com/DataDog/zstd v1.5.5 github.com/alitto/pond v1.8.3 github.com/confio/ics23/go v0.7.0 github.com/gogo/protobuf v1.3.2 diff --git a/go.sum b/go.sum index 143e6a5..0d81a9b 100644 --- a/go.sum +++ b/go.sum @@ -76,8 +76,8 @@ github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1: github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.4.1/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= -github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ= -github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= +github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= +github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= github.com/GaijinEntertainment/go-exhaustruct/v2 v2.1.0/go.mod h1:LGOGuvEgCfCQsy3JF2tRmpGDpzA53iZfyGEWSPwQ6/4= github.com/HdrHistogram/hdrhistogram-go v1.1.0/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=