Skip to content

Commit 317787d

Browse files
committed
cardano-rpc | Make Datum.payload and Datum.original_cbor proto definitions optional
1 parent 39bf22b commit 317787d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cardano-rpc/proto/utxorpc/v1alpha/cardano/cardano.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ message AddressArray {
1818

1919
message Datum {
2020
bytes hash = 1; // Hash of this datum as seen on-chain
21-
PlutusData payload = 2; // Parsed Plutus data payload
22-
bytes original_cbor = 3; // Original cbor-encoded data as seen on-chain
21+
optional PlutusData payload = 2; // Parsed Plutus data payload
22+
optional bytes original_cbor = 3; // Original cbor-encoded data as seen on-chain
2323
}
2424

2525
// Represents a custom asset in the Cardano blockchain.

0 commit comments

Comments
 (0)