File tree Expand file tree Collapse file tree 8 files changed +12
-14
lines changed Expand file tree Collapse file tree 8 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 77 "math/bits"
88 "sync"
99
10- "github.com/filecoin-project/go-commp-utils/zerocomm"
10+ "github.com/filecoin-project/go-commp-utils/v2/ zerocomm"
1111 commcid "github.com/filecoin-project/go-fil-commcid"
1212 "github.com/filecoin-project/go-state-types/abi"
1313 "github.com/ipfs/go-cid"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package commp_test
33import (
44 "testing"
55
6- "github.com/filecoin-project/go-commp-utils"
7- "github.com/filecoin-project/go-commp-utils/zerocomm"
6+ "github.com/filecoin-project/go-commp-utils/v2 "
7+ "github.com/filecoin-project/go-commp-utils/v2/ zerocomm"
88 "github.com/filecoin-project/go-state-types/abi"
99 "github.com/ipfs/go-cid"
1010)
Original file line number Diff line number Diff line change 44 "bytes"
55 "testing"
66
7- "github.com/filecoin-project/go-commp-utils"
7+ "github.com/filecoin-project/go-commp-utils/v2 "
88 "github.com/filecoin-project/go-state-types/abi"
99 "github.com/ipfs/go-cid"
1010)
Original file line number Diff line number Diff line change 1- module github.com/filecoin-project/go-commp-utils
1+ module github.com/filecoin-project/go-commp-utils/v2
22
33go 1.21
44
Original file line number Diff line number Diff line change 11{
2- "version" : " v0.1.4 "
2+ "version" : " v2.0.0 "
33}
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import (
1111 "github.com/filecoin-project/go-padreader"
1212 "github.com/filecoin-project/go-state-types/abi"
1313
14- commp "github.com/filecoin-project/go-commp-utils"
15- "github.com/filecoin-project/go-commp-utils/zerocomm"
14+ commp "github.com/filecoin-project/go-commp-utils/v2 "
15+ "github.com/filecoin-project/go-commp-utils/v2/ zerocomm"
1616)
1717
1818type DataCIDSize struct {
Original file line number Diff line number Diff line change @@ -9,11 +9,10 @@ import (
99
1010 "github.com/stretchr/testify/require"
1111
12- "github.com/filecoin-project/go-commp-utils"
12+ "github.com/filecoin-project/go-commp-utils/v2"
13+ "github.com/filecoin-project/go-commp-utils/v2/zerocomm"
1314 "github.com/filecoin-project/go-padreader"
1415 "github.com/filecoin-project/go-state-types/abi"
15-
16- "github.com/filecoin-project/go-commp-utils/zerocomm"
1716)
1817
1918func TestWriterZero (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -6,12 +6,11 @@ import (
66 "io"
77 "testing"
88
9- "github.com/filecoin-project/go-commp-utils"
9+ "github.com/filecoin-project/go-commp-utils/v2"
10+ "github.com/filecoin-project/go-commp-utils/v2/zerocomm"
1011 commcid "github.com/filecoin-project/go-fil-commcid"
1112 abi "github.com/filecoin-project/go-state-types/abi"
1213 "github.com/ipfs/go-cid"
13-
14- "github.com/filecoin-project/go-commp-utils/zerocomm"
1514)
1615
1716func TestComms (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments