mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
All Fields As Hex: Secret Key
This commit is contained in:
parent
b040e23463
commit
721ee65195
@ -123,7 +123,7 @@ json_spirit::mObject& ImportTest::makeAllFieldsHex(json_spirit::mObject& _o)
|
|||||||
{
|
{
|
||||||
static const std::string hashes[] = {"bloom" , "coinbase", "hash", "mixHash", "parentHash", "receiptTrie",
|
static const std::string hashes[] = {"bloom" , "coinbase", "hash", "mixHash", "parentHash", "receiptTrie",
|
||||||
"stateRoot", "transactionsTrie", "uncleHash", "currentCoinbase",
|
"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++)
|
for (json_spirit::mObject::iterator it = _o.begin(); it != _o.end(); it++)
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
},
|
},
|
||||||
"transaction" :
|
"transaction" :
|
||||||
{
|
{
|
||||||
"//" : "run(int256)",
|
"data" : "run(int256)",
|
||||||
"data" : "0x61a47706000000000000000000000000000000000000000000000000000000000000c350",
|
"data" : "0x61a47706000000000000000000000000000000000000000000000000000000000000c350",
|
||||||
"gasLimit" : "904+68*x+e",
|
"gasLimit" : "904+68*x+e",
|
||||||
"gasLimit" : "350000000",
|
"gasLimit" : "350000000",
|
||||||
|
2
vm.cpp
2
vm.cpp
@ -448,7 +448,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin)
|
|||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE(VMTests)
|
BOOST_AUTO_TEST_SUITE(VMTests)
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(vm_tests)
|
BOOST_AUTO_TEST_CASE(vmtests)
|
||||||
{
|
{
|
||||||
dev::test::executeTests("vmtests", "/VMTests", dev::test::doVMTests);
|
dev::test::executeTests("vmtests", "/VMTests", dev::test::doVMTests);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user