foundry icon indicating copy to clipboard operation
foundry copied to clipboard

fix(cheatcodes): improve fork cheatcodes messages

Open grandizzy opened this issue 4 months ago • 3 comments

Motivation

Closes #8908

follow up on https://github.com/foundry-rs/foundry/pull/8936#pullrequestreview-2321724224 not sure what's the best solution here but I hit this while doing some tests, the issue is with wrapped errors that are not displaying entirely when failed from cheatcodes and propagated to test result, https://github.com/foundry-rs/foundry/pull/8936 could be a better solution as will handle all other cases if any...

  • with this approach: image

  • with https://github.com/foundry-rs/foundry/pull/8936 approach image

  • current image

@yash-atreya @mattsse @klkvr

Solution

grandizzy avatar Oct 18 '24 13:10 grandizzy