Skip to content

Commit

Permalink
chore: Add comment clarifying that SignedEvent is only for the rust j…
Browse files Browse the repository at this point in the history
…s-ceramic client
  • Loading branch information
stbrody committed May 16, 2024
1 parent 7efcd7d commit cb53168
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions event/src/unvalidated/ext/signed_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ use serde::Serialize;
const DAG_CBOR_CODEC: u64 = 0x71;

/// A ceramic event
/// This is used the format that js-ceramic expects to receive events in via its http api, and is
/// used by the rust client for js-ceramic. This is *not* the actual format of a signed-event in
/// the protocol.
/// TODO: Delete this once js-ceramic is gone, or once we no longer test against it with a rust client.
pub struct SignedEvent {
/// Cid of the data for the event
pub cid: Cid,
Expand Down

0 comments on commit cb53168

Please sign in to comment.