-
Notifications
You must be signed in to change notification settings - Fork 32
Optimize Multisig submitAndConfirm #743
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
Conversation
…ith multisig to only search thru non executed transactions
🦋 Changeset detectedLatest commit: 79a78f8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (40.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #743 +/- ##
==========================================
- Coverage 73.14% 69.61% -3.54%
==========================================
Files 17 150 +133
Lines 1188 7075 +5887
Branches 233 1148 +915
==========================================
+ Hits 869 4925 +4056
- Misses 314 2074 +1760
- Partials 5 76 +71
🚀 New features to boost your workflow:
|
|
I tested this, it got to the point where it doesn't time out, but still took about a minute and did a ton of RPC requests |
Adds two new flags to the governance:approve command for better control over multisig transactions: - --submit: Force submission without checking for existing confirmations - --multisigTXId: Specify exact multisig transaction ID to confirm Also adds submitTransaction method to MultiSigWrapper to support the new functionality. Includes comprehensive tests for the new features. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…ith multisig to only search thru non executed transactions
Adds two new flags to the governance:approve command for better control over multisig transactions: - --submit: Force submission without checking for existing confirmations - --multisigTXId: Specify exact multisig transaction ID to confirm Also adds submitTransaction method to MultiSigWrapper to support the new functionality. Includes comprehensive tests for the new features. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
397b776 to
ce02fe0
Compare
|
Latest got it down to about 20 seconds (with me trying to close it as soon as the hardware wallet prompt). So I'd say we're good to go! |
|
/codex what does --submit flag do? |
@martinvol The Key Points:
Example Usage:celocli governance:approve --proposalID 99 --from 0x... --useMultiSig --submit |
Description
Reports that it took very long/timed out when approving a transaction
Other changes
adds ability to specify if submitting or confirming by passing
--submitor--multisigTx NUMBERTested.
How to QA
try to approve something
Related issues
PR-Codex overview
This PR focuses on enhancing the multisig transaction handling in the
@celo/contractkitand@celo/celocli, introducing new command flags and methods for better control over transaction submission and confirmation processes.Detailed summary
submitTransactionmethod inMultiSigWrapperfor granular control over transaction submission.--submitand--multisigTxflags ingovernance:approvecommand for enhanced transaction control.