aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/vm_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/vm_test.go')
-rw-r--r--ethchain/vm_test.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/ethchain/vm_test.go b/ethchain/vm_test.go
index e3880d26e..2a02bcf4c 100644
--- a/ethchain/vm_test.go
+++ b/ethchain/vm_test.go
@@ -86,14 +86,22 @@ func TestRun4(t *testing.T) {
a = 10
b = 10
if a == b {
- b = 1000
c = 10
+ if c == 10 {
+ d = 1000
+ e = 10
+ }
}
+
+ store[0] = 20
+ test = store[0]
+ store[a] = 20
+ f = store[400]
`), false)
if err != nil {
fmt.Println(err)
}
- asm = append(asm, "LOG")
+ //asm = append(asm, "LOG")
fmt.Println(asm)
callerScript := ethutil.Assemble(asm...)