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

fix: change ordering of events when submitting a bundle #42

Merged
merged 3 commits into from
May 8, 2023

Conversation

mbreithecker
Copy link
Member

When a bundle is uploaded the uploader automatically votes valid on the uploaded bundle without the need to submit an extra transaction (or message). However, in this case the VoteEvent got emitted before the BundleProposed event. This PR swaps the event emission.

@mbreithecker mbreithecker marked this pull request as ready for review May 8, 2023 09:02
@johnletey johnletey added backport/v1.1.x backport patches to v1.1.x branch backport/v1.2.x backport patches to v1.2.x branch labels May 8, 2023
troykessler
troykessler previously approved these changes May 8, 2023
@johnletey johnletey changed the title fix: emit VoteEvent after BundleProposedEvent on bundle upload fix: change ordering of events when submitting a bundle May 8, 2023
Copy link
Member

@johnletey johnletey left a comment

Choose a reason for hiding this comment

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

LGTM 🔥

@johnletey johnletey merged commit 4800744 into main May 8, 2023
@johnletey johnletey deleted the max/fix-vote-event branch May 8, 2023 09:31
mergify bot pushed a commit that referenced this pull request May 8, 2023
Co-authored-by: John Letey <john@kyve.network>
(cherry picked from commit 4800744)
mergify bot pushed a commit that referenced this pull request May 8, 2023
Co-authored-by: John Letey <john@kyve.network>
(cherry picked from commit 4800744)

# Conflicts:
#	CHANGELOG.md
@johnletey johnletey added this to the v1.1.2 milestone May 8, 2023
johnletey pushed a commit that referenced this pull request May 8, 2023
#43)

Co-authored-by: Maximilian Breithecker <72022235+mbreithecker@users.noreply.github.com>
johnletey added a commit that referenced this pull request May 8, 2023
#44)

Co-authored-by: Maximilian Breithecker <72022235+mbreithecker@users.noreply.github.com>
Co-authored-by: John Letey <john@kyve.network>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v1.1.x backport patches to v1.1.x branch backport/v1.2.x backport patches to v1.2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants