@returns true if any ethdebug output (global or per-contract) was requested.
| 319 | |
| 320 | /// @returns true if any ethdebug output (global or per-contract) was requested. |
| 321 | bool isAnyEthdebugRequested(Json const& _outputSelection) |
| 322 | { |
| 323 | if (!_outputSelection.is_object()) |
| 324 | return false; |
| 325 | |
| 326 | static std::array constexpr ethdebugArtifacts{ |
| 327 | "evm.bytecode.ethdebug", "evm.deployedBytecode.ethdebug", |
| 328 | "ethdebug.resources", "ethdebug.compilation" |
| 329 | }; |
| 330 | |
| 331 | return areArtifactsRequested(_outputSelection, ethdebugArtifacts); |
| 332 | } |
| 333 | |
| 334 | /// @returns true if the given global ethdebug output was requested via */*. |
| 335 | bool isEthdebugGlobalOutputRequested(Json const& _outputSelection, std::string const& _artifact) |
no test coverage detected