github.com/karalabe/go-ethereum@v0.8.5/tests/files/StateTests/stRefundTest.json (about)

     1  {
     2      "RefundOverflow" : {
     3          "env" : {
     4              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
     5              "currentDifficulty" : "45678256",
     6              "currentGasLimit" : "115792089237316195423570985008687907853269984665640564039457584007913129639935",
     7              "currentNumber" : "0",
     8              "currentTimestamp" : 1,
     9              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
    10          },
    11          "logs" : [
    12          ],
    13          "out" : "0x",
    14          "post" : {
    15              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
    16                  "balance" : "400",
    17                  "code" : "0x",
    18                  "nonce" : "0",
    19                  "storage" : {
    20                  }
    21              }
    22          },
    23          "pre" : {
    24              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
    25                  "balance" : "400",
    26                  "code" : "0x",
    27                  "nonce" : "0",
    28                  "storage" : {
    29                  }
    30              }
    31          },
    32          "transaction" : {
    33              "data" : "",
    34              "gasLimit" : "5789604461865809771178549250434395392663499233282028201972879200395656482016",
    35              "gasPrice" : "20",
    36              "nonce" : "0",
    37              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
    38              "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
    39              "value" : ""
    40          }
    41      },
    42      "refund500" : {
    43          "env" : {
    44              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
    45              "currentDifficulty" : "256",
    46              "currentGasLimit" : "1000000",
    47              "currentNumber" : "0",
    48              "currentTimestamp" : 1,
    49              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
    50          },
    51          "logs" : [
    52          ],
    53          "out" : "0x",
    54          "post" : {
    55              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
    56                  "balance" : "1000000000000000000",
    57                  "code" : "0x600154506002545060ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
    58                  "nonce" : "0",
    59                  "storage" : {
    60                      "0x0a" : "0x8000000000000000000000000000000000000000000000000000000000000000",
    61                      "0x0b" : "0x0de0b6b3a7640000"
    62                  }
    63              },
    64              "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
    65                  "balance" : "592",
    66                  "code" : "0x",
    67                  "nonce" : "0",
    68                  "storage" : {
    69                  }
    70              },
    71              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
    72                  "balance" : "9408",
    73                  "code" : "0x",
    74                  "nonce" : "1",
    75                  "storage" : {
    76                  }
    77              }
    78          },
    79          "pre" : {
    80              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
    81                  "balance" : "1000000000000000000",
    82                  "code" : "0x600154506002545060ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
    83                  "nonce" : "0",
    84                  "storage" : {
    85                      "0x01" : "0x01",
    86                      "0x02" : "0x01",
    87                      "0x03" : "0x01",
    88                      "0x04" : "0x01",
    89                      "0x05" : "0x01",
    90                      "0x06" : "0x01"
    91                  }
    92              },
    93              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
    94                  "balance" : "10000",
    95                  "code" : "0x",
    96                  "nonce" : "0",
    97                  "storage" : {
    98                  }
    99              }
   100          },
   101          "transaction" : {
   102              "data" : "",
   103              "gasLimit" : "10000",
   104              "gasPrice" : "1",
   105              "nonce" : "0",
   106              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
   107              "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
   108              "value" : "0"
   109          }
   110      },
   111      "refund50_1" : {
   112          "env" : {
   113              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
   114              "currentDifficulty" : "256",
   115              "currentGasLimit" : "1000000",
   116              "currentNumber" : "0",
   117              "currentTimestamp" : 1,
   118              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
   119          },
   120          "logs" : [
   121          ],
   122          "out" : "0x",
   123          "post" : {
   124              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   125                  "balance" : "1000000000000000000",
   126                  "code" : "0x60006001556000600255600060035560006004556000600555",
   127                  "nonce" : "0",
   128                  "storage" : {
   129                  }
   130              },
   131              "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
   132                  "balance" : "255",
   133                  "code" : "0x",
   134                  "nonce" : "0",
   135                  "storage" : {
   136                  }
   137              },
   138              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   139                  "balance" : "9745",
   140                  "code" : "0x",
   141                  "nonce" : "1",
   142                  "storage" : {
   143                  }
   144              }
   145          },
   146          "pre" : {
   147              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   148                  "balance" : "1000000000000000000",
   149                  "code" : "0x60006001556000600255600060035560006004556000600555",
   150                  "nonce" : "0",
   151                  "storage" : {
   152                      "0x01" : "0x01",
   153                      "0x02" : "0x01",
   154                      "0x03" : "0x01",
   155                      "0x04" : "0x01",
   156                      "0x05" : "0x01"
   157                  }
   158              },
   159              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   160                  "balance" : "10000",
   161                  "code" : "0x",
   162                  "nonce" : "0",
   163                  "storage" : {
   164                  }
   165              }
   166          },
   167          "transaction" : {
   168              "data" : "",
   169              "gasLimit" : "10000",
   170              "gasPrice" : "1",
   171              "nonce" : "0",
   172              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
   173              "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
   174              "value" : "0"
   175          }
   176      },
   177      "refund50_2" : {
   178          "env" : {
   179              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
   180              "currentDifficulty" : "256",
   181              "currentGasLimit" : "1000000",
   182              "currentNumber" : "0",
   183              "currentTimestamp" : 1,
   184              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
   185          },
   186          "logs" : [
   187          ],
   188          "out" : "0x",
   189          "post" : {
   190              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   191                  "balance" : "1000000000000000000",
   192                  "code" : "0x6001600a556001600b5560006001556000600255600060035560006004556000600555",
   193                  "nonce" : "0",
   194                  "storage" : {
   195                      "0x0a" : "0x01",
   196                      "0x0b" : "0x01"
   197                  }
   198              },
   199              "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
   200                  "balance" : "614",
   201                  "code" : "0x",
   202                  "nonce" : "0",
   203                  "storage" : {
   204                  }
   205              },
   206              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   207                  "balance" : "9386",
   208                  "code" : "0x",
   209                  "nonce" : "1",
   210                  "storage" : {
   211                  }
   212              }
   213          },
   214          "pre" : {
   215              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   216                  "balance" : "1000000000000000000",
   217                  "code" : "0x6001600a556001600b5560006001556000600255600060035560006004556000600555",
   218                  "nonce" : "0",
   219                  "storage" : {
   220                      "0x01" : "0x01",
   221                      "0x02" : "0x01",
   222                      "0x03" : "0x01",
   223                      "0x04" : "0x01",
   224                      "0x05" : "0x01"
   225                  }
   226              },
   227              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   228                  "balance" : "10000",
   229                  "code" : "0x",
   230                  "nonce" : "0",
   231                  "storage" : {
   232                  }
   233              }
   234          },
   235          "transaction" : {
   236              "data" : "",
   237              "gasLimit" : "10000",
   238              "gasPrice" : "1",
   239              "nonce" : "0",
   240              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
   241              "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
   242              "value" : "0"
   243          }
   244      },
   245      "refund600" : {
   246          "env" : {
   247              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
   248              "currentDifficulty" : "256",
   249              "currentGasLimit" : "1000000",
   250              "currentNumber" : "0",
   251              "currentTimestamp" : 1,
   252              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
   253          },
   254          "logs" : [
   255          ],
   256          "out" : "0x",
   257          "post" : {
   258              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   259                  "balance" : "1000000000000000000",
   260                  "code" : "0x600154506002545061ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
   261                  "nonce" : "0",
   262                  "storage" : {
   263                      "0x0b" : "0x0de0b6b3a7640000"
   264                  }
   265              },
   266              "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
   267                  "balance" : "492",
   268                  "code" : "0x",
   269                  "nonce" : "0",
   270                  "storage" : {
   271                  }
   272              },
   273              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   274                  "balance" : "9508",
   275                  "code" : "0x",
   276                  "nonce" : "1",
   277                  "storage" : {
   278                  }
   279              }
   280          },
   281          "pre" : {
   282              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   283                  "balance" : "1000000000000000000",
   284                  "code" : "0x600154506002545061ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
   285                  "nonce" : "0",
   286                  "storage" : {
   287                      "0x01" : "0x01",
   288                      "0x02" : "0x01",
   289                      "0x03" : "0x01",
   290                      "0x04" : "0x01",
   291                      "0x05" : "0x01",
   292                      "0x06" : "0x01"
   293                  }
   294              },
   295              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   296                  "balance" : "10000",
   297                  "code" : "0x",
   298                  "nonce" : "0",
   299                  "storage" : {
   300                  }
   301              }
   302          },
   303          "transaction" : {
   304              "data" : "",
   305              "gasLimit" : "10000",
   306              "gasPrice" : "1",
   307              "nonce" : "0",
   308              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
   309              "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
   310              "value" : "0"
   311          }
   312      },
   313      "refund_NoOOG_1" : {
   314          "env" : {
   315              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
   316              "currentDifficulty" : "256",
   317              "currentGasLimit" : "1000000",
   318              "currentNumber" : "0",
   319              "currentTimestamp" : 1,
   320              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
   321          },
   322          "logs" : [
   323          ],
   324          "out" : "0x",
   325          "post" : {
   326              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   327                  "balance" : "1000000000000000000",
   328                  "code" : "0x6000600155",
   329                  "nonce" : "0",
   330                  "storage" : {
   331                  }
   332              },
   333              "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
   334                  "balance" : "402",
   335                  "code" : "0x",
   336                  "nonce" : "0",
   337                  "storage" : {
   338                  }
   339              },
   340              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   341                  "balance" : "100",
   342                  "code" : "0x",
   343                  "nonce" : "1",
   344                  "storage" : {
   345                  }
   346              }
   347          },
   348          "pre" : {
   349              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   350                  "balance" : "1000000000000000000",
   351                  "code" : "0x6000600155",
   352                  "nonce" : "0",
   353                  "storage" : {
   354                      "0x01" : "0x01"
   355                  }
   356              },
   357              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   358                  "balance" : "502",
   359                  "code" : "0x",
   360                  "nonce" : "0",
   361                  "storage" : {
   362                  }
   363              }
   364          },
   365          "transaction" : {
   366              "data" : "",
   367              "gasLimit" : "502",
   368              "gasPrice" : "1",
   369              "nonce" : "0",
   370              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
   371              "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
   372              "value" : "0"
   373          }
   374      },
   375      "refund_OOG" : {
   376          "env" : {
   377              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
   378              "currentDifficulty" : "256",
   379              "currentGasLimit" : "1000000",
   380              "currentNumber" : "0",
   381              "currentTimestamp" : 1,
   382              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
   383          },
   384          "logs" : [
   385          ],
   386          "out" : "0x",
   387          "post" : {
   388              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   389                  "balance" : "1000000000000000000",
   390                  "code" : "0x6000600155",
   391                  "nonce" : "0",
   392                  "storage" : {
   393                      "0x01" : "0x01"
   394                  }
   395              },
   396              "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
   397                  "balance" : "500",
   398                  "code" : "0x",
   399                  "nonce" : "0",
   400                  "storage" : {
   401                  }
   402              },
   403              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   404                  "balance" : "0",
   405                  "code" : "0x",
   406                  "nonce" : "1",
   407                  "storage" : {
   408                  }
   409              }
   410          },
   411          "pre" : {
   412              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   413                  "balance" : "1000000000000000000",
   414                  "code" : "0x6000600155",
   415                  "nonce" : "0",
   416                  "storage" : {
   417                      "0x01" : "0x01"
   418                  }
   419              },
   420              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   421                  "balance" : "500",
   422                  "code" : "0x",
   423                  "nonce" : "0",
   424                  "storage" : {
   425                  }
   426              }
   427          },
   428          "transaction" : {
   429              "data" : "",
   430              "gasLimit" : "500",
   431              "gasPrice" : "1",
   432              "nonce" : "0",
   433              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
   434              "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
   435              "value" : "0"
   436          }
   437      },
   438      "refund_changeNonZeroStorage" : {
   439          "env" : {
   440              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
   441              "currentDifficulty" : "256",
   442              "currentGasLimit" : "1000000",
   443              "currentNumber" : "0",
   444              "currentTimestamp" : 1,
   445              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
   446          },
   447          "logs" : [
   448          ],
   449          "out" : "0x",
   450          "post" : {
   451              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   452                  "balance" : "1000000000000000010",
   453                  "code" : "0x6017600155",
   454                  "nonce" : "0",
   455                  "storage" : {
   456                      "0x01" : "0x17"
   457                  }
   458              },
   459              "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
   460                  "balance" : "602",
   461                  "code" : "0x",
   462                  "nonce" : "0",
   463                  "storage" : {
   464                  }
   465              },
   466              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   467                  "balance" : "388",
   468                  "code" : "0x",
   469                  "nonce" : "1",
   470                  "storage" : {
   471                  }
   472              }
   473          },
   474          "pre" : {
   475              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   476                  "balance" : "1000000000000000000",
   477                  "code" : "0x6017600155",
   478                  "nonce" : "0",
   479                  "storage" : {
   480                      "0x01" : "0x01"
   481                  }
   482              },
   483              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   484                  "balance" : "1000",
   485                  "code" : "0x",
   486                  "nonce" : "0",
   487                  "storage" : {
   488                  }
   489              }
   490          },
   491          "transaction" : {
   492              "data" : "",
   493              "gasLimit" : "850",
   494              "gasPrice" : "1",
   495              "nonce" : "0",
   496              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
   497              "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
   498              "value" : "10"
   499          }
   500      },
   501      "refund_getEtherBack" : {
   502          "env" : {
   503              "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
   504              "currentDifficulty" : "256",
   505              "currentGasLimit" : "1000000",
   506              "currentNumber" : "0",
   507              "currentTimestamp" : 1,
   508              "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
   509          },
   510          "logs" : [
   511          ],
   512          "out" : "0x",
   513          "post" : {
   514              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   515                  "balance" : "1000000000000000010",
   516                  "code" : "0x6000600155",
   517                  "nonce" : "0",
   518                  "storage" : {
   519                  }
   520              },
   521              "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
   522                  "balance" : "402",
   523                  "code" : "0x",
   524                  "nonce" : "0",
   525                  "storage" : {
   526                  }
   527              },
   528              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   529                  "balance" : "588",
   530                  "code" : "0x",
   531                  "nonce" : "1",
   532                  "storage" : {
   533                  }
   534              }
   535          },
   536          "pre" : {
   537              "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
   538                  "balance" : "1000000000000000000",
   539                  "code" : "0x6000600155",
   540                  "nonce" : "0",
   541                  "storage" : {
   542                      "0x01" : "0x01"
   543                  }
   544              },
   545              "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
   546                  "balance" : "1000",
   547                  "code" : "0x",
   548                  "nonce" : "0",
   549                  "storage" : {
   550                  }
   551              }
   552          },
   553          "transaction" : {
   554              "data" : "",
   555              "gasLimit" : "850",
   556              "gasPrice" : "1",
   557              "nonce" : "0",
   558              "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
   559              "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
   560              "value" : "10"
   561          }
   562      }
   563  }