From 371871d685d54b916aef28de689d6f0af7822083 Mon Sep 17 00:00:00 2001
From: Gustav Simonsson <gustav.simonsson@gmail.com>
Date: Fri, 27 Nov 2015 15:40:29 +0100
Subject: parmas, crypto, core, core/vm: homestead consensus protocol changes

* change gas cost for contract creating txs
* invalidate signature with s value greater than secp256k1 N / 2
* OOG contract creation if not enough gas to store code
* new difficulty adjustment algorithm
* new DELEGATECALL op code
---
 tests/files/StateTests/stInitCodeTest.json | 46 +++++++++++++++---------------
 1 file changed, 23 insertions(+), 23 deletions(-)

(limited to 'tests/files/StateTests/stInitCodeTest.json')

diff --git a/tests/files/StateTests/stInitCodeTest.json b/tests/files/StateTests/stInitCodeTest.json
index b2aeb54d7..4ac3ff4a3 100644
--- a/tests/files/StateTests/stInitCodeTest.json
+++ b/tests/files/StateTests/stInitCodeTest.json
@@ -640,7 +640,7 @@
         },
         "transaction" : {
             "data" : "0x600a80600c6000396000f200600160008035811a8100",
-            "gasLimit" : "0x56a0",
+            "gasLimit" : "0xd3a0",
             "gasPrice" : "0x01",
             "nonce" : "0x00",
             "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -681,7 +681,7 @@
         },
         "transaction" : {
             "data" : "0x600a80600c6000396000f200600160008035811a8100",
-            "gasLimit" : "0x55f0",
+            "gasLimit" : "0xd2f0",
             "gasPrice" : "0x03",
             "nonce" : "0x00",
             "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -858,24 +858,24 @@
         "out" : "0x",
         "post" : {
             "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
-                "balance" : "0x9c40",
+                "balance" : "0x011940",
                 "code" : "0x",
                 "nonce" : "0x00",
                 "storage" : {
                 }
             },
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
-                "balance" : "0x2710",
+                "balance" : "0x0bb8",
                 "code" : "0x",
                 "nonce" : "0x01",
                 "storage" : {
                 }
             }
         },
-        "postStateRoot" : "513a8c6605f11e258856d079b6d9c3cc228eb5f4788977a5a04a0a05d54a5b99",
+        "postStateRoot" : "961c54e78bf240486182b172fbb7d740e2da28906ea11dcb1266cb20e8862b5a",
         "pre" : {
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
-                "balance" : "0xc350",
+                "balance" : "0x0124f8",
                 "code" : "0x",
                 "nonce" : "0x00",
                 "storage" : {
@@ -884,7 +884,7 @@
         },
         "transaction" : {
             "data" : "0x6000f1",
-            "gasLimit" : "0x9c40",
+            "gasLimit" : "0x011940",
             "gasPrice" : "0x01",
             "nonce" : "0x00",
             "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -913,21 +913,21 @@
                 }
             },
             "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
-                "balance" : "0x2bbe",
+                "balance" : "0x76bc",
                 "code" : "0x",
                 "nonce" : "0x00",
                 "storage" : {
                 }
             },
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
-                "balance" : "0x015ad3",
+                "balance" : "0x010fd5",
                 "code" : "0x",
                 "nonce" : "0x01",
                 "storage" : {
                 }
             }
         },
-        "postStateRoot" : "5e2d18e12d28a412e04a57800ba998a10739ee10aa35127cfcb8e675c2bbd290",
+        "postStateRoot" : "e0b65a3a37e8268cf5b5a41ef02bba89826e1a436636f182645214e5235c9c79",
         "pre" : {
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                 "balance" : "0x0186a0",
@@ -939,7 +939,7 @@
         },
         "transaction" : {
             "data" : "0x600a80600c6000396000fff2ffff600160008035811a81",
-            "gasLimit" : "0x59d8",
+            "gasLimit" : "0xd6d8",
             "gasPrice" : "0x01",
             "nonce" : "0x00",
             "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -961,21 +961,21 @@
         "out" : "0x",
         "post" : {
             "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
-                "balance" : "0x7f57",
+                "balance" : "0xfc57",
                 "code" : "0x",
                 "nonce" : "0x00",
                 "storage" : {
                 }
             },
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
-                "balance" : "0x010749",
+                "balance" : "0x8a49",
                 "code" : "0x",
                 "nonce" : "0x01",
                 "storage" : {
                 }
             }
         },
-        "postStateRoot" : "5733390723cba15437e2ee1d1649b1189eeab81f092f7883171d9f7a4b9f514e",
+        "postStateRoot" : "9e36cea9425d4207793943218f40eedc0c7b9505693c74e1c39b27b2de902d13",
         "pre" : {
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                 "balance" : "0x0186a0",
@@ -987,7 +987,7 @@
         },
         "transaction" : {
             "data" : "0x600a80600c6000396000f200600160008035811a8100",
-            "gasLimit" : "0x7f57",
+            "gasLimit" : "0xfc57",
             "gasPrice" : "0x01",
             "nonce" : "0x00",
             "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -1009,7 +1009,7 @@
         "out" : "0x",
         "post" : {
             "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
-                "balance" : "0x56bc",
+                "balance" : "0xd3bc",
                 "code" : "0x",
                 "nonce" : "0x00",
                 "storage" : {
@@ -1023,14 +1023,14 @@
                 }
             },
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
-                "balance" : "0x012fe3",
+                "balance" : "0xb2e3",
                 "code" : "0x",
                 "nonce" : "0x01",
                 "storage" : {
                 }
             }
         },
-        "postStateRoot" : "b2de012ac480412426664a68a009920fb4ce8c9651543900c440070e8e286644",
+        "postStateRoot" : "99f11d9bf8862c426bc510d7c6d2ed4c6f353411b782f8a3a268268319b9b689",
         "pre" : {
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                 "balance" : "0x0186a0",
@@ -1042,7 +1042,7 @@
         },
         "transaction" : {
             "data" : "0x600a80600c600039600000f20000600160008035811a81",
-            "gasLimit" : "0x59d8",
+            "gasLimit" : "0xd6d8",
             "gasPrice" : "0x01",
             "nonce" : "0x00",
             "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -1064,21 +1064,21 @@
         "out" : "0x",
         "post" : {
             "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
-                "balance" : "0x59d8",
+                "balance" : "0xd6d8",
                 "code" : "0x",
                 "nonce" : "0x00",
                 "storage" : {
                 }
             },
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
-                "balance" : "0x012cc8",
+                "balance" : "0xafc8",
                 "code" : "0x",
                 "nonce" : "0x01",
                 "storage" : {
                 }
             }
         },
-        "postStateRoot" : "b231c450a665052fe6577f93350aeedb39ceeceacc2ba93a5ee640dd63f9d29a",
+        "postStateRoot" : "b2f8ca928c2981cc192c854df4736810593c8fd90783416d84b4a0f1e0fea952",
         "pre" : {
             "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                 "balance" : "0x0186a0",
@@ -1090,7 +1090,7 @@
         },
         "transaction" : {
             "data" : "0x600a80600c6000396000f200ff600160008035811a81",
-            "gasLimit" : "0x59d8",
+            "gasLimit" : "0xd6d8",
             "gasPrice" : "0x01",
             "nonce" : "0x00",
             "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
-- 
cgit v1.2.3