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

Check for presence of v1 delegate address #959

Merged
merged 9 commits into from
Oct 29, 2024
Merged

Check for presence of v1 delegate address #959

merged 9 commits into from
Oct 29, 2024

Conversation

hernandoagf
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Oct 29, 2024

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

Name Status Preview Comments Updated (UTC)
governance-portal-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 29, 2024 5:06pm

torhector2
torhector2 previously approved these changes Oct 29, 2024
Comment on lines 17 to 19
const v1VoteDelegateAddress = await contracts.voteDelegateFactoryOld.delegates(address);
return v1VoteDelegateAddress !== ZERO_ADDRESS
? v1VoteDelegateAddress
Copy link
Collaborator

Choose a reason for hiding this comment

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

small thing, but can we call this voteDelegateAddressOld instead of v1VoteDelegateAddress to keep it consistent?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated!

b-pmcg
b-pmcg previously approved these changes Oct 29, 2024
@hernandoagf hernandoagf merged commit e8b2534 into master Oct 29, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants