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

Add a Position to EventPositionOpen #4755

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

cronokirby
Copy link
Contributor

This is necessary because at no other point in the related chain of events do we ever see the full position, and we need to see the full position to get information such as the price.

We could simply add in the price, but it's more conservative to simply emit the entire position, in case there's anything else we might've forgotten about.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    This adds new data to events.

This is necessary because at no other point in the related chain of
events do we ever see the full position, and we need to see the full
position to get information such as the price.

We could simply add in the price, but it's more conservative to simply
emit the entire position, in case there's anything else we might've
forgotten about.
Copy link
Contributor

@aubrika aubrika left a comment

Choose a reason for hiding this comment

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

Looks purely additive to me - approved

@aubrika aubrika merged commit e6883fa into main Jul 24, 2024
13 checks passed
@aubrika aubrika deleted the event-position-open-update branch July 24, 2024 19:34
@conorsch conorsch mentioned this pull request Aug 28, 2024
3 tasks
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