foundry: replay failed transaction in script

Component

Forge, Cast

Describe the feature you would like

As described here https://github.com/mds1/forge-trace-and-script-issue#issue-1-more-verbose-failure-messages-in-scripts

the tx failure error could be more verbose, we already have cast run which we could use to get the revert reason with some refactoring

Additional context

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

checking in, is anyone currently working on this or started working on this and has a draft?

@joaquinlpereyra yes I am working on it

@mattsse Hello, could I pick up this issue, please? If on one is working on this

@fahimahmedx RunArgs is an internal struct in our code base, it’s not user facing, it defines the arguments for the command cast run