Browse Source

All Fields As Hex: Secret Key

cl-refactor
winsvega 10 years ago
parent
commit
710b358cc2
  1. 2
      test/TestHelper.cpp
  2. 2
      test/stQuadraticComplexityTestFiller.json
  3. 2
      test/vm.cpp

2
test/TestHelper.cpp

@ -123,7 +123,7 @@ json_spirit::mObject& ImportTest::makeAllFieldsHex(json_spirit::mObject& _o)
{
static const std::string hashes[] = {"bloom" , "coinbase", "hash", "mixHash", "parentHash", "receiptTrie",
"stateRoot", "transactionsTrie", "uncleHash", "currentCoinbase",
"previousHash", "to", "address", "caller", "origin"};
"previousHash", "to", "address", "caller", "origin", "secretKey"};
for (json_spirit::mObject::iterator it = _o.begin(); it != _o.end(); it++)
{

2
test/stQuadraticComplexityTestFiller.json

@ -43,7 +43,7 @@
},
"transaction" :
{
"//" : "run(int256)",
"data" : "run(int256)",
"data" : "0x61a47706000000000000000000000000000000000000000000000000000000000000c350",
"gasLimit" : "904+68*x+e",
"gasLimit" : "350000000",

2
test/vm.cpp

@ -448,7 +448,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin)
BOOST_AUTO_TEST_SUITE(VMTests)
BOOST_AUTO_TEST_CASE(vm_tests)
BOOST_AUTO_TEST_CASE(vmtests)
{
dev::test::executeTests("vmtests", "/VMTests", dev::test::doVMTests);
}

Loading…
Cancel
Save