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

Use oracle_announcement in place of distinct oracle_info #108

Closed

Conversation

nkohen
Copy link
Contributor

@nkohen nkohen commented Oct 14, 2020

No description provided.

@nkohen nkohen added the design label Oct 14, 2020
@nkohen nkohen mentioned this pull request Oct 14, 2020
Copy link
Contributor

@benthecarman benthecarman left a comment

Choose a reason for hiding this comment

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

Concept ACK

This type of contract info is a simple enumeration where the value `n` is omitted from being
explicitly included as it can be derived from the length field of the TLV and should already be
known from the corresponding `oracle_announcement`.
The order of payouts matches the order of the outcomes in the `oracle_announcement`.
Copy link
Contributor

Choose a reason for hiding this comment

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

The oracle_announcement doesn't have the outcomes, it is actually oracle_announcement -> oracle_event -> event_descriptor

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe should exclude multi nonce descriptors here because I would have no idea what the ordering would be here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not sure what you mean? If you find an enum_contract_info you better have gotten an enum_event_descriptor

@nkohen
Copy link
Contributor Author

nkohen commented Jan 13, 2021

Replaced by #130

@nkohen nkohen closed this Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants