You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make 成功了,但 make test 的时候报以下错误
go test github.com/xuperchain/xuper-sdk-go/account
ok github.com/xuperchain/xuper-sdk-go/account 0.030s
go test github.com/xuperchain/xuper-sdk-go/transfer
ok github.com/xuperchain/xuper-sdk-go/transfer (cached)
go test github.com/xuperchain/xuper-sdk-go/common
ok github.com/xuperchain/xuper-sdk-go/common (cached)
go test github.com/xuperchain/xuper-sdk-go/contract_account
ok github.com/xuperchain/xuper-sdk-go/contract_account (cached)
go test github.com/xuperchain/xuper-sdk-go/contract
ok github.com/xuperchain/xuper-sdk-go/contract (cached)
go test github.com/xuperchain/xuper-sdk-go/xchain
xchain/xchain_test.go:41:5: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:43:5: cli.To undefined (type *Xchain has no field or method To)
xchain/xchain_test.go:55:40: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:81:26: not enough arguments in call to cli.GenRealTx
have (*pb.PreExecWithSelectUTXOResponse, *pb.Transaction)
want (*pb.PreExecWithSelectUTXOResponse, *pb.Transaction, string)
xchain/xchain_test.go:92:6: assignment mismatch: 1 variable but cli.PostTx returns 2 values
xchain/xchain_test.go:104:5: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:106:5: cli.To undefined (type *Xchain has no field or method To)
xchain/xchain_test.go:118:40: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:143:44: cli.To undefined (type *Xchain has no field or method To)
xchain/xchain_test.go:143:52: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:143:52: too many errors
FAIL github.com/xuperchain/xuper-sdk-go/xchain [build failed]
FAIL
Makefile:20: recipe for target 'test' failed
make: *** [test] Error 2
The text was updated successfully, but these errors were encountered:
make 成功了,但 make test 的时候报以下错误
go test github.com/xuperchain/xuper-sdk-go/account
ok github.com/xuperchain/xuper-sdk-go/account 0.030s
go test github.com/xuperchain/xuper-sdk-go/transfer
ok github.com/xuperchain/xuper-sdk-go/transfer (cached)
go test github.com/xuperchain/xuper-sdk-go/common
ok github.com/xuperchain/xuper-sdk-go/common (cached)
go test github.com/xuperchain/xuper-sdk-go/contract_account
ok github.com/xuperchain/xuper-sdk-go/contract_account (cached)
go test github.com/xuperchain/xuper-sdk-go/contract
ok github.com/xuperchain/xuper-sdk-go/contract (cached)
go test github.com/xuperchain/xuper-sdk-go/xchain
github.com/xuperchain/xuper-sdk-go/xchain [github.com/xuperchain/xuper-sdk-go/xchain.test]
xchain/xchain_test.go:41:5: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:43:5: cli.To undefined (type *Xchain has no field or method To)
xchain/xchain_test.go:55:40: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:81:26: not enough arguments in call to cli.GenRealTx
have (*pb.PreExecWithSelectUTXOResponse, *pb.Transaction)
want (*pb.PreExecWithSelectUTXOResponse, *pb.Transaction, string)
xchain/xchain_test.go:92:6: assignment mismatch: 1 variable but cli.PostTx returns 2 values
xchain/xchain_test.go:104:5: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:106:5: cli.To undefined (type *Xchain has no field or method To)
xchain/xchain_test.go:118:40: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:143:44: cli.To undefined (type *Xchain has no field or method To)
xchain/xchain_test.go:143:52: cli.Amount undefined (type *Xchain has no field or method Amount)
xchain/xchain_test.go:143:52: too many errors
FAIL github.com/xuperchain/xuper-sdk-go/xchain [build failed]
FAIL
Makefile:20: recipe for target 'test' failed
make: *** [test] Error 2
The text was updated successfully, but these errors were encountered: