foundry icon indicating copy to clipboard operation
foundry copied to clipboard

get_receipt returns NullResp

Open hertarr opened this issue 9 months ago • 3 comments

Component

Forge

Have you ensured that all of these are up to date?

  • [X] Foundry
  • [ ] Foundryup

What version of Foundry are you on?

v0.2.0

What command(s) is the bug in?

forge script --slow

Operating System

Linux

Describe the bug

After deploying each contract, NullResp returned by get_receipt() would exit but tx already successed.

hertarr avatar May 09 '24 19:05 hertarr

What is the specific nightly this is happening on and could you please share complete command and its output?

klkvr avatar May 10 '24 14:05 klkvr

forge script scripts/Contracts.sol:Deploy --broadcast --slow

I don't know why need to return NullResp, it's very easy to get NullResp when transaction is committing.

hertarr avatar May 12 '24 18:05 hertarr

Can use loop for waiting Receipt instead of returning NullResp?

hertarr avatar May 24 '24 08:05 hertarr

Hi @hertarr, would you mind checking if this is still an issue for you?

If so, please provide a minimal reproduction and if relevant, the RPC URL you are running the script against?

For now, marking as resolved as there have been relevant changes since that likely have resolved this issue.

Thanks!

zerosnacks avatar Oct 22 '24 11:10 zerosnacks