-
Notifications
You must be signed in to change notification settings - Fork 44
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
Multichain erc20 vote weight + Native ETH voting #10049
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Change the name of the voting strategy from "Connect ERC 20" to "Use ERC20/ETH"
This one from the ticket is not applied
- Created community on BASE and topic with native address. Vote weight is 0 for me even though I have ~0.22 base eth in my wallet.
- Cant vote on a thread in topic that uses native token.
Kapture.2024-12-02.at.16.44.57.mp4
- There are some TS error around
getTokenError
in two components
}); | ||
|
||
console.log({ erc20Balance, userEthBalance }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
const nativeTokenMetadata: GetTokenMetadataResponse = { | ||
decimals: 18, | ||
logo: '', | ||
name: 'ETH', // TODO: get native eth name/symbol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you gonna work on this TODO in this PR? If not, please create ticket and link it here in the comment.
fullWidth | ||
tokenError={getTokenError()} | ||
/> | ||
<CWCheckbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldnt this be only visible (and logic applied) on particular chains
per ticket:
If community is on Base or ETH, there will be a checkbox field beneath the token address field. This field would say "use native token"
Link to Issue
Closes: #9849
Closes: #9927
Description of Changes
Test Plan
Deployment Plan
N/A
Other Considerations