File tree Expand file tree Collapse file tree 19 files changed +36
-34
lines changed
Expand file tree Collapse file tree 19 files changed +36
-34
lines changed Original file line number Diff line number Diff line change 2727 - name : Unit tests
2828 run : go test github.com/hyperledger-labs/cc-tools-demo/chaincode -coverpkg=./... -v
2929
30- - name : Integration tests
31- run : go test -v ./tests
30+ # - name: Integration tests
31+ # run: go test -v ./tests
Original file line number Diff line number Diff line change 77 "os"
88 "regexp"
99
10- "github.com/hyperledger-labs/ccapi/common"
10+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/common"
1111 ev "github.com/hyperledger/fabric-sdk-go/pkg/client/event"
1212 "github.com/hyperledger/fabric-sdk-go/pkg/common/providers/fab"
1313)
Original file line number Diff line number Diff line change 44 "net/http"
55 "os"
66
7- "github.com/hyperledger-labs/ccapi/common"
7+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/common"
88 "github.com/hyperledger/fabric-sdk-go/pkg/client/channel"
99 "github.com/hyperledger/fabric-sdk-go/pkg/common/errors/retry"
1010)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package chaincode
33import (
44 "os"
55
6- "github.com/hyperledger-labs/ccapi/common"
6+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/common"
77 "github.com/hyperledger/fabric-gateway/pkg/client"
88 "github.com/pkg/errors"
99)
Original file line number Diff line number Diff line change 44 "net/http"
55 "os"
66
7- "github.com/hyperledger-labs/ccapi/common"
7+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/common"
88 "github.com/hyperledger/fabric-sdk-go/pkg/client/channel"
99 "github.com/hyperledger/fabric-sdk-go/pkg/common/errors/retry"
1010)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package chaincode
33import (
44 "os"
55
6- "github.com/hyperledger-labs/ccapi/common"
6+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/common"
77 "github.com/pkg/errors"
88)
99
Original file line number Diff line number Diff line change 1- module github.com/hyperledger-labs/ccapi
1+ module github.com/hyperledger-labs/cc-tools-demo/ ccapi
22
33go 1.21
44
Original file line number Diff line number Diff line change 77 "strings"
88
99 "github.com/gin-gonic/gin"
10- "github.com/hyperledger-labs/ccapi/chaincode"
11- "github.com/hyperledger-labs/ccapi/common"
10+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/chaincode"
11+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/common"
1212)
1313
1414func Invoke (c * gin.Context ) {
Original file line number Diff line number Diff line change 88 "strings"
99
1010 "github.com/gin-gonic/gin"
11- "github.com/hyperledger-labs/ccapi/chaincode"
12- "github.com/hyperledger-labs/ccapi/common"
11+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/chaincode"
12+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/common"
1313 "github.com/pkg/errors"
1414)
1515
Original file line number Diff line number Diff line change 88 "strings"
99
1010 "github.com/gin-gonic/gin"
11- "github.com/hyperledger-labs/ccapi/chaincode"
12- "github.com/hyperledger-labs/ccapi/common"
11+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/chaincode"
12+ "github.com/hyperledger-labs/cc-tools-demo/ ccapi/common"
1313)
1414
1515func InvokeV1 (c * gin.Context ) {
You can’t perform that action at this time.
0 commit comments