Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
13e2b599
Commit
13e2b599
authored
Dec 21, 2021
by
hezhengjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify WithdrawTx
parent
abf6eb8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
16 deletions
+40
-16
relayer.proto
plugin/dapp/cross2eth/ebrelayer/proto/relayer.proto
+3
-1
relayer.pb.go
plugin/dapp/cross2eth/ebrelayer/types/relayer.pb.go
+37
-15
No files found.
plugin/dapp/cross2eth/ebrelayer/proto/relayer.proto
View file @
13e2b599
...
...
@@ -272,7 +272,9 @@ message WithdrawTx {
int32
year
=
9
;
int32
month
=
10
;
int32
day
=
11
;
string
status
=
12
;
int32
status
=
12
;
int32
statusDescription
=
13
;
string
errorDescription
=
14
;
}
message
WithdrawFromChain33
{
...
...
plugin/dapp/cross2eth/ebrelayer/types/relayer.pb.go
View file @
13e2b599
...
...
@@ -2611,7 +2611,9 @@ type WithdrawTx struct {
Year
int32
`protobuf:"varint,9,opt,name=year,proto3" json:"year,omitempty"`
Month
int32
`protobuf:"varint,10,opt,name=month,proto3" json:"month,omitempty"`
Day
int32
`protobuf:"varint,11,opt,name=day,proto3" json:"day,omitempty"`
Status
string
`protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
Status
int32
`protobuf:"varint,12,opt,name=status,proto3" json:"status,omitempty"`
StatusDescription
int32
`protobuf:"varint,13,opt,name=statusDescription,proto3" json:"statusDescription,omitempty"`
ErrorDescription
string
`protobuf:"bytes,14,opt,name=errorDescription,proto3" json:"errorDescription,omitempty"`
}
func
(
x
*
WithdrawTx
)
Reset
()
{
...
...
@@ -2716,10 +2718,24 @@ func (x *WithdrawTx) GetDay() int32 {
return
0
}
func
(
x
*
WithdrawTx
)
GetStatus
()
string
{
func
(
x
*
WithdrawTx
)
GetStatus
()
int32
{
if
x
!=
nil
{
return
x
.
Status
}
return
0
}
func
(
x
*
WithdrawTx
)
GetStatusDescription
()
int32
{
if
x
!=
nil
{
return
x
.
StatusDescription
}
return
0
}
func
(
x
*
WithdrawTx
)
GetErrorDescription
()
string
{
if
x
!=
nil
{
return
x
.
ErrorDescription
}
return
""
}
...
...
@@ -3094,7 +3110,7 @@ var file_relayer_proto_rawDesc = []byte{
0x79
,
0x12
,
0x29
,
0x0a
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x0b
,
0x32
,
0x13
,
0x2e
,
0x74
,
0x79
,
0x70
,
0x65
,
0x73
,
0x2e
,
0x77
,
0x69
,
0x74
,
0x68
,
0x64
,
0x72
,
0x61
,
0x77
,
0x50
,
0x61
,
0x72
,
0x61
,
0x52
,
0x05
,
0x76
,
0x61
,
0x6c
,
0x75
,
0x65
,
0x3a
,
0x02
,
0x38
,
0x01
,
0x22
,
0x
ce
,
0x02
,
0x0a
,
0x0a
,
0x57
,
0x69
,
0x74
,
0x68
,
0x64
,
0x72
,
0x61
,
0x77
,
0x54
,
0x78
,
0x12
,
0x22
,
0x
a8
,
0x03
,
0x0a
,
0x0a
,
0x57
,
0x69
,
0x74
,
0x68
,
0x64
,
0x72
,
0x61
,
0x77
,
0x54
,
0x78
,
0x12
,
0x24
,
0x0a
,
0x0d
,
0x63
,
0x68
,
0x61
,
0x69
,
0x6e
,
0x33
,
0x33
,
0x53
,
0x65
,
0x6e
,
0x64
,
0x65
,
0x72
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x0d
,
0x63
,
0x68
,
0x61
,
0x69
,
0x6e
,
0x33
,
0x33
,
0x53
,
0x65
,
0x6e
,
0x64
,
0x65
,
0x72
,
0x12
,
0x2a
,
0x0a
,
0x10
,
0x65
,
0x74
,
0x68
,
0x65
,
0x72
,
0x65
,
0x75
,
...
...
@@ -3114,18 +3130,24 @@ var file_relayer_proto_rawDesc = []byte{
0x72
,
0x12
,
0x14
,
0x0a
,
0x05
,
0x6d
,
0x6f
,
0x6e
,
0x74
,
0x68
,
0x18
,
0x0a
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x05
,
0x6d
,
0x6f
,
0x6e
,
0x74
,
0x68
,
0x12
,
0x10
,
0x0a
,
0x03
,
0x64
,
0x61
,
0x79
,
0x18
,
0x0b
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x03
,
0x64
,
0x61
,
0x79
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x22
,
0x93
,
0x01
,
0x0a
,
0x13
,
0x57
,
0x69
,
0x74
,
0x68
,
0x64
,
0x72
,
0x61
,
0x77
,
0x46
,
0x72
,
0x6f
,
0x6d
,
0x43
,
0x68
,
0x61
,
0x69
,
0x6e
,
0x33
,
0x33
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x6f
,
0x77
,
0x6e
,
0x65
,
0x72
,
0x4b
,
0x65
,
0x79
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x6f
,
0x77
,
0x6e
,
0x65
,
0x72
,
0x4b
,
0x65
,
0x79
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x6f
,
0x6b
,
0x65
,
0x6e
,
0x41
,
0x64
,
0x64
,
0x72
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x09
,
0x74
,
0x6f
,
0x6b
,
0x65
,
0x6e
,
0x41
,
0x64
,
0x64
,
0x72
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x61
,
0x6d
,
0x6f
,
0x75
,
0x6e
,
0x74
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x61
,
0x6d
,
0x6f
,
0x75
,
0x6e
,
0x74
,
0x12
,
0x2a
,
0x0a
,
0x10
,
0x65
,
0x74
,
0x68
,
0x65
,
0x72
,
0x65
,
0x75
,
0x6d
,
0x52
,
0x65
,
0x63
,
0x65
,
0x69
,
0x76
,
0x65
,
0x72
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x10
,
0x65
,
0x74
,
0x68
,
0x65
,
0x72
,
0x65
,
0x75
,
0x6d
,
0x52
,
0x65
,
0x63
,
0x65
,
0x69
,
0x76
,
0x65
,
0x72
,
0x42
,
0x0a
,
0x5a
,
0x08
,
0x2e
,
0x2e
,
0x2f
,
0x74
,
0x79
,
0x70
,
0x65
,
0x73
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
0x74
,
0x75
,
0x73
,
0x18
,
0x0c
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x06
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x12
,
0x2c
,
0x0a
,
0x11
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x44
,
0x65
,
0x73
,
0x63
,
0x72
,
0x69
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0d
,
0x20
,
0x01
,
0x28
,
0x05
,
0x52
,
0x11
,
0x73
,
0x74
,
0x61
,
0x74
,
0x75
,
0x73
,
0x44
,
0x65
,
0x73
,
0x63
,
0x72
,
0x69
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x12
,
0x2a
,
0x0a
,
0x10
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x44
,
0x65
,
0x73
,
0x63
,
0x72
,
0x69
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x18
,
0x0e
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x10
,
0x65
,
0x72
,
0x72
,
0x6f
,
0x72
,
0x44
,
0x65
,
0x73
,
0x63
,
0x72
,
0x69
,
0x70
,
0x74
,
0x69
,
0x6f
,
0x6e
,
0x22
,
0x93
,
0x01
,
0x0a
,
0x13
,
0x57
,
0x69
,
0x74
,
0x68
,
0x64
,
0x72
,
0x61
,
0x77
,
0x46
,
0x72
,
0x6f
,
0x6d
,
0x43
,
0x68
,
0x61
,
0x69
,
0x6e
,
0x33
,
0x33
,
0x12
,
0x1a
,
0x0a
,
0x08
,
0x6f
,
0x77
,
0x6e
,
0x65
,
0x72
,
0x4b
,
0x65
,
0x79
,
0x18
,
0x01
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x08
,
0x6f
,
0x77
,
0x6e
,
0x65
,
0x72
,
0x4b
,
0x65
,
0x79
,
0x12
,
0x1c
,
0x0a
,
0x09
,
0x74
,
0x6f
,
0x6b
,
0x65
,
0x6e
,
0x41
,
0x64
,
0x64
,
0x72
,
0x18
,
0x02
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x09
,
0x74
,
0x6f
,
0x6b
,
0x65
,
0x6e
,
0x41
,
0x64
,
0x64
,
0x72
,
0x12
,
0x16
,
0x0a
,
0x06
,
0x61
,
0x6d
,
0x6f
,
0x75
,
0x6e
,
0x74
,
0x18
,
0x03
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x06
,
0x61
,
0x6d
,
0x6f
,
0x75
,
0x6e
,
0x74
,
0x12
,
0x2a
,
0x0a
,
0x10
,
0x65
,
0x74
,
0x68
,
0x65
,
0x72
,
0x65
,
0x75
,
0x6d
,
0x52
,
0x65
,
0x63
,
0x65
,
0x69
,
0x76
,
0x65
,
0x72
,
0x18
,
0x04
,
0x20
,
0x01
,
0x28
,
0x09
,
0x52
,
0x10
,
0x65
,
0x74
,
0x68
,
0x65
,
0x72
,
0x65
,
0x75
,
0x6d
,
0x52
,
0x65
,
0x63
,
0x65
,
0x69
,
0x76
,
0x65
,
0x72
,
0x42
,
0x0a
,
0x5a
,
0x08
,
0x2e
,
0x2e
,
0x2f
,
0x74
,
0x79
,
0x70
,
0x65
,
0x73
,
0x62
,
0x06
,
0x70
,
0x72
,
0x6f
,
0x74
,
0x6f
,
0x33
,
}
var
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment