Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
张蕾
Geth-Modification
Commits
461324a8
Commit
461324a8
authored
Nov 12, 2014
by
Taylor Gerring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove references to mutan
obscuren/mutan is deprecated
parent
fa59db75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
vm_test.go
vm/vm_test.go
+7
-7
No files found.
vm/vm_test.go
View file @
461324a8
...
@@ -14,7 +14,7 @@ import (
...
@@ -14,7 +14,7 @@ import (
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/state"
"github.com/ethereum/go-ethereum/trie"
"github.com/ethereum/go-ethereum/trie"
"github.com/obscuren/mutan"
//
"github.com/obscuren/mutan"
)
)
type
TestEnv
struct
{}
type
TestEnv
struct
{}
...
@@ -67,9 +67,9 @@ func setup(level logger.LogLevel, typ Type) (*Closure, VirtualMachine) {
...
@@ -67,9 +67,9 @@ func setup(level logger.LogLevel, typ Type) (*Closure, VirtualMachine) {
var
big9
=
ethutil
.
Hex2Bytes
(
"0000000000000000000000000000000000000000000000000000000000000009"
)
var
big9
=
ethutil
.
Hex2Bytes
(
"0000000000000000000000000000000000000000000000000000000000000009"
)
func
TestDebugVm
(
t
*
testing
.
T
)
{
func
TestDebugVm
(
t
*
testing
.
T
)
{
if
mutan
.
Version
<
"0.6"
{
//
if mutan.Version < "0.6" {
t
.
Skip
(
"skipping for mutan version"
,
mutan
.
Version
,
" < 0.6"
)
//
t.Skip("skipping for mutan version", mutan.Version, " < 0.6")
}
//
}
closure
,
vm
:=
setup
(
logger
.
DebugLevel
,
DebugVmTy
)
closure
,
vm
:=
setup
(
logger
.
DebugLevel
,
DebugVmTy
)
ret
,
_
,
e
:=
closure
.
Call
(
vm
,
nil
)
ret
,
_
,
e
:=
closure
.
Call
(
vm
,
nil
)
...
@@ -82,9 +82,9 @@ func TestDebugVm(t *testing.T) {
...
@@ -82,9 +82,9 @@ func TestDebugVm(t *testing.T) {
}
}
func
TestVm
(
t
*
testing
.
T
)
{
func
TestVm
(
t
*
testing
.
T
)
{
if
mutan
.
Version
<
"0.6"
{
//
if mutan.Version < "0.6" {
t
.
Skip
(
"skipping for mutan version"
,
mutan
.
Version
,
" < 0.6"
)
//
t.Skip("skipping for mutan version", mutan.Version, " < 0.6")
}
//
}
closure
,
vm
:=
setup
(
logger
.
DebugLevel
,
StandardVmTy
)
closure
,
vm
:=
setup
(
logger
.
DebugLevel
,
StandardVmTy
)
ret
,
_
,
e
:=
closure
.
Call
(
vm
,
nil
)
ret
,
_
,
e
:=
closure
.
Call
(
vm
,
nil
)
...
...
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