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
96cd55dd
Commit
96cd55dd
authored
Jul 30, 2020
by
vipwzw
Committed by
33cn
Aug 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto ci
parent
ce0df3b4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
gfp_generic.go
...executor/vm/common/crypto/bn256/cloudflare/gfp_generic.go
+0
-1
hash.go
plugin/dapp/evm/executor/vm/common/hash.go
+1
-1
stack.go
plugin/dapp/evm/executor/vm/mm/stack.go
+1
-0
opcodes.go
plugin/dapp/evm/executor/vm/runtime/opcodes.go
+1
-1
No files found.
plugin/dapp/evm/executor/vm/common/crypto/bn256/cloudflare/gfp_generic.go
View file @
96cd55dd
// +build !amd64,!arm64 generic
// +build !amd64,!arm64 generic
//nolint:unparam // 忽视本文件所有golangci-linter检查
//nolint:unparam // 忽视本文件所有golangci-linter检查
package
bn256
package
bn256
...
...
plugin/dapp/evm/executor/vm/common/hash.go
View file @
96cd55dd
...
@@ -18,7 +18,7 @@ const (
...
@@ -18,7 +18,7 @@ const (
// Hash160Length Hash160格式的地址长度
// Hash160Length Hash160格式的地址长度
Hash160Length
=
20
Hash160Length
=
20
// AddressLength 地址长度
// AddressLength 地址长度
AddressLength
=
20
AddressLength
=
20
)
)
...
...
plugin/dapp/evm/executor/vm/mm/stack.go
View file @
96cd55dd
...
@@ -26,6 +26,7 @@ type Stack struct {
...
@@ -26,6 +26,7 @@ type Stack struct {
func
NewStack
()
*
Stack
{
func
NewStack
()
*
Stack
{
return
stackPool
.
Get
()
.
(
*
Stack
)
return
stackPool
.
Get
()
.
(
*
Stack
)
}
}
// Returnstack 把用完的stack还给stackpool
// Returnstack 把用完的stack还给stackpool
func
Returnstack
(
s
*
Stack
)
{
func
Returnstack
(
s
*
Stack
)
{
s
.
data
=
s
.
data
[
:
0
]
s
.
data
=
s
.
data
[
:
0
]
...
...
plugin/dapp/evm/executor/vm/runtime/opcodes.go
View file @
96cd55dd
...
@@ -355,7 +355,7 @@ const (
...
@@ -355,7 +355,7 @@ const (
JUMPDEST
JUMPDEST
// BEGINSUB OP
// BEGINSUB OP
BEGINSUB
BEGINSUB
// RETURNSUB op
// RETURNSUB op
RETURNSUB
RETURNSUB
// JUMPSUB op
// JUMPSUB op
JUMPSUB
JUMPSUB
...
...
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