-
Notifications
You must be signed in to change notification settings - Fork 40
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
raps failures fix #740
raps failures fix #740
Conversation
Here's the packed extension for this build: |
Here's the packed extension for this build: |
Here's the packed extension for this build: |
// eslint-disable-next-line no-await-in-loop | ||
await executeAction(actionParams); | ||
const { hash } = await executeAction(actionParams); | ||
hash && (await waitForNodeAck(hash, wallet.provider)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we should only await
if is not the last action, if is the last action we'd be delaying the execution of this method for no reason
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call!
Here's the packed extension for this build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👌
Here's the packed extension for this build: |
Fixes BX-####
Figma link (if any):
What changed (plus any additional context for devs)
Before executing a new Rap action, make sure the node actually ack the last tx by calling
eth_getTransaction
, that way we avoid have failures likefuture transaction tries to replace pending
Screen recordings / screenshots
What to test
Final checklist
yarn build
).