Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

zachferland
Copy 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.

}
type GenesisEvent struct {
header GenesisHeader
data Any | &Any
Copy link
Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
data Any | &Any
data Any | Link

@zachferland zachferland requested a review from oed November 10, 2022 16:35
Comment on lines +59 to +68
type DataHeader struct {
controllers optional [String]
}

type DataEvent struct {
id Link
prev Link
header optional DataHeader
data Any | &Any
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants