foundry
foundry copied to clipboard
get_receipt returns NullResp
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.
What is the specific nightly this is happening on and could you please share complete command and its output?
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.
Can use loop for waiting Receipt
instead of returning NullResp
?
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!