foundry-rs / foundry-rs/foundry
feat(`forge script`): make it possible to write asynchronous / promises logic
Open
Cmd-forge-script
T-feature
- Dominant language
- Rust
- Stars
- 10.6k
- Forks
- 2.6k
- Avg merge
- 18h 20m
- Merged PRs (30d)
- 510
Description
### Component
Forge
### Describe the feature you would like
For example, I would like to do `vm.attachBlob` and wait for that transaction and then wait for some event that comes in response from smart contract after blob is uploaded. I tried using `vm.getLogs` `vm.roll`, `vm.sleep` together with the `--slow` flag, but it doesn't seem to work.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.