diff --git a/src/domain/evm/evmInterfaceEvidence.ts b/src/domain/evm/evmInterfaceEvidence.ts index e9064b2f47e..7057126f340 100644 --- a/src/domain/evm/evmInterfaceEvidence.ts +++ b/src/domain/evm/evmInterfaceEvidence.ts @@ -1,19 +1,12 @@ -import { - createEvidence, - type EvidenceLocation, - type EvidenceProvider, - type EvidenceSubjectTarget, -} from "../evidence.js"; +import type { AnalysisObservation } from "../analysisObservation.js"; +import { createEvidence, type EvidenceSubjectTarget } from "../evidence.js"; import type { InspectEvmInterfaceInput } from "./evmInterface.js"; -import type { JsonValue } from "../jsonValue.js"; -interface EvmInterfaceObservation { +interface EvmInterfaceObservation extends Pick< + AnalysisObservation, + "provider" | "result" | "rawResult" | "locations" | "limitations" +> { readonly subject: EvidenceSubjectTarget & { readonly format: "file" }; - readonly provider: EvidenceProvider; - readonly result: JsonValue; - readonly rawResult: JsonValue | null; - readonly locations: readonly EvidenceLocation[]; - readonly limitations: readonly string[]; } /** Preserve the same validated inference and provenance on success and failed finalization. */