Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add --wait/--no-wait flags to certain cli commands (#2378)
This PR solves issue #2359. It adds a new `--wait` flag (default `true`) to control whether the cli waits for transactions to be mined. It also adds the equivalent `--no-wait` flag to disable this behaviour and have the cli return early with the transaction hash. These flags do not have short-hand variants. # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [x] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [x] Every change is related to the PR description. - [x] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
- Loading branch information