|
@ -45,7 +45,6 @@ using namespace std; |
|
|
using namespace eth; |
|
|
using namespace eth; |
|
|
using namespace boost::algorithm; |
|
|
using namespace boost::algorithm; |
|
|
using eth::Instruction; |
|
|
using eth::Instruction; |
|
|
using eth::c_instructionInfo; |
|
|
|
|
|
|
|
|
|
|
|
#undef RETURN |
|
|
#undef RETURN |
|
|
|
|
|
|
|
@ -610,7 +609,7 @@ int main(int argc, char** argv) |
|
|
f << " STORAGE" << endl; |
|
|
f << " STORAGE" << endl; |
|
|
for (auto const& i: ext->state().storage(ext->myAddress)) |
|
|
for (auto const& i: ext->state().storage(ext->myAddress)) |
|
|
f << showbase << hex << i.first << ": " << i.second << endl; |
|
|
f << showbase << hex << i.first << ": " << i.second << endl; |
|
|
f << dec << ext->level << " | " << ext->myAddress << " | #" << steps << " | " << hex << setw(4) << setfill('0') << vm->curPC() << " : " << c_instructionInfo.at(instr).name << " | " << dec << vm->gas() << " | -" << dec << gasCost << " | " << newMemSize << "x32"; |
|
|
f << dec << ext->level << " | " << ext->myAddress << " | #" << steps << " | " << hex << setw(4) << setfill('0') << vm->curPC() << " : " << eth::instructionInfo(instr).name << " | " << dec << vm->gas() << " | -" << dec << gasCost << " | " << newMemSize << "x32"; |
|
|
}; |
|
|
}; |
|
|
else if (format == "standard") |
|
|
else if (format == "standard") |
|
|
oof = [&](uint64_t, Instruction instr, bigint, bigint, void* vvm, void const* vextVM) |
|
|
oof = [&](uint64_t, Instruction instr, bigint, bigint, void* vvm, void const* vextVM) |
|
|