Repository navigation
feat: simulate multisig execution and summarize expected changes - #250
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Signers can preview a call's runtime execution before submitting or approving a multisig transaction. Transfer and generic-call forms simulate the inner call as the multisig account; approval previews additionally simulate the selected member's multisig operation. Results distinguish approval-only events from final execution and detect nested multisig, proxy, and batch failures.
Expected changes summarize supported transfer, reserve/release, and multisig events. Native amounts preserve precision; assets without known metadata retain explicitly labeled base units. Raw events remain available. Failed simulations do not present event effects as final state changes.
Scope and limitations
This is call-level simulation, not signature, nonce, fee-payment validation, a full storage diff, or a guarantee of future execution. Inner-call simulation assumes the approval threshold is satisfied. Forwarded XCM messages do not prove destination execution or receipt. No Chopsticks service is introduced.
Validation
npm run check: lint, 29 unit tests, type checking, and production build passed; commit hooks also passed Stylelint.Base branch
Targets
master. PR #249 has been merged; this branch includes the updated master and preserves both import and simulation translations. The PR diff contains only simulation work.