feat: V2 signers implementation with external signer support#26
Draft
0xLeo-sqds wants to merge 10 commits intofeat/implement-account-utilizationfrom
Draft
feat: V2 signers implementation with external signer support#260xLeo-sqds wants to merge 10 commits intofeat/implement-account-utilizationfrom
0xLeo-sqds wants to merge 10 commits intofeat/implement-account-utilizationfrom
Conversation
- Add SmartAccountSignerV2 enum (Native, P256Webauthn, Secp256k1, Ed25519External) - Add SmartAccountSignerWrapper for backward-compatible V1/V2 serialization - Add precompile introspection for external signature verification - Add instructions: settings_add_external_signer, settings_remove_external_signer, proposal_vote_v2 - Update Consensus trait and Settings to use SignerWrapper - Add 23 new error types for V2/precompile errors Current state pass all regression tests with the old SDK
Extract Settings::modify_with_action branches into helpers to reduce BPF stack usage, and add V2 signer/migration validation plus sync consensus edge-case tests.
…st updates Merges SDK regeneration and test fixes that resolve the missing program account issue causing 12 test failures with 0xbbd (AccountNotEnoughKeys). Conflict resolution: - Combined imports in increment_account_index.rs (events + V2 utils) - Added account index validation to batch_create validate() and validate_v2() - Preserved V2 instruction structure with create_batch_inner helper
- Fixed access_control to pass args parameter - Removed unused Consensus import
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.
No description provided.