Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Improve sendSignedTransaction revert reason fetching #3457

Closed
cgewecke opened this issue Apr 8, 2020 · 1 comment · Fixed by #3505
Closed

Improve sendSignedTransaction revert reason fetching #3457

cgewecke opened this issue Apr 8, 2020 · 1 comment · Fixed by #3505
Assignees
Labels
1.x 1.0 related issues Enhancement Includes improvements or optimizations

Comments

@cgewecke
Copy link
Collaborator

cgewecke commented Apr 8, 2020

RE #3420 @nivida noted in gitter that it would be better to reconstitute the failed transaction for replay as a call without making any extra server reqs. In #3420 the call params are obtained by fetching the transaction record.

An equally terse and more efficient way would be to use ethers.utils.parseTransaction.

@cgewecke cgewecke self-assigned this Apr 8, 2020
@cgewecke cgewecke added 1.x 1.0 related issues Enhancement Includes improvements or optimizations labels Apr 8, 2020
@nivida
Copy link
Contributor

nivida commented Apr 15, 2020

RLP decoding FTW ;-P @cgewecke

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.x 1.0 related issues Enhancement Includes improvements or optimizations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants