Reference:
Suggestion 1
the $report field in WriteCreReportRequest should be removed or optional? No need to enforce user to include it (and its not present in WriteCreReportRequestJson
Suggestion 2
also type WriteCreReportRequest doesnt seem to be importable by clients?
had to import it via:
import { type WriteCreReportRequest } from "@chainlink/cre-sdk/dist/generated-sdk/capabilities/blockchain/evm/v1alpha/client_sdk_gen";
Suggestion 3
WriteCreReportRequest has a receiver property of type uint8Array. should this also be string | Viem.Address?
note that the client call works with type string as well....!
Reference:
cre-sdk-typescript/packages/cre-sdk/src/generated-sdk/capabilities/blockchain/evm/v1alpha/client_sdk_gen.ts
Line 73 in 8837745
Suggestion 1
the
$reportfield inWriteCreReportRequestshould be removed or optional? No need to enforce user to include it (and its not present inWriteCreReportRequestJsonSuggestion 2
also type
WriteCreReportRequestdoesnt seem to be importable by clients?had to import it via:
import { type WriteCreReportRequest } from "@chainlink/cre-sdk/dist/generated-sdk/capabilities/blockchain/evm/v1alpha/client_sdk_gen";
Suggestion 3
WriteCreReportRequesthas areceiverproperty of type uint8Array. should this also be string | Viem.Address?note that the client call works with type string as well....!