aboutsummaryrefslogtreecommitdiffstats
path: root/VMTests
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-02-21 03:50:32 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-02-21 03:50:32 +0800
commit18216a6e338b538a4d9185e9eb445c5d9bd65e4b (patch)
treebc77573ecc7f7b8389c6c14c42549ab85503140f /VMTests
parentb392afac3cd6145b909ad9dfe3c6370d341ca062 (diff)
downloadtangerine-tests-18216a6e338b538a4d9185e9eb445c5d9bd65e4b.tar
tangerine-tests-18216a6e338b538a4d9185e9eb445c5d9bd65e4b.tar.gz
tangerine-tests-18216a6e338b538a4d9185e9eb445c5d9bd65e4b.tar.bz2
tangerine-tests-18216a6e338b538a4d9185e9eb445c5d9bd65e4b.tar.lz
tangerine-tests-18216a6e338b538a4d9185e9eb445c5d9bd65e4b.tar.xz
tangerine-tests-18216a6e338b538a4d9185e9eb445c5d9bd65e4b.tar.zst
tangerine-tests-18216a6e338b538a4d9185e9eb445c5d9bd65e4b.zip
undo gasMemCostChange, add some state tests
Diffstat (limited to 'VMTests')
-rw-r--r--VMTests/RandomTests/201502161815PYTHON.json31
-rw-r--r--VMTests/vmSha3Test.json14
2 files changed, 38 insertions, 7 deletions
diff --git a/VMTests/RandomTests/201502161815PYTHON.json b/VMTests/RandomTests/201502161815PYTHON.json
new file mode 100644
index 000000000..72d1240b1
--- /dev/null
+++ b/VMTests/RandomTests/201502161815PYTHON.json
@@ -0,0 +1,31 @@
+{
+ "randomVMtest" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
+ "currentGasLimit" : "1000000",
+ "currentNumber" : "300",
+ "currentTimestamp" : "2",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "code" : "0xf1414243444541449d7c55a1",
+ "data" : "0x",
+ "gas" : "10000",
+ "gasPrice" : "100000000000000",
+ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "code" : "0xf1414243444541449d7c55a1",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ }
+ }
+}
diff --git a/VMTests/vmSha3Test.json b/VMTests/vmSha3Test.json
index 7a054cf89..dacaadb01 100644
--- a/VMTests/vmSha3Test.json
+++ b/VMTests/vmSha3Test.json
@@ -300,7 +300,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
- "gas" : "4026006204",
+ "gas" : "4294442684",
"logs" : [
],
"out" : "0x",
@@ -419,7 +419,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
- "gas" : "4294966940",
+ "gas" : "4294966941",
"logs" : [
],
"out" : "0x",
@@ -509,7 +509,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
- "gas" : "4294966939",
+ "gas" : "4294966940",
"logs" : [
],
"out" : "0x",
@@ -554,7 +554,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
- "gas" : "4294966907",
+ "gas" : "4294966910",
"logs" : [
],
"out" : "0x",
@@ -599,7 +599,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
- "gas" : "4294966905",
+ "gas" : "4294966909",
"logs" : [
],
"out" : "0x",
@@ -644,7 +644,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
- "gas" : "4294966905",
+ "gas" : "4294966909",
"logs" : [
],
"out" : "0x",
@@ -689,7 +689,7 @@
"origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
"value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935"
},
- "gas" : "4294966904",
+ "gas" : "4294966908",
"logs" : [
],
"out" : "0x",