Fix tests #250
Annotations
7 errors and 2 warnings
Build and Test:
x/market/genesis_test.go#L49
unknown field Product in struct literal of type struct{Uid uint64 "protobuf:\"varint,1,opt,name=uid,proto3\" json:\"uid,omitempty\""; Owner string "protobuf:\"bytes,2,opt,name=owner,proto3\" json:\"owner,omitempty\""; Pair string "protobuf:\"bytes,3,opt,name=pair,proto3\" json:\"pair,omitempty\""; Active bool "protobuf:\"varint,4,opt,name=active,proto3\" json:\"active,omitempty\""; Drops "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,5,opt,name=drops,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"drops\""; TimeBeg int64 "protobuf:\"varint,6,opt,name=time_beg,json=timeBeg,proto3\" json:\"time_beg,omitempty\""; Coin1Beg "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,7,opt,name=coin1_beg,json=coin1Beg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin1_beg\""; Coin2Beg "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,8,opt,name=coin2_beg,json=coin2Beg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin2_beg\""; ProductBeg "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,9,opt,name=product_beg,json=productBeg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"product_beg\""; TimeEnd int64 "protobuf:\"varint,10,opt,name=time_end,json=timeEnd,proto3\" json:\"time_end,omitempty\""; Coin1End "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,11,opt,name=coin1_end,json=coin1End,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin1_end\""; Coin2End "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,12,opt,name=coin2_end,json=coin2End,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin2_end\""; ProductEnd "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,13,opt,name=product_end,json=productEnd,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"product_end\""}
|
Build and Test:
x/market/genesis_test.go#L57
unknown field Product in struct literal of type struct{Uid uint64 "protobuf:\"varint,1,opt,name=uid,proto3\" json:\"uid,omitempty\""; Owner string "protobuf:\"bytes,2,opt,name=owner,proto3\" json:\"owner,omitempty\""; Pair string "protobuf:\"bytes,3,opt,name=pair,proto3\" json:\"pair,omitempty\""; Active bool "protobuf:\"varint,4,opt,name=active,proto3\" json:\"active,omitempty\""; Drops "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,5,opt,name=drops,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"drops\""; TimeBeg int64 "protobuf:\"varint,6,opt,name=time_beg,json=timeBeg,proto3\" json:\"time_beg,omitempty\""; Coin1Beg "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,7,opt,name=coin1_beg,json=coin1Beg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin1_beg\""; Coin2Beg "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,8,opt,name=coin2_beg,json=coin2Beg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin2_beg\""; ProductBeg "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,9,opt,name=product_beg,json=productBeg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"product_beg\""; TimeEnd int64 "protobuf:\"varint,10,opt,name=time_end,json=timeEnd,proto3\" json:\"time_end,omitempty\""; Coin1End "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,11,opt,name=coin1_end,json=coin1End,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin1_end\""; Coin2End "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,12,opt,name=coin2_end,json=coin2End,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin2_end\""; ProductEnd "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,13,opt,name=product_end,json=productEnd,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"product_end\""}
|
Build and Test:
x/market/client/cli/query_drop_test.go#L37
unknown field Product in struct literal of type "github.com/pendulum-labs/market/x/market/types".Drop
|
Build and Test:
x/market/keeper/drop_test.go#L25
items[i].Product undefined (type "github.com/pendulum-labs/market/x/market/types".Drop has no field or method Product)
|
Build and Test:
x/market/types/genesis_test.go#L58
unknown field Product in struct literal of type struct{Uid uint64 "protobuf:\"varint,1,opt,name=uid,proto3\" json:\"uid,omitempty\""; Owner string "protobuf:\"bytes,2,opt,name=owner,proto3\" json:\"owner,omitempty\""; Pair string "protobuf:\"bytes,3,opt,name=pair,proto3\" json:\"pair,omitempty\""; Active bool "protobuf:\"varint,4,opt,name=active,proto3\" json:\"active,omitempty\""; Drops "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,5,opt,name=drops,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"drops\""; TimeBeg int64 "protobuf:\"varint,6,opt,name=time_beg,json=timeBeg,proto3\" json:\"time_beg,omitempty\""; Coin1Beg "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,7,opt,name=coin1_beg,json=coin1Beg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin1_beg\""; Coin2Beg "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,8,opt,name=coin2_beg,json=coin2Beg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin2_beg\""; ProductBeg "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,9,opt,name=product_beg,json=productBeg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"product_beg\""; TimeEnd int64 "protobuf:\"varint,10,opt,name=time_end,json=timeEnd,proto3\" json:\"time_end,omitempty\""; Coin1End "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,11,opt,name=coin1_end,json=coin1End,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin1_end\""; Coin2End "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,12,opt,name=coin2_end,json=coin2End,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin2_end\""; ProductEnd "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,13,opt,name=product_end,json=productEnd,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"product_end\""}
|
Build and Test:
x/market/types/genesis_test.go#L66
unknown field Product in struct literal of type struct{Uid uint64 "protobuf:\"varint,1,opt,name=uid,proto3\" json:\"uid,omitempty\""; Owner string "protobuf:\"bytes,2,opt,name=owner,proto3\" json:\"owner,omitempty\""; Pair string "protobuf:\"bytes,3,opt,name=pair,proto3\" json:\"pair,omitempty\""; Active bool "protobuf:\"varint,4,opt,name=active,proto3\" json:\"active,omitempty\""; Drops "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,5,opt,name=drops,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"drops\""; TimeBeg int64 "protobuf:\"varint,6,opt,name=time_beg,json=timeBeg,proto3\" json:\"time_beg,omitempty\""; Coin1Beg "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,7,opt,name=coin1_beg,json=coin1Beg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin1_beg\""; Coin2Beg "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,8,opt,name=coin2_beg,json=coin2Beg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin2_beg\""; ProductBeg "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,9,opt,name=product_beg,json=productBeg,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"product_beg\""; TimeEnd int64 "protobuf:\"varint,10,opt,name=time_end,json=timeEnd,proto3\" json:\"time_end,omitempty\""; Coin1End "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,11,opt,name=coin1_end,json=coin1End,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin1_end\""; Coin2End "github.com/cosmos/cosmos-sdk/types".Coin "protobuf:\"bytes,12,opt,name=coin2_end,json=coin2End,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin\" json:\"coin2_end\""; ProductEnd "github.com/cosmos/cosmos-sdk/types".Int "protobuf:\"bytes,13,opt,name=product_end,json=productEnd,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int\" json:\"product_end\""}
|
Build and Test
Process completed with exit code 1.
|
Build and Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build and Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|