@returns true if any per-contract ethdebug program output was requested.
| 308 | |
| 309 | /// @returns true if any per-contract ethdebug program output was requested. |
| 310 | bool isEthdebugProgramRequested(Json const& _outputSelection) |
| 311 | { |
| 312 | if (!_outputSelection.is_object()) |
| 313 | return false; |
| 314 | |
| 315 | static std::array constexpr ethdebugArtifacts{"evm.bytecode.ethdebug", "evm.deployedBytecode.ethdebug"}; |
| 316 | |
| 317 | return areArtifactsRequested(_outputSelection, ethdebugArtifacts); |
| 318 | } |
| 319 | |
| 320 | /// @returns true if any ethdebug output (global or per-contract) was requested. |
| 321 | bool isAnyEthdebugRequested(Json const& _outputSelection) |
no test coverage detected