diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 31d8c4b3..4effe535 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -13,7 +13,7 @@ on: env: GreenfieldTag: develop - GreenfieldStorageProviderTag: feat-add-tags + GreenfieldStorageProviderTag: develop GOPRIVATE: github.com/bnb-chain GH_ACCESS_TOKEN: ${{ secrets.GH_TOKEN }} MYSQL_USER: root diff --git a/types/types.go b/types/types.go index 2194e4b6..27a9da77 100644 --- a/types/types.go +++ b/types/types.go @@ -6,10 +6,12 @@ import ( "net/url" "time" + sdk "github.com/cosmos/cosmos-sdk/types" + proto "github.com/cosmos/gogoproto/proto" + spTypes "github.com/bnb-chain/greenfield/x/sp/types" storagetypes "github.com/bnb-chain/greenfield/x/storage/types" "github.com/bnb-chain/greenfield/x/virtualgroup/types" - sdk "github.com/cosmos/cosmos-sdk/types" ) var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") @@ -27,10 +29,14 @@ type ObjectStat struct { // ObjectDetail contains the detailed info of the object stored on Greenfield. type ObjectDetail struct { - ObjectInfo *storagetypes.ObjectInfo - GlobalVirtualGroup *types.GlobalVirtualGroup + ObjectInfo *storagetypes.ObjectInfo `protobuf:"bytes,1,opt,name=object_info" json:"object_info,omitempty"` + GlobalVirtualGroup *types.GlobalVirtualGroup `protobuf:"bytes,2,opt,name=global_virtual_group" json:"global_virtual_group,omitempty"` } +func (m *ObjectDetail) ProtoMessage() {} +func (m *ObjectDetail) Reset() { *m = ObjectDetail{} } +func (m *ObjectDetail) String() string { return proto.CompactTextString(m) } + // QueryPieceInfo indicates the challenge or recovery object piece info. // If it is primary sp, the RedundancyIndex value should be -1, else it indicates the index of secondary sp. type QueryPieceInfo struct {