-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRAFT: add caip ipld log #2
base: master
Are you sure you want to change the base?
Conversation
} | ||
type GenesisEvent struct { | ||
header GenesisHeader | ||
data Any | &Any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure how to define ANY or CID of ANY in ipld schema language
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data Any | &Any | |
data Any | Link |
5aed49f
to
9be7fb2
Compare
type DataHeader struct { | ||
controllers optional [String] | ||
} | ||
|
||
type DataEvent struct { | ||
id Link | ||
prev Link | ||
header optional DataHeader | ||
data Any | &Any | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type DataHeader struct { | |
controllers optional [String] | |
} | |
type DataEvent struct { | |
id Link | |
prev Link | |
header optional DataHeader | |
data Any | &Any | |
} | |
type Event GenesisEvent | DataEvent | AnchorDataEvent | |
type DataHeader struct { | |
controllers optional [String] | |
} | |
type DataEvent struct { | |
id &GenesisEvent | |
prev &Event | [&Event] | |
header optional DataHeader | |
data Any | Link | |
} |
Opening local PR again, to decide if want to make this a CAIP or not. It is very minimally defined to be a general CAIP. Have to decide if such a minimally defined spec is useful or not and if makes sense as a CAIP.