use safe sdk to get onchain tx hash from safeTxHash #416
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub Issue
fixes #415
Changes
In the TransactionNotFoundError catch the safeTxHash and retrieve the on chain tx hash on the receipet from the Safe service. Rerun the function with the correct txhash and let it flow back into the transaction lifecycles.
Packages Added
Brief list of any packages added, and if folks need to rerun
yarn install
to run locallyNA
Checks
Before making your PR, please check the following:
Notes
safe sdk docs
https://github.com/safe-global/safe-apps-sdk/tree/main/packages/safe-apps-sdk
example api endpoint
https://safe-transaction-goerli.safe.global/api/v1/multisig-transactions/0x7a42aae71eb296b74720273aa6bdcc7b0358f132eeb807e77695f65aa15ded2e/
reference wevm/wagmi#2461