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

fix await Promise all #126

Merged
merged 4 commits into from
May 28, 2024
Merged

fix await Promise all #126

merged 4 commits into from
May 28, 2024

Conversation

swaggymarie
Copy link
Contributor

No description provided.

signedSequence.map((set) =>
Promise.all(
await Promise.all(signedSequence.map(async (set) =>
await Promise.all(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we're sending the txn signature back while we wait, but don't know outside of metaDAOproject/meta-dao-frontend#63 and https://github.com/metaDAOproject/meta-dao-frontend/pull/75/files as options to do so. This is an improvement for sure and we're likely going to merge it (once I see it in action shortly).

Just wanted to draw attention to a possible solution.

@R-K-H R-K-H merged commit 28c12b6 into main May 28, 2024
1 check passed
@R-K-H R-K-H deleted the fix/wait-confirmation branch May 29, 2024 12:18
kilgaloon pushed a commit that referenced this pull request Aug 6, 2024
* fix await Promise all

* add transaction response type

* version bump

---------

Co-authored-by: Kollan House <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants