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
5c8468ee
Commit
5c8468ee
authored
Nov 13, 2020
by
袁兴强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update wasm protobuf
parent
71c02eab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
36 deletions
+26
-36
wasm.proto
plugin/dapp/wasm/proto/wasm.proto
+1
-2
wasm.pb.go
plugin/dapp/wasm/types/wasm.pb.go
+25
-34
No files found.
plugin/dapp/wasm/proto/wasm.proto
View file @
5c8468ee
...
...
@@ -42,7 +42,6 @@ message callContractLog {
message
localDataLog
{
bytes
key
=
1
;
bytes
preValue
=
2
;
bytes
curValue
=
3
;
bytes
value
=
2
;
}
plugin/dapp/wasm/types/wasm.pb.go
View file @
5c8468ee
...
...
@@ -392,8 +392,7 @@ func (m *CallContractLog) GetResult() int64 {
type
LocalDataLog
struct
{
Key
[]
byte
`protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
PreValue
[]
byte
`protobuf:"bytes,2,opt,name=preValue,proto3" json:"preValue,omitempty"`
CurValue
[]
byte
`protobuf:"bytes,3,opt,name=curValue,proto3" json:"curValue,omitempty"`
Value
[]
byte
`protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
...
@@ -431,16 +430,9 @@ func (m *LocalDataLog) GetKey() []byte {
return
nil
}
func
(
m
*
LocalDataLog
)
Get
Pre
Value
()
[]
byte
{
func
(
m
*
LocalDataLog
)
GetValue
()
[]
byte
{
if
m
!=
nil
{
return
m
.
PreValue
}
return
nil
}
func
(
m
*
LocalDataLog
)
GetCurValue
()
[]
byte
{
if
m
!=
nil
{
return
m
.
CurValue
return
m
.
Value
}
return
nil
}
...
...
@@ -459,27 +451,26 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"wasm.proto"
,
fileDescriptor_7d78909ad64e3bbb
)
}
var
fileDescriptor_7d78909ad64e3bbb
=
[]
byte
{
// 342 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x9c
,
0x52
,
0xbf
,
0x4f
,
0xf3
,
0x30
,
0x10
,
0x6d
,
0xea
,
0x36
,
0x5f
,
0x73
,
0x5f
,
0x45
,
0xa9
,
0x87
,
0x2a
,
0x62
,
0x80
,
0xc8
,
0x12
,
0x52
,
0x24
,
0xa4
,
0x0e
,
0xc0
,
0xc6
,
0x04
,
0x65
,
0xe8
,
0xc0
,
0xe4
,
0x01
,
0xb1
,
0x80
,
0x64
,
0x5c
,
0x43
,
0xab
,
0x3a
,
0x71
,
0x70
,
0x1c
,
0x50
,
0xfe
,
0x7b
,
0xe4
,
0x1f
,
0xa9
,
0x32
,
0x20
,
0x06
,
0xb6
,
0x7b
,
0x77
,
0xef
,
0xde
,
0xf3
,
0xdd
,
0x19
,
0xe0
,
0x8b
,
0xd5
,
0xc5
,
0xb2
,
0xd2
,
0xca
,
0x28
,
0x3c
,
0x36
,
0x6d
,
0x25
,
0x6a
,
0xd2
,
0xfa
,
0xe4
,
0x2d
,
0x37
,
0x3b
,
0x55
,
0xe2
,
0x0b
,
0x88
,
0xb9
,
0x16
,
0xcc
,
0x88
,
0x34
,
0xca
,
0xa2
,
0xfc
,
0xff
,
0xe5
,
0x7c
,
0xe9
,
0x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
,
0x73
,
0x3e
,
0xc3
,
0xcc
,
0xae
,
0xaf
,
0xdf
,
0xfa
,
0x97
,
0x71
,
0x17
,
0x10
,
0x6b
,
0x51
,
0x37
,
0xd2
,
0xb8
,
0x0b
,
0x20
,
0x1a
,
0x10
,
0x79
,
0x82
,
0xa9
,
0x54
,
0x9c
,
0xc9
,
0x7b
,
0x66
,
0x98
,
0xd5
,
0x3e
,
0x06
,
0xb4
,
0x17
,
0xad
,
0x93
,
0x9d
,
0x52
,
0x1b
,
0x5a
,
0xb7
,
0x4a
,
0x8b
,
0x47
,
0x7b
,
0xaa
,
0x70
,
0x80
,
0x03
,
0x76
,
0x2f
,
0x69
,
0xb4
,
0xaf
,
0x21
,
0x5f
,
0xeb
,
0xf0
,
0x6b
,
0xec
,
0xfe
,
0xd7
,
0xd5
,
0x77
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0xdb
,
0xfa
,
0x9e
,
0x4d
,
0x6d
,
0x02
,
0x00
,
0x00
,
// 328 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x9c
,
0x92
,
0x31
,
0x4f
,
0xc3
,
0x30
,
0x10
,
0x85
,
0x9b
,
0xba
,
0x0d
,
0xcd
,
0x51
,
0x51
,
0x6a
,
0xa1
,
0x2a
,
0x62
,
0x80
,
0xc8
,
0x12
,
0x52
,
0x24
,
0xa4
,
0x0e
,
0x80
,
0x58
,
0x98
,
0xa0
,
0x0c
,
0x1d
,
0x98
,
0xbc
,
0x83
,
0x64
,
0x5c
,
0x43
,
0xab
,
0x3a
,
0x71
,
0x71
,
0x2e
,
0xa0
,
0xfc
,
0x7b
,
0x64
,
0xc7
,
0x45
,
0x19
,
0x10
,
0x03
,
0xdb
,
0xdd
,
0xf9
,
0xbb
,
0xf7
,
0x72
,
0x77
,
0x01
,
0xf8
,
0x12
,
0x55
,
0x31
,
0xdf
,
0x59
,
0x83
,
0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,
0x48
,
0x64
,
0x5d
,
0xa1
,
0x29
,
0x9e
,
0xcc
,
0xbb
,
0x03
,
0x36
,
0xe5
,
0x9b
,
0x49
,
0xa3
,
0x8c
,
0x38
,
0xc0
,
0xc5
,
0xec
,
0x0e
,
0xa6
,
0xed
,
0xaa
,
0xf6
,
0x32
,
0x01
,
0xfc
,
0x73
,
0xce
,
0x24
,
0xcc
,
0xf9
,
0x0c
,
0x13
,
0xb7
,
0xbe
,
0x6e
,
0xeb
,
0x7f
,
0xc6
,
0x9d
,
0x41
,
0x6c
,
0x55
,
0x55
,
0x6b
,
0xf4
,
0x17
,
0x20
,
0x3c
,
0x64
,
0xec
,
0x16
,
0xc6
,
0xda
,
0x48
,
0xa1
,
0x1f
,
0x05
,
0x0a
,
0xa7
,
0x7d
,
0x0c
,
0x64
,
0xab
,
0x1a
,
0x2f
,
0x3b
,
0xe6
,
0x2e
,
0xa4
,
0x27
,
0xe1
,
0x4e
,
0x61
,
0xfb
,
0x6d
,
0xf2
,
0x1a
,
0xfb
,
0xbf
,
0xe7
,
0xfa
,
0x3b
,
0x00
,
0x00
,
0xff
,
0xff
,
0x24
,
0x00
,
0xa4
,
0xe6
,
0x4b
,
0x02
,
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