You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just submitting a proposal for the first time and after it was successful my first thought was to execute the proposal. But the only way to get the proposal ID is by calling the totalProposalCount() and checking if yours was the last one created. It's more practical to simply return the ID, enhancing the developer experience and frontend integrations.
Describe Preferred Solution
Add the uint32 proposal ID as a return for submitProposal function.
Feature Request
Describe the Feature Request
I was just submitting a proposal for the first time and after it was successful my first thought was to execute the proposal. But the only way to get the proposal ID is by calling the
totalProposalCount()
and checking if yours was the last one created. It's more practical to simply return the ID, enhancing the developer experience and frontend integrations.Describe Preferred Solution
Code Related
decent-contracts/contracts/azorius/Azorius.sol
Line 148 in 75eac0d
The text was updated successfully, but these errors were encountered: