Skip to content

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 May 9, 2024 08:54
@dan437 dan437 merged commit 5100ea3 into main May 9, 2024
@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