Skip to content
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

deletes multisig identity on account import #5692

Draft
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Dec 6, 2024

Summary

since the identity will always be stored on the multisig identity we don't need to maintain the record of the identity separately in the multisigIdenitities store

keeping identities in this store can be confusing for future use when generating new accounts

deletes any existing identity that matches the identity on the imported account instead of adding an identity to the store if it is missing

removes DuplicateIdentityNameError, which is no longer thrown

removes tests that checked duplicate identity name logic on import

Closes IFL-3117

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

Base automatically changed from feat/hughy/multisig-keys-identity to staging January 21, 2025 23:35
since the identity will always be stored on the multisig identity we don't need
to maintain the record of the identity separately in the multisigIdenitities
store

keeping identities in this store can be confusing for future use when generating
new accounts

deletes any existing identity that matches the identity on the imported account
instead of adding an identity to the store if it is missing

removes DuplicateIdentityNameError, which is no longer thrown

removes tests that checked duplicate identity name logic on import
@hughy hughy force-pushed the feat/hughy/delete-multisig-identity branch from 48d0b68 to 38e89ad Compare January 22, 2025 18:38
@hughy hughy marked this pull request as ready for review January 22, 2025 18:44
@hughy hughy requested a review from a team as a code owner January 22, 2025 18:44
@hughy hughy added the breaking-change-sdk A breaking change to the SDK API that should be called out in release notes label Jan 22, 2025
@hughy hughy marked this pull request as draft January 24, 2025 22:08
@hughy
Copy link
Contributor Author

hughy commented Jan 24, 2025

We still rely on reading from the multisigIdentities datastore during the signing flow, so we shouldn't delete identities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change-sdk A breaking change to the SDK API that should be called out in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant