-
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
Refactor CreateProposalTemplateForm into generic ProposalBuilder #1524
Conversation
…more generic to be compatible with creating regular proposal
✅ Deploy Preview for fractal-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…query-param-fix Fix for appending `templateHash` query parameter
…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.
LGTM.
#1525 should be merged first
…ot specified - immediately return transaction with calldata set to 0x
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.
Awesome. Easy to follow. Just a few code moves, name and file changes. LGTM
…that-just-sends-assets Allow creating proposal with no function name / signature specified
…ilder-for-create-proposal-page Use ProposalBuilder on Create Proposal page
Going to dismiss for the moment, to do a full live testing review, now that the branches are merged in
Hi @mudrila Did a few tests this morning (results below). Note - I'd like to get @Da-Colon / @adamgall in the UI creating proposals in the UI too to i) try some more complex Txs ii) try some from a multisig DAO. Azorious DAO Proposal: Proposal #1 - Tried to approve token for disperse QUESTION - Based on the above flow, shouldn't ETH value have an '*' next to it in the UI so the user knows it is mandatory Proposal #2 - Tried to create proposal to disperse token
So in summary everything seemed to work as intended but I think we should make it clearer that the ETH Value is now mandatory and do some more tests with multisig daos and sending ethvalue |
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.
I noticed the helper text for eth value is 1.2
is this still correct? or is this a suppose to be in wei?
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.
Awesome. Tested and works well, sides from the known ETH Value issues already discussed.
I tested using the WETH contract. with through all three steps seperately (deposit, approve, withdraw), then tested the multitransaction with two deposits.
good point, can we confirm? Also @mudrila did you say at standup that my asterix point above is solved by the 'hot fix' PR? |
…builder' into hotfix/eth-value
Hotfix for missing bigNumberValue on ethValue while creating proposal from template
Yup, that's correct - we're exponentiating this later on |
@mudrila - I tried to redo the same two proposals above. The first went without any issue The second wouldn't execute and I got proposal failed with the below error message. Any ideas? |
@mudrila apologies, the bug above was me not wrapping the value / address with []... AGAIN. My bad, the proposal got created. I just want to do a few more multisig create proposals to match these azorious ones. I'll approve my end of day |
@mudrila can you please handle these conflicts? The "bigint" PR was merged, and you have quite a few changes to various BigNumber properties in this PR. |
src/components/DaoCreator/formComponents/AzoriusTokenAllocation.tsx
Outdated
Show resolved
Hide resolved
Oops, forgot to leave a comment on the review I just left. Just one small change with the change in i18n. There's a lot happening in this PR, but the changes seem relatively straightforward, so I have no major comments or suggestions. Nice job! |
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.
Actually, just going to leave an "Approve" on here. Would like that English string to get cleaned up though.
Update helperTargetAddress copy Co-authored-by: Adam Gall <[email protected]>
I @mudrila I got the multisig testing done this half,. To add to the above it worked:
will approve this now |
hahah just realised it was merged yesterday. Nice :) |
This PR refactors
CreateProposalTemplateForm
into "general use"ProposalBuilder
component and uses that component onCreateProposalTemplatePage
andCreateProposalPage
. This PR will accumulate other PRs related to this chain of improvements/refactoring.Depends on Use ProposalBuilder on Create Proposal page #1525
Depends on Allow creating proposal with no function name / signature specified #1529
Depends on Hotfix for missing bigNumberValue on ethValue while creating proposal from template #1528
Closes Use components from "Proposal Template" builder in the standard "Proposal" builder #1363
Closes Proposal (from template) that simply "sends ETH" fails #1513
Closes "Submit and create proposal" button #1512