foundry-rs / foundry-rs/foundry

feat(`forge script`): make it possible to write asynchronous / promises logic

Open
#10,362 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.