aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stSystemOperationsTest
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-12-24 02:04:19 +0800
committerDimitry <winsvega@mail.ru>2016-12-24 02:04:19 +0800
commita4971b4c93926253df026f616b14a742d778b696 (patch)
tree84d632e0c36b9382c30f0d4eabc47fcfec26162f /src/GeneralStateTestsFiller/stSystemOperationsTest
parentf6e67098532972edfe01422ce3a86f7226ad3375 (diff)
downloadtangerine-tests-a4971b4c93926253df026f616b14a742d778b696.tar
tangerine-tests-a4971b4c93926253df026f616b14a742d778b696.tar.gz
tangerine-tests-a4971b4c93926253df026f616b14a742d778b696.tar.bz2
tangerine-tests-a4971b4c93926253df026f616b14a742d778b696.tar.lz
tangerine-tests-a4971b4c93926253df026f616b14a742d778b696.tar.xz
tangerine-tests-a4971b4c93926253df026f616b14a742d778b696.tar.zst
tangerine-tests-a4971b4c93926253df026f616b14a742d778b696.zip
fix gstatetest src for new solidity
Diffstat (limited to 'src/GeneralStateTestsFiller/stSystemOperationsTest')
-rw-r--r--src/GeneralStateTestsFiller/stSystemOperationsTest/Call10Filler.json4
-rw-r--r--src/GeneralStateTestsFiller/stSystemOperationsTest/CalltoReturn2Filler.json (renamed from src/GeneralStateTestsFiller/stSystemOperationsTest/callstatelessToReturn1Filler.json)8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/Call10Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/Call10Filler.json
index adb92ef0c..12c70f9e9 100644
--- a/src/GeneralStateTestsFiller/stSystemOperationsTest/Call10Filler.json
+++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/Call10Filler.json
@@ -43,7 +43,7 @@
},
"bbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000",
- "code" : "{ (for {} (< @i 10) [i](+ @i 1) [[ 0 ]](CALL 0xfffffffffff 0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 50000 0 0) ) [[ 1 ]] @i}",
+ "code" : "{ (def 'i 0x80) (for {} (< @i 10) [i](+ @i 1) [[ 0 ]](CALL 0xfffffffffff 0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b 1 0 50000 0 0) ) [[ 1 ]] @i}",
"nonce" : "0",
"storage" : {
}
@@ -65,4 +65,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/callstatelessToReturn1Filler.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/CalltoReturn2Filler.json
index a0905c8ee..8526be1b8 100644
--- a/src/GeneralStateTestsFiller/stSystemOperationsTest/callstatelessToReturn1Filler.json
+++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/CalltoReturn2Filler.json
@@ -1,5 +1,5 @@
{
- "callstatelessToReturn1" : {
+ "CalltoReturn2" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -20,7 +20,7 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"nonce" : "0",
"storage" : {
- "0x" : "0x80"
+ "0x" : "0x00"
}
}
}
@@ -29,7 +29,7 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
- "code" : "{ (MSTORE 0 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (MSTORE 32 0xaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa ) [[ 0 ]] (CALLSTATELESS 500 0x945304eb96065b2a98b57a48a06ae28d285a71b5 23 0 64 0 2 ) }",
+ "code" : "{ (MSTORE 0 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) (MSTORE 32 0xaaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaa ) [[ 0 ]] (CALL 5000 0x945304eb96065b2a98b57a48a06ae28d285a71b5 23 0 64 0 2 ) }",
"nonce" : "0",
"storage" : {
}
@@ -65,4 +65,4 @@
]
}
}
-} \ No newline at end of file
+}