From ddfa3af45da9d5d81da38745ae23ee93ce390c2b Mon Sep 17 00:00:00 2001
From: Gav Wood <i@gavwood.com>
Date: Thu, 10 Jul 2014 11:28:35 +0100
Subject: [PATCH] Everything a string.

---
 vmtests.json | 96 ++++++++++++++++++++++++++--------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

diff --git a/vmtests.json b/vmtests.json
index b290b613f..8deade7f7 100644
--- a/vmtests.json
+++ b/vmtests.json
@@ -4,8 +4,8 @@
             {
                 "data" : "0x",
                 "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-                "gasLimit" : 9770,
-                "value" : 74
+                "gasLimit" : "9770",
+                "value" : "74"
             }
         ],
         "env" : {
@@ -13,7 +13,7 @@
             "currentDifficulty" : "256",
             "currentGasLimit" : "1000000",
             "currentNumber" : "0",
-            "currentTimestamp" : 1,
+            "currentTimestamp" : "1",
             "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
         },
         "exec" : {
@@ -21,28 +21,28 @@
             "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
             "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
             "data" : "0x",
-            "gas" : 10000,
-            "gasPrice" : 100000000000000,
+            "gas" : "10000",
+            "gasPrice" : "100000000000000",
             "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-            "value" : 1000000000000000000
+            "value" : "1000000000000000000"
         },
-        "gas" : 9949,
+        "gas" : "9949",
         "out" : [
         ],
         "post" : {
             "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
-                "balance" : 999999999999999926,
+                "balance" : "999999999999999926",
                 "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
-                "nonce" : 0,
+                "nonce" : "0",
                 "storage" : {
                 }
             }
         },
         "pre" : {
             "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
-                "balance" : 1000000000000000000,
+                "balance" : "1000000000000000000",
                 "code" : "0x600060006000600060026002600803036002600306600260020460046004600402026002600201010101013360c85c03f1",
-                "nonce" : 0,
+                "nonce" : "0",
                 "storage" : {
                 }
             }
@@ -53,26 +53,26 @@
             {
                 "data" : "0x",
                 "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-                "gasLimit" : 9786,
-                "value" : 2
+                "gasLimit" : "9786",
+                "value" : "2"
             },
             {
                 "data" : "0x",
                 "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-                "gasLimit" : 9732,
-                "value" : 12
+                "gasLimit" : "9732",
+                "value" : "12"
             },
             {
                 "data" : "0x",
                 "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-                "gasLimit" : 9696,
-                "value" : 13
+                "gasLimit" : "9696",
+                "value" : "13"
             },
             {
                 "data" : "0x",
                 "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-                "gasLimit" : 9660,
-                "value" : 14
+                "gasLimit" : "9660",
+                "value" : "14"
             }
         ],
         "env" : {
@@ -80,7 +80,7 @@
             "currentDifficulty" : "256",
             "currentGasLimit" : "1000000",
             "currentNumber" : "0",
-            "currentTimestamp" : 1,
+            "currentTimestamp" : "1",
             "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
         },
         "exec" : {
@@ -88,28 +88,28 @@
             "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
             "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
             "data" : "0x",
-            "gas" : 10000,
-            "gasPrice" : 100000000000000,
+            "gas" : "10000",
+            "gasPrice" : "100000000000000",
             "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-            "value" : 1000000000000000000
+            "value" : "1000000000000000000"
         },
-        "gas" : 9832,
+        "gas" : "9832",
         "out" : [
         ],
         "post" : {
             "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
-                "balance" : 999999999999999959,
+                "balance" : "999999999999999959",
                 "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
-                "nonce" : 0,
+                "nonce" : "0",
                 "storage" : {
                 }
             }
         },
         "pre" : {
             "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
-                "balance" : 1000000000000000000,
+                "balance" : "1000000000000000000",
                 "code" : "0x60016001100f601a59600060006000600060023360c85c03f15060006001100f603459600060006000600060033360c85c03f15060016000100f604e59600060006000600060043360c85c03f15060006000100f606859600060006000600060053360c85c03f15060016001110f6082596000600060006000600c3360c85c03f15060006001110f609c596000600060006000600d3360c85c03f15060016000110f60b6596000600060006000600e3360c85c03f15060006000110f60d0596000600060006000600f3360c85c03f150",
-                "nonce" : 0,
+                "nonce" : "0",
                 "storage" : {
                 }
             }
@@ -120,8 +120,8 @@
             {
                 "data" : "0x",
                 "destination" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-                "gasLimit" : 9792,
-                "value" : 500000000000000000
+                "gasLimit" : "9792",
+                "value" : "500000000000000000"
             }
         ],
         "env" : {
@@ -129,7 +129,7 @@
             "currentDifficulty" : "256",
             "currentGasLimit" : "1000000",
             "currentNumber" : "0",
-            "currentTimestamp" : 1,
+            "currentTimestamp" : "1",
             "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
         },
         "exec" : {
@@ -137,28 +137,28 @@
             "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
             "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
             "data" : "0x",
-            "gas" : 10000,
-            "gasPrice" : 100000000000000,
+            "gas" : "10000",
+            "gasPrice" : "100000000000000",
             "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-            "value" : 1000000000000000000
+            "value" : "1000000000000000000"
         },
-        "gas" : 9971,
+        "gas" : "9971",
         "out" : [
         ],
         "post" : {
             "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
-                "balance" : 500000000000000000,
+                "balance" : "500000000000000000",
                 "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
-                "nonce" : 0,
+                "nonce" : "0",
                 "storage" : {
                 }
             }
         },
         "pre" : {
             "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
-                "balance" : 1000000000000000000,
+                "balance" : "1000000000000000000",
                 "code" : "0x60006000600060006706f05b59d3b200003360c85c03f1",
-                "nonce" : 0,
+                "nonce" : "0",
                 "storage" : {
                 }
             }
@@ -172,7 +172,7 @@
             "currentDifficulty" : "256",
             "currentGasLimit" : "1000000",
             "currentNumber" : "0",
-            "currentTimestamp" : 1,
+            "currentTimestamp" : "1",
             "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
         },
         "exec" : {
@@ -180,28 +180,28 @@
             "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681",
             "code" : "0x33ff",
             "data" : "0x",
-            "gas" : 10000,
-            "gasPrice" : 100000000000000,
+            "gas" : "10000",
+            "gasPrice" : "100000000000000",
             "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681",
-            "value" : 1000000000000000000
+            "value" : "1000000000000000000"
         },
-        "gas" : 9999,
+        "gas" : "9999",
         "out" : [
         ],
         "post" : {
             "cd1722f3947def4cf144679da39c4c32bdc35681" : {
-                "balance" : 1000000000000000000,
+                "balance" : "1000000000000000000",
                 "code" : "0x",
-                "nonce" : 0,
+                "nonce" : "0",
                 "storage" : {
                 }
             }
         },
         "pre" : {
             "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
-                "balance" : 1000000000000000000,
+                "balance" : "1000000000000000000",
                 "code" : "0x33ff",
-                "nonce" : 0,
+                "nonce" : "0",
                 "storage" : {
                 }
             }
-- 
GitLab