aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stSolidityTest/TestStoreGasPricesFiller.json
diff options
context:
space:
mode:
authorcdetrio <cdetrio@gmail.com>2017-08-06 01:17:37 +0800
committercdetrio <cdetrio@gmail.com>2017-08-06 01:22:32 +0800
commit349ac7908f284d579530ef77078437071ab833c5 (patch)
tree5109ae59861d421036a7786e70986ec5387d837a /src/GeneralStateTestsFiller/stSolidityTest/TestStoreGasPricesFiller.json
parentd910fcd855aee824ccbdda4e3a03cc319c2a6273 (diff)
downloaddexon-tests-349ac7908f284d579530ef77078437071ab833c5.tar.gz
dexon-tests-349ac7908f284d579530ef77078437071ab833c5.tar.zst
dexon-tests-349ac7908f284d579530ef77078437071ab833c5.zip
fix invalid json fillers
Diffstat (limited to 'src/GeneralStateTestsFiller/stSolidityTest/TestStoreGasPricesFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stSolidityTest/TestStoreGasPricesFiller.json70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/GeneralStateTestsFiller/stSolidityTest/TestStoreGasPricesFiller.json b/src/GeneralStateTestsFiller/stSolidityTest/TestStoreGasPricesFiller.json
index cf3072376..3ec40b75c 100644
--- a/src/GeneralStateTestsFiller/stSolidityTest/TestStoreGasPricesFiller.json
+++ b/src/GeneralStateTestsFiller/stSolidityTest/TestStoreGasPricesFiller.json
@@ -33,41 +33,41 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "100000",
- "//" : "contract main ",
- "//" : "{ ",
- "//" : " uint[32] m_gasUsed; ",
- "//" : " int storage; ",
- "//" : " function run() returns (bool) ",
- "//" : " { ",
- "//" : " uint startgas = msg.gas; ",
- "//" : " ",
- "//" : " storage = 1; //zero to non zero ",
- "//" : " m_gasUsed[0] = startgas - msg.gas; ",
- "//" : " startgas = msg.gas; ",
- "//" : " ",
- "//" : " storage = 2; //non zero to non zero ",
- "//" : " m_gasUsed[1] = startgas - msg.gas; ",
- "//" : " startgas = msg.gas; ",
- "//" : " ",
- "//" : " storage = 2; //non zero to same non zero ",
- "//" : " m_gasUsed[2] = startgas - msg.gas; ",
- "//" : " startgas = msg.gas; ",
- "//" : " ",
- "//" : " storage = 24784793845734; //non zero to huge non zero ",
- "//" : " m_gasUsed[3] = startgas - msg.gas; ",
- "//" : " startgas = msg.gas; ",
- "//" : " ",
- "//" : " storage = 2; //huge non zero to non zero ",
- "//" : " m_gasUsed[4] = startgas - msg.gas; ",
- "//" : " startgas = msg.gas; ",
- "//" : " ",
- "//" : " storage = 0; //non zero to zero ",
- "//" : " m_gasUsed[5] = startgas - msg.gas; ",
- "//" : " startgas = msg.gas; ",
- "//" : " ",
- "//" : " return true; ",
- "//" : " } ",
- "//" : "} ",
+ "//comment1" : "contract main",
+ "//comment2" : "{",
+ "//comment3" : " uint[32] m_gasUsed;",
+ "//comment4" : " int storage;",
+ "//comment5" : " function run() returns (bool)",
+ "//comment6" : " {",
+ "//comment7" : " uint startgas = msg.gas;",
+ "//comment8" : "",
+ "//comment9" : " storage = 1; //zero to non zero",
+ "//comment10" : " m_gasUsed[0] = startgas - msg.gas;",
+ "//comment11" : " startgas = msg.gas;",
+ "//comment12" : "",
+ "//comment13" : " storage = 2; //non zero to non zero",
+ "//comment14" : " m_gasUsed[1] = startgas - msg.gas;",
+ "//comment15" : " startgas = msg.gas;",
+ "//comment16" : "",
+ "//comment17" : " storage = 2; //non zero to same non zero",
+ "//comment18" : " m_gasUsed[2] = startgas - msg.gas;",
+ "//comment19" : " startgas = msg.gas;",
+ "//comment20" : "",
+ "//comment21" : " storage = 24784793845734; //non zero to huge non zero",
+ "//comment22" : " m_gasUsed[3] = startgas - msg.gas;",
+ "//comment23" : " startgas = msg.gas;",
+ "//comment24" : "",
+ "//comment25" : " storage = 2; //huge non zero to non zero",
+ "//comment26" : " m_gasUsed[4] = startgas - msg.gas;",
+ "//comment27" : " startgas = msg.gas;",
+ "//comment28" : "",
+ "//comment29" : " storage = 0; //non zero to zero",
+ "//comment30" : " m_gasUsed[5] = startgas - msg.gas;",
+ "//comment31" : " startgas = msg.gas;",
+ "//comment32" : "",
+ "//comment33" : " return true;",
+ "//comment34" : " }",
+ "//comment35" : "}",
"code" : "0x7c01000000000000000000000000000000000000000000000000000000006000350463c04062268114602d57005b6033603d565b8060005260206000f35b600060005a600160205590505a81036000555a600260205590505a81036001555a600260205590505a81036002555a65168aa8d53fe660205590505a81036003555a600260205590505a81036004555a600060205590505a81036005555a5060019291505056",
"nonce" : "0",
"storage" : {