MCPcopy Create free account
hub / github.com/LUX-Core/lux / traceTransaction

Method traceTransaction

src/cpp-ethereum/libweb3jsonrpc/Debug.cpp:48–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48Json::Value Debug::traceTransaction(Executive& _e, Transaction const& _t, Json::Value const& _json)
49{
50 Json::Value trace;
51 StandardTrace st;
52 st.setShowMnemonics();
53 st.setOptions(debugOptions(_json));
54 _e.initialize(_t);
55 if (!_e.execute())
56 _e.go(st.onOp());
57 _e.finalize();
58 Json::Reader().parse(st.json(), trace);
59 return trace;
60}
61
62Json::Value Debug::traceBlock(Block const& _block, Json::Value const& _json)
63{

Callers

nothing calls this directly

Calls 11

debugOptionsFunction · 0.85
setShowMnemonicsMethod · 0.80
setOptionsMethod · 0.80
goMethod · 0.80
onOpMethod · 0.80
jsonMethod · 0.80
ReaderClass · 0.50
initializeMethod · 0.45
executeMethod · 0.45
finalizeMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected