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

chore: include regular tx events during the stx status changes #119

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nikoferro
Copy link

@nikoferro nikoferro commented Feb 15, 2023

Regular Swaps fire a ‘transaction submitted’ event, but we aren’t currently triggering this event when a Smart Transaction is submitted.

While the regular tx and an stx go through different flows, we need to map regular tx events to events fired during stx statuses updates, while still keeping STX custom events.

This PR adds Transaction Submitted and Transaction Finalized (in the event that the STX is cancelled)

Made this flow chart so its easier to understand at which point in time these events are included.

More info in: MMS-393

a (1)

@nikoferro nikoferro marked this pull request as ready for review February 15, 2023 13:40
@nikoferro nikoferro requested a review from a team as a code owner February 15, 2023 13:40
@nikoferro
Copy link
Author

tagging @forest-diggs-consensys and @John.Brennan for visibility since they have been part of the conversations around this update

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.

1 participant