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
42a36561
Commit
42a36561
authored
Jun 30, 2021
by
袁兴强
Committed by
33cn
Jul 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename proto, fix namespace conflict
parent
37ca55e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
25 deletions
+22
-25
ethoracle.proto
plugin/dapp/x2ethereum/proto/ethoracle.proto
+0
-0
ethoracle.pb.go
plugin/dapp/x2ethereum/types/ethoracle.pb.go
+22
-25
No files found.
plugin/dapp/x2ethereum/proto/oracle.proto
→
plugin/dapp/x2ethereum/proto/
eth
oracle.proto
View file @
42a36561
File moved
plugin/dapp/x2ethereum/types/oracle.pb.go
→
plugin/dapp/x2ethereum/types/
eth
oracle.pb.go
View file @
42a36561
// Code generated by protoc-gen-go. DO NOT EDIT.
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: oracle.proto
// source:
eth
oracle.proto
package
types
package
types
import
(
import
(
fmt
"fmt"
fmt
"fmt"
math
"math"
proto
"github.com/golang/protobuf/proto"
proto
"github.com/golang/protobuf/proto"
math
"math"
)
)
// Reference imports to suppress errors if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
...
@@ -35,7 +34,7 @@ func (m *OracleClaim) Reset() { *m = OracleClaim{} }
...
@@ -35,7 +34,7 @@ func (m *OracleClaim) Reset() { *m = OracleClaim{} }
func
(
m
*
OracleClaim
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
OracleClaim
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
OracleClaim
)
ProtoMessage
()
{}
func
(
*
OracleClaim
)
ProtoMessage
()
{}
func
(
*
OracleClaim
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
OracleClaim
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
b544994cdab50f02
,
[]
int
{
0
}
return
fileDescriptor_
5f8f811c6e0fbec0
,
[]
int
{
0
}
}
}
func
(
m
*
OracleClaim
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
OracleClaim
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
@@ -91,7 +90,7 @@ func (m *Prophecy) Reset() { *m = Prophecy{} }
...
@@ -91,7 +90,7 @@ func (m *Prophecy) Reset() { *m = Prophecy{} }
func
(
m
*
Prophecy
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
Prophecy
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Prophecy
)
ProtoMessage
()
{}
func
(
*
Prophecy
)
ProtoMessage
()
{}
func
(
*
Prophecy
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
Prophecy
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_
b544994cdab50f02
,
[]
int
{
1
}
return
fileDescriptor_
5f8f811c6e0fbec0
,
[]
int
{
1
}
}
}
func
(
m
*
Prophecy
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
Prophecy
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
...
@@ -145,24 +144,22 @@ func init() {
...
@@ -145,24 +144,22 @@ func init() {
proto
.
RegisterType
((
*
Prophecy
)(
nil
),
"types.Prophecy"
)
proto
.
RegisterType
((
*
Prophecy
)(
nil
),
"types.Prophecy"
)
}
}
func
init
()
{
func
init
()
{
proto
.
RegisterFile
(
"ethoracle.proto"
,
fileDescriptor_5f8f811c6e0fbec0
)
}
proto
.
RegisterFile
(
"oracle.proto"
,
fileDescriptor_b544994cdab50f02
)
}
var
fileDescriptor_5f8f811c6e0fbec0
=
[]
byte
{
// 218 bytes of a gzipped FileDescriptorProto
var
fileDescriptor_b544994cdab50f02
=
[]
byte
{
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0x4f
,
0x2d
,
0xc9
,
0xc8
,
// 215 bytes of a gzipped FileDescriptorProto
0x2f
,
0x4a
,
0x4c
,
0xce
,
0x49
,
0xd5
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x2d
,
0xa9
,
0x2c
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0xe2
,
0xc9
,
0x2f
,
0x4a
,
0x4c
,
0x48
,
0x2d
,
0x96
,
0x12
,
0xa8
,
0x30
,
0x4a
,
0x2d
,
0xc9
,
0x48
,
0x2d
,
0x4a
,
0x2d
,
0xcd
,
0x85
,
0x48
,
0xce
,
0x49
,
0xd5
,
0x2b
,
0x28
,
0xca
,
0x2f
,
0xc9
,
0x17
,
0x62
,
0x2d
,
0xa9
,
0x2c
,
0x48
,
0x2d
,
0x96
,
0x28
,
0x25
,
0x73
,
0x71
,
0xfb
,
0x83
,
0x15
,
0x3a
,
0xe7
,
0x24
,
0x66
,
0xe6
,
0x0a
,
0xf1
,
0x71
,
0x31
,
0x12
,
0xa8
,
0x30
,
0x4a
,
0x2d
,
0xc9
,
0x48
,
0x2d
,
0x4a
,
0x2d
,
0xcd
,
0x85
,
0x48
,
0x28
,
0x25
,
0x73
,
0x79
,
0xba
,
0x48
,
0x30
,
0x2a
,
0x30
,
0x6a
,
0x70
,
0x06
,
0x31
,
0x79
,
0xba
,
0x08
,
0x69
,
0x71
,
0x09
,
0x71
,
0xfb
,
0x83
,
0x15
,
0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xe8
,
0x72
,
0xb1
,
0x05
,
0x97
,
0x24
,
0x96
,
0x94
,
0x42
,
0x0c
,
0xe6
,
0x36
,
0x12
,
0xc0
,
0xc5
,
0x0f
,
0x76
,
0x2a
,
0xdc
,
0xfa
,
0x62
,
0x09
,
0x66
,
0x05
,
0x66
,
0x0d
,
0x6e
,
0x23
,
0x31
,
0xd5
,
0x03
,
0xbb
,
0x55
,
0x0f
,
0xa6
,
0x01
,
0x22
,
0x19
,
0x04
,
0x55
,
0x24
,
0xe4
,
0xc0
,
0xc5
,
0x0f
,
0xa8
,
0x3e
,
0x34
,
0xd9
,
0x20
,
0x74
,
0xe5
,
0x20
,
0x13
,
0xe0
,
0x3c
,
0xb0
,
0x5c
,
0xb1
,
0x04
,
0x0b
,
0x76
,
0x2a
,
0xdc
,
0xfa
,
0x62
,
0x09
,
0x66
,
0x05
,
0x66
,
0x0d
,
0x6e
,
0x23
,
0x31
,
0xa8
,
0x3e
,
0x34
,
0x8a
,
0x09
,
0x68
,
0xb2
,
0x41
,
0xe8
,
0xca
,
0x93
,
0xd8
,
0xc0
,
0x61
,
0x67
,
0x0c
,
0x08
,
0x00
,
0x00
,
0xd9
,
0x20
,
0x74
,
0xe5
,
0x20
,
0x13
,
0xe0
,
0x3c
,
0xb0
,
0x5c
,
0xb1
,
0x04
,
0x0b
,
0x8a
,
0x09
,
0x68
,
0xff
,
0xff
,
0xf6
,
0xef
,
0xfa
,
0xc4
,
0x67
,
0x01
,
0x00
,
0x00
,
0xb2
,
0x41
,
0xe8
,
0xca
,
0x93
,
0xd8
,
0xc0
,
0x61
,
0x67
,
0x0c
,
0x08
,
0x00
,
0x00
,
0xff
,
0xff
,
0xaa
,
0xc9
,
0xe8
,
0x1d
,
0x64
,
0x01
,
0x00
,
0x00
,
}
}
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