Skip to content

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

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

Open
StackOverflowExcept1on opened this issue Apr 24, 2025 · 0 comments
Labels
Cmd-forge-script Command: forge script T-feature Type: feature

Comments

@StackOverflowExcept1on
Copy link
Contributor

StackOverflowExcept1on commented Apr 24, 2025

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

@StackOverflowExcept1on StackOverflowExcept1on added T-feature Type: feature T-needs-triage Type: this issue needs to be labelled labels Apr 24, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Foundry Apr 24, 2025
@zerosnacks zerosnacks changed the title Make it possible to write asynchronous logic in forge script feat(forge script): make it possible to write asynchronous / promises logic May 1, 2025
@zerosnacks zerosnacks added Cmd-forge-script Command: forge script and removed T-needs-triage Type: this issue needs to be labelled labels May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cmd-forge-script Command: forge script T-feature Type: feature
Projects
Status: Backlog
Development

No branches or pull requests

2 participants