Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_receipt returns NullResp #7902

Open
1 of 2 tasks
hertarr opened this issue May 9, 2024 · 3 comments
Open
1 of 2 tasks

get_receipt returns NullResp #7902

hertarr opened this issue May 9, 2024 · 3 comments
Labels
T-bug Type: bug

Comments

@hertarr
Copy link

hertarr commented May 9, 2024

Component

Forge

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

  • 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 hertarr added the T-bug Type: bug label May 9, 2024
@klkvr
Copy link
Member

klkvr commented May 10, 2024

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

@hertarr
Copy link
Author

hertarr commented May 12, 2024

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
Copy link
Author

hertarr commented May 24, 2024

Can use loop for waiting Receipt instead of returning NullResp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

No branches or pull requests

2 participants