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

Function importData

src/cpp-ethereum/test/libtesteth/TestHelper.cpp:226–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bytes importData(json_spirit::mObject const& _o)
227{
228 bytes data;
229 if (_o.at("data").type() == json_spirit::str_type)
230 data = importByteArray(_o.at("data").get_str());
231 else
232 for (auto const& j: _o.at("data").get_array())
233 data.push_back(toByte(j));
234 return data;
235}
236
237void replaceLLLinState(json_spirit::mObject& _o)
238{

Callers 4

importTransactionMethod · 0.85
importLogFunction · 0.85
importExecMethod · 0.85

Calls 6

importByteArrayFunction · 0.85
toByteFunction · 0.85
get_strMethod · 0.80
typeMethod · 0.45
atMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected