Commit 0c20c414 authored by vipwzw's avatar vipwzw

auto ci

parent 3adcf733
......@@ -13,7 +13,6 @@ import (
"github.com/33cn/chain33/client/mocks"
rpctypes "github.com/33cn/chain33/rpc/types"
"github.com/33cn/chain33/types"
"github.com/33cn/plugin/plugin/dapp/evm/executor/vm/common"
pt "github.com/33cn/plugin/plugin/dapp/paracross/types"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
......
......@@ -191,6 +191,171 @@ func (m *ParacrossStatus) GetBlockHash() []byte {
return nil
}
type ParacrossConsensusStatus struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
ChainHeight int64 `protobuf:"varint,2,opt,name=chainHeight,proto3" json:"chainHeight,omitempty"`
ConsensHeight int64 `protobuf:"varint,3,opt,name=consensHeight,proto3" json:"consensHeight,omitempty"`
ConsensBlockHash string `protobuf:"bytes,4,opt,name=consensBlockHash,proto3" json:"consensBlockHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ParacrossConsensusStatus) Reset() { *m = ParacrossConsensusStatus{} }
func (m *ParacrossConsensusStatus) String() string { return proto.CompactTextString(m) }
func (*ParacrossConsensusStatus) ProtoMessage() {}
func (*ParacrossConsensusStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{3}
}
func (m *ParacrossConsensusStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ParacrossConsensusStatus.Unmarshal(m, b)
}
func (m *ParacrossConsensusStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ParacrossConsensusStatus.Marshal(b, m, deterministic)
}
func (m *ParacrossConsensusStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_ParacrossConsensusStatus.Merge(m, src)
}
func (m *ParacrossConsensusStatus) XXX_Size() int {
return xxx_messageInfo_ParacrossConsensusStatus.Size(m)
}
func (m *ParacrossConsensusStatus) XXX_DiscardUnknown() {
xxx_messageInfo_ParacrossConsensusStatus.DiscardUnknown(m)
}
var xxx_messageInfo_ParacrossConsensusStatus proto.InternalMessageInfo
func (m *ParacrossConsensusStatus) GetTitle() string {
if m != nil {
return m.Title
}
return ""
}
func (m *ParacrossConsensusStatus) GetChainHeight() int64 {
if m != nil {
return m.ChainHeight
}
return 0
}
func (m *ParacrossConsensusStatus) GetConsensHeight() int64 {
if m != nil {
return m.ConsensHeight
}
return 0
}
func (m *ParacrossConsensusStatus) GetConsensBlockHash() string {
if m != nil {
return m.ConsensBlockHash
}
return ""
}
type ParaBlock2MainMap struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
BlockHash string `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
MainHeight int64 `protobuf:"varint,3,opt,name=mainHeight,proto3" json:"mainHeight,omitempty"`
MainHash string `protobuf:"bytes,4,opt,name=mainHash,proto3" json:"mainHash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ParaBlock2MainMap) Reset() { *m = ParaBlock2MainMap{} }
func (m *ParaBlock2MainMap) String() string { return proto.CompactTextString(m) }
func (*ParaBlock2MainMap) ProtoMessage() {}
func (*ParaBlock2MainMap) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{4}
}
func (m *ParaBlock2MainMap) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ParaBlock2MainMap.Unmarshal(m, b)
}
func (m *ParaBlock2MainMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ParaBlock2MainMap.Marshal(b, m, deterministic)
}
func (m *ParaBlock2MainMap) XXX_Merge(src proto.Message) {
xxx_messageInfo_ParaBlock2MainMap.Merge(m, src)
}
func (m *ParaBlock2MainMap) XXX_Size() int {
return xxx_messageInfo_ParaBlock2MainMap.Size(m)
}
func (m *ParaBlock2MainMap) XXX_DiscardUnknown() {
xxx_messageInfo_ParaBlock2MainMap.DiscardUnknown(m)
}
var xxx_messageInfo_ParaBlock2MainMap proto.InternalMessageInfo
func (m *ParaBlock2MainMap) GetHeight() int64 {
if m != nil {
return m.Height
}
return 0
}
func (m *ParaBlock2MainMap) GetBlockHash() string {
if m != nil {
return m.BlockHash
}
return ""
}
func (m *ParaBlock2MainMap) GetMainHeight() int64 {
if m != nil {
return m.MainHeight
}
return 0
}
func (m *ParaBlock2MainMap) GetMainHash() string {
if m != nil {
return m.MainHash
}
return ""
}
type ParaBlock2MainInfo struct {
Items []*ParaBlock2MainMap `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ParaBlock2MainInfo) Reset() { *m = ParaBlock2MainInfo{} }
func (m *ParaBlock2MainInfo) String() string { return proto.CompactTextString(m) }
func (*ParaBlock2MainInfo) ProtoMessage() {}
func (*ParaBlock2MainInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{5}
}
func (m *ParaBlock2MainInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ParaBlock2MainInfo.Unmarshal(m, b)
}
func (m *ParaBlock2MainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ParaBlock2MainInfo.Marshal(b, m, deterministic)
}
func (m *ParaBlock2MainInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ParaBlock2MainInfo.Merge(m, src)
}
func (m *ParaBlock2MainInfo) XXX_Size() int {
return xxx_messageInfo_ParaBlock2MainInfo.Size(m)
}
func (m *ParaBlock2MainInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ParaBlock2MainInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ParaBlock2MainInfo proto.InternalMessageInfo
func (m *ParaBlock2MainInfo) GetItems() []*ParaBlock2MainMap {
if m != nil {
return m.Items
}
return nil
}
// action
type ParacrossNodeStatus struct {
MainBlockHash []byte `protobuf:"bytes,1,opt,name=mainBlockHash,proto3" json:"mainBlockHash,omitempty"`
......@@ -215,7 +380,7 @@ func (m *ParacrossNodeStatus) Reset() { *m = ParacrossNodeStatus{} }
func (m *ParacrossNodeStatus) String() string { return proto.CompactTextString(m) }
func (*ParacrossNodeStatus) ProtoMessage() {}
func (*ParacrossNodeStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{3}
return fileDescriptor_6a397e38c9ea6747, []int{6}
}
func (m *ParacrossNodeStatus) XXX_Unmarshal(b []byte) error {
......@@ -338,7 +503,7 @@ func (m *ParacrossCommitAction) Reset() { *m = ParacrossCommitAction{} }
func (m *ParacrossCommitAction) String() string { return proto.CompactTextString(m) }
func (*ParacrossCommitAction) ProtoMessage() {}
func (*ParacrossCommitAction) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{4}
return fileDescriptor_6a397e38c9ea6747, []int{7}
}
func (m *ParacrossCommitAction) XXX_Unmarshal(b []byte) error {
......@@ -377,7 +542,7 @@ func (m *ParacrossMinerAction) Reset() { *m = ParacrossMinerAction{} }
func (m *ParacrossMinerAction) String() string { return proto.CompactTextString(m) }
func (*ParacrossMinerAction) ProtoMessage() {}
func (*ParacrossMinerAction) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{5}
return fileDescriptor_6a397e38c9ea6747, []int{8}
}
func (m *ParacrossMinerAction) XXX_Unmarshal(b []byte) error {
......@@ -425,7 +590,7 @@ func (m *ParacrossAction) Reset() { *m = ParacrossAction{} }
func (m *ParacrossAction) String() string { return proto.CompactTextString(m) }
func (*ParacrossAction) ProtoMessage() {}
func (*ParacrossAction) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{6}
return fileDescriptor_6a397e38c9ea6747, []int{9}
}
func (m *ParacrossAction) XXX_Unmarshal(b []byte) error {
......@@ -739,7 +904,7 @@ func (m *ReceiptParacrossCommit) Reset() { *m = ReceiptParacrossCommit{}
func (m *ReceiptParacrossCommit) String() string { return proto.CompactTextString(m) }
func (*ReceiptParacrossCommit) ProtoMessage() {}
func (*ReceiptParacrossCommit) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{7}
return fileDescriptor_6a397e38c9ea6747, []int{10}
}
func (m *ReceiptParacrossCommit) XXX_Unmarshal(b []byte) error {
......@@ -799,7 +964,7 @@ func (m *ReceiptParacrossMiner) Reset() { *m = ReceiptParacrossMiner{} }
func (m *ReceiptParacrossMiner) String() string { return proto.CompactTextString(m) }
func (*ReceiptParacrossMiner) ProtoMessage() {}
func (*ReceiptParacrossMiner) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{8}
return fileDescriptor_6a397e38c9ea6747, []int{11}
}
func (m *ReceiptParacrossMiner) XXX_Unmarshal(b []byte) error {
......@@ -845,7 +1010,7 @@ func (m *ReceiptParacrossDone) Reset() { *m = ReceiptParacrossDone{} }
func (m *ReceiptParacrossDone) String() string { return proto.CompactTextString(m) }
func (*ReceiptParacrossDone) ProtoMessage() {}
func (*ReceiptParacrossDone) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{9}
return fileDescriptor_6a397e38c9ea6747, []int{12}
}
func (m *ReceiptParacrossDone) XXX_Unmarshal(b []byte) error {
......@@ -934,7 +1099,7 @@ func (m *ReceiptParacrossRecord) Reset() { *m = ReceiptParacrossRecord{}
func (m *ReceiptParacrossRecord) String() string { return proto.CompactTextString(m) }
func (*ReceiptParacrossRecord) ProtoMessage() {}
func (*ReceiptParacrossRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{10}
return fileDescriptor_6a397e38c9ea6747, []int{13}
}
func (m *ReceiptParacrossRecord) XXX_Unmarshal(b []byte) error {
......@@ -982,7 +1147,7 @@ func (m *ParacrossTx) Reset() { *m = ParacrossTx{} }
func (m *ParacrossTx) String() string { return proto.CompactTextString(m) }
func (*ParacrossTx) ProtoMessage() {}
func (*ParacrossTx) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{11}
return fileDescriptor_6a397e38c9ea6747, []int{14}
}
func (m *ParacrossTx) XXX_Unmarshal(b []byte) error {
......@@ -1023,7 +1188,7 @@ func (m *ReqParacrossTitleHeight) Reset() { *m = ReqParacrossTitleHeight
func (m *ReqParacrossTitleHeight) String() string { return proto.CompactTextString(m) }
func (*ReqParacrossTitleHeight) ProtoMessage() {}
func (*ReqParacrossTitleHeight) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{12}
return fileDescriptor_6a397e38c9ea6747, []int{15}
}
func (m *ReqParacrossTitleHeight) XXX_Unmarshal(b []byte) error {
......@@ -1069,7 +1234,7 @@ func (m *RespParacrossTitles) Reset() { *m = RespParacrossTitles{} }
func (m *RespParacrossTitles) String() string { return proto.CompactTextString(m) }
func (*RespParacrossTitles) ProtoMessage() {}
func (*RespParacrossTitles) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{13}
return fileDescriptor_6a397e38c9ea6747, []int{16}
}
func (m *RespParacrossTitles) XXX_Unmarshal(b []byte) error {
......@@ -1122,7 +1287,7 @@ func (m *ParacrossAsset) Reset() { *m = ParacrossAsset{} }
func (m *ParacrossAsset) String() string { return proto.CompactTextString(m) }
func (*ParacrossAsset) ProtoMessage() {}
func (*ParacrossAsset) Descriptor() ([]byte, []int) {
return fileDescriptor_6a397e38c9ea6747, []int{14}
return fileDescriptor_6a397e38c9ea6747, []int{17}
}
func (m *ParacrossAsset) XXX_Unmarshal(b []byte) error {
......@@ -1224,6 +1389,9 @@ func init() {
proto.RegisterType((*ParacrossStatusDetails)(nil), "types.ParacrossStatusDetails")
proto.RegisterType((*ParacrossHeightStatus)(nil), "types.ParacrossHeightStatus")
proto.RegisterType((*ParacrossStatus)(nil), "types.ParacrossStatus")
proto.RegisterType((*ParacrossConsensusStatus)(nil), "types.ParacrossConsensusStatus")
proto.RegisterType((*ParaBlock2MainMap)(nil), "types.ParaBlock2MainMap")
proto.RegisterType((*ParaBlock2MainInfo)(nil), "types.ParaBlock2MainInfo")
proto.RegisterType((*ParacrossNodeStatus)(nil), "types.ParacrossNodeStatus")
proto.RegisterType((*ParacrossCommitAction)(nil), "types.ParacrossCommitAction")
proto.RegisterType((*ParacrossMinerAction)(nil), "types.ParacrossMinerAction")
......@@ -1241,71 +1409,78 @@ func init() {
func init() { proto.RegisterFile("paracross.proto", fileDescriptor_6a397e38c9ea6747) }
var fileDescriptor_6a397e38c9ea6747 = []byte{
// 1020 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x5f, 0x6f, 0x1b, 0x45,
0x10, 0xf7, 0x9d, 0xff, 0x66, 0x1c, 0x3b, 0xe9, 0x36, 0x71, 0x4f, 0x47, 0x41, 0xd6, 0x09, 0x90,
0x85, 0x50, 0x84, 0x1c, 0x29, 0x08, 0x21, 0x1e, 0xda, 0xb4, 0x8a, 0x5b, 0x4a, 0x41, 0x9b, 0x20,
0x9e, 0x90, 0xb8, 0x9c, 0xb7, 0xf1, 0x09, 0xdf, 0xad, 0x7b, 0xbb, 0x6e, 0xe3, 0x77, 0x3e, 0x03,
0x1f, 0x83, 0x17, 0xde, 0xf8, 0x00, 0x3c, 0xf0, 0xa9, 0xd0, 0xce, 0xed, 0xee, 0xfd, 0x89, 0x65,
0x55, 0xd0, 0xb7, 0x9d, 0xd9, 0x99, 0xdf, 0xec, 0xcc, 0xfc, 0x76, 0x76, 0xe1, 0x60, 0x15, 0x66,
0x61, 0x94, 0x71, 0x21, 0x4e, 0x56, 0x19, 0x97, 0x9c, 0xb4, 0xe5, 0x66, 0xc5, 0x84, 0x7f, 0x4f,
0x66, 0x61, 0x2a, 0xc2, 0x48, 0xc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, 0x2a, 0x41, 0xfd, 0xc8, 0x1f, 0xa3,
0xc5, 0x1d, 0xbd, 0x3a, 0xbf, 0xfa, 0xe0, 0x69, 0xab, 0x11, 0x5a, 0x95, 0x34, 0xea, 0x6d, 0x14,
0xeb, 0x28, 0x62, 0x42, 0x78, 0x0f, 0x30, 0x39, 0x23, 0x4e, 0xff, 0x72, 0x61, 0xcf, 0xfe, 0x0d,
0xc9, 0x19, 0xf4, 0x2e, 0x98, 0xc4, 0x06, 0x90, 0x43, 0x5b, 0xef, 0xd7, 0x97, 0x32, 0x8b, 0xd3,
0x1b, 0x7f, 0xb4, 0xfd, 0xeb, 0x14, 0x34, 0xc8, 0x57, 0x00, 0x2f, 0x62, 0x21, 0x75, 0xe7, 0x06,
0x85, 0xe7, 0xcb, 0x78, 0xe9, 0xfb, 0x56, 0xbc, 0xd3, 0xe4, 0xa0, 0x41, 0xbe, 0x87, 0xa1, 0x09,
0x69, 0x92, 0x29, 0xdc, 0xb7, 0xb1, 0xcb, 0xdf, 0x45, 0x84, 0xa0, 0x41, 0xbe, 0x86, 0xc3, 0x0b,
0x26, 0xb1, 0xf7, 0xf6, 0x6d, 0x1f, 0x16, 0x90, 0xaa, 0x6f, 0xfe, 0x71, 0x3d, 0x13, 0x34, 0x0f,
0x1a, 0xe4, 0x73, 0xe8, 0x3c, 0x13, 0x97, 0x9b, 0x34, 0xaa, 0x27, 0x71, 0x4f, 0x8b, 0xcf, 0xc4,
0x79, 0xb8, 0xbe, 0x59, 0xc8, 0x1f, 0x57, 0x41, 0xe3, 0xba, 0x83, 0x3f, 0xe2, 0xd3, 0x7f, 0x03,
0x00, 0x00, 0xff, 0xff, 0x8a, 0x1e, 0xc2, 0xb5, 0x5e, 0x0b, 0x00, 0x00,
// 1135 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xdd, 0x6e, 0x1b, 0x45,
0x14, 0xf6, 0x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 0xca, 0xf0, 0xdc, 0x0c, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -1320,7 +1495,7 @@ const _ = grpc.SupportPackageIsVersion4
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ParacrossClient interface {
GetTitle(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ParacrossStatus, error)
GetTitle(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ParacrossConsensusStatus, error)
ListTitles(ctx context.Context, in *types.ReqNil, opts ...grpc.CallOption) (*RespParacrossTitles, error)
GetTitleHeight(ctx context.Context, in *ReqParacrossTitleHeight, opts ...grpc.CallOption) (*ReceiptParacrossDone, error)
GetAssetTxResult(ctx context.Context, in *types.ReqHash, opts ...grpc.CallOption) (*ParacrossAsset, error)
......@@ -1335,8 +1510,8 @@ func NewParacrossClient(cc *grpc.ClientConn) ParacrossClient {
return &paracrossClient{cc}
}
func (c *paracrossClient) GetTitle(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ParacrossStatus, error) {
out := new(ParacrossStatus)
func (c *paracrossClient) GetTitle(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ParacrossConsensusStatus, error) {
out := new(ParacrossConsensusStatus)
err := c.cc.Invoke(ctx, "/types.paracross/GetTitle", in, out, opts...)
if err != nil {
return nil, err
......@@ -1382,7 +1557,7 @@ func (c *paracrossClient) IsSync(ctx context.Context, in *types.ReqNil, opts ...
// ParacrossServer is the server API for Paracross service.
type ParacrossServer interface {
GetTitle(context.Context, *types.ReqString) (*ParacrossStatus, error)
GetTitle(context.Context, *types.ReqString) (*ParacrossConsensusStatus, error)
ListTitles(context.Context, *types.ReqNil) (*RespParacrossTitles, error)
GetTitleHeight(context.Context, *ReqParacrossTitleHeight) (*ReceiptParacrossDone, error)
GetAssetTxResult(context.Context, *types.ReqHash) (*ParacrossAsset, error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment