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 resolve safe transaction receipt for voting #842

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pedrohasf
Copy link
Contributor

@pedrohasf pedrohasf commented Feb 20, 2025

This implementation hopefully should replace all instances of waitForTransactionReceipt in the long term. Keeping it contained to voting right now as it would impact critical functions of the app and needs to be thoroughly tested

Copy link

vercel bot commented Feb 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agora-next-b3 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-boost ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-cyber ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-derive 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-ens 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-etherfi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-optimism ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-pguild 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-scroll 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-uniswap 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm
agora-next-xai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 4:24pm

Copy link

github-actions bot commented Feb 20, 2025

JIRA Issue: ENG-1183

};

export const wrappedWaitForTransactionReceipt = async (
publicClient: PublicClient,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason why pass in client here? Since the plan is to move to use this function mostly, should we move the client to be called in this function?

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