-
Notifications
You must be signed in to change notification settings - Fork 7
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
Hotfix for missing bigNumberValue on ethValue while creating proposal from template #1528
Hotfix for missing bigNumberValue on ethValue while creating proposal from template #1528
Conversation
Release/20240319
Release/2024-04-08 Part 1: The Merge into prod
…o` param is first with `?` already
…query-param-fix Fix for appending `templateHash` query parameter
✅ Deploy Preview for fractal-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…e and within BigNumberInput
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.
Worked to create proposal templates that can pass successfully at this DAO - https://deploy-preview-1528.app.fractalframework.xyz/proposals/0x77798015f29b314c2afd9b2f307d879dde52957ab1033e8afd5e6ebe14522429?dao=sep:0x74DDE4E0628fad158fC2Bf9772865bd02d9D69FB
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.
Thanks for this PR Kirill. Does the bigNumberValue
property spread amongst these changes still need to have the undefined
type? Are there explicit uses for each of the three types (null, undefined, BN) this property takes?
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.
Code changes make sense, looks good! +1 Adams question.
@adamgall |
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.
That makes sense. I think We can take a look at the typing in other places in later SOL sessions/PRs
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.
In retrospect, I don't know if I love this BigNumberInput
value
type being BigNumber | undefined | null
, that seems kind of excessive.
I walk back what I said on Slack... maybe it would be cleaner to just treat a "missing" ethValue
property in IPFS as meaning "variable ETH value".
Sorry for going back and forth on this. What's your preference?
…builder' into hotfix/eth-value
50dfaaa
into
feature/#1363-generic-templates-builder
No description provided.