aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-05 23:14:29 +0800
committerobscuren <geffobscura@gmail.com>2014-05-05 23:14:29 +0800
commitaf6875f4b25145402b20e37ab037d912f54ec968 (patch)
tree6d6c2c68555c242d1927b7b9173ea018d4fa9a3d /ethchain
parent66af7490237aeb9a497704580cf8b9831d3dc829 (diff)
downloadgo-tangerine-af6875f4b25145402b20e37ab037d912f54ec968.tar.gz
go-tangerine-af6875f4b25145402b20e37ab037d912f54ec968.tar.zst
go-tangerine-af6875f4b25145402b20e37ab037d912f54ec968.zip
Changed to lower case
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/vm_test.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/ethchain/vm_test.go b/ethchain/vm_test.go
index 35a7b2e3f..f4a0197ea 100644
--- a/ethchain/vm_test.go
+++ b/ethchain/vm_test.go
@@ -86,7 +86,7 @@ func TestRun4(t *testing.T) {
int32 a = 10
int32 b = 20
if a > b {
- int32 c = this.Caller()
+ int32 c = this.caller()
}
Exit()
`), false)
@@ -98,21 +98,21 @@ func TestRun4(t *testing.T) {
callerScript, err := mutan.Compile(strings.NewReader(`
// Check if there's any cash in the initial store
- if store[1000] == 0 {
- store[1000] = 10^20
+ if this.store[1000] == 0 {
+ this.store[1000] = 10^20
}
- store[1001] = this.Value() * 20
- store[this.Origin()] = store[this.Origin()] + 1000
+ this.store[1001] = this.value() * 20
+ this.store[this.origin()] = this.store[this.origin()] + 1000
- if store[1001] > 20 {
- store[1001] = 10^50
+ if this.store[1001] > 20 {
+ this.store[1001] = 10^50
}
int8 ret = 0
int8 arg = 10
- Call(0xe6a12555fad1fb6eaaaed69001a87313d1fd7b54, 0, 100, arg, ret)
+ call(0xe6a12555fad1fb6eaaaed69001a87313d1fd7b54, 0, 100, arg, ret)
big t
for int8 i = 0; i < 10; i++ {