| 16 | {} |
| 17 | |
| 18 | StandardTrace::DebugOptions debugOptions(Json::Value const& _json) |
| 19 | { |
| 20 | StandardTrace::DebugOptions op; |
| 21 | if (!_json.isObject() || _json.empty()) |
| 22 | return op; |
| 23 | if (!_json["disableStorage"].empty()) |
| 24 | op.disableStorage = _json["disableStorage"].asBool(); |
| 25 | if (!_json["disableMemory"].empty()) |
| 26 | op.disableMemory = _json["disableMemory"].asBool(); |
| 27 | if (!_json["disableStack"].empty()) |
| 28 | op.disableStack =_json["disableStack"].asBool(); |
| 29 | if (!_json["fullStorage"].empty()) |
| 30 | op.fullStorage = _json["fullStorage"].asBool(); |
| 31 | return op; |
| 32 | } |
| 33 | |
| 34 | h256 Debug::blockHash(string const& _blockNumberOrHash) const |
| 35 | { |
no test coverage detected