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

Emit an event with a Smart Transaction before confirmation #333

Merged
merged 1 commit into from
May 9, 2024

Conversation

dan437
Copy link
Collaborator

@dan437 dan437 commented May 9, 2024

Description

We have to emit an event with an updated Smart Transaction first before confirmation, because then a txHash is returned to the TransactionController once it's available and the #doesTransactionNeedConfirmation function will work properly, since it will find the txHash in the regular transactions list.

Testing Steps

  • Opt into Smart Transactions
  • Submit a Send transaction on Sepolia
  • Once it's finished, you can check that the Transaction Finalized event is only triggered once

@dan437 dan437 requested a review from a team as a code owner May 9, 2024 08:54
@dan437 dan437 merged commit 5100ea3 into main May 9, 2024
16 checks passed
@dan437 dan437 deleted the event-before-confirmation branch May 9, 2024 13:28
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.

3 participants