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

stores identity in multisig account value #5630

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

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Nov 8, 2024

Summary

updates the MultisigKeys interface to store the multisig account identity in the account value

adds a migration, 033, that derives the account identity from the account secret already stored in the account

updates importAccount to derive identity from secret at time of import. deriving the identity instead of using the identity included in the import maintains backwards compatibility

Closes IFL-3118

Testing Plan

  1. export multisig account as JSON on staging, see that it does not contain identity
  2. export multisig account as JSON on this branch, see that it does contain identity
  3. import exports back into new datadirs on this branch, verify that imports succeed

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

@hughy hughy force-pushed the feat/hughy/migrate-encrypted-wallet branch 3 times, most recently from 49815b7 to 19637d8 Compare November 14, 2024 18:52
@hughy hughy force-pushed the feat/hughy/migrate-encrypted-wallet branch from 19637d8 to 818d105 Compare November 22, 2024 20:27
Base automatically changed from feat/hughy/migrate-encrypted-wallet to staging November 26, 2024 19:00
@hughy hughy force-pushed the feat/hughy/multisig-keys-identity branch 3 times, most recently from 8c107ff to c178808 Compare December 4, 2024 23:27
@hughy hughy marked this pull request as ready for review December 4, 2024 23:45
@hughy hughy requested a review from a team as a code owner December 4, 2024 23:45
@hughy hughy marked this pull request as draft December 4, 2024 23:58
@hughy hughy force-pushed the feat/hughy/multisig-keys-identity branch from c178808 to 1fb485b Compare December 5, 2024 00:04
updates the MultisigKeys interface to store the multisig account identity in the
account value

adds a migration, 034, that derives the account identity from the account
secret already stored in the account

updates importAccount to derive identity from secret at time of import. deriving
the identity instead of using the identity included in the import maintains
backwards compatibility
@hughy hughy force-pushed the feat/hughy/multisig-keys-identity branch from 1fb485b to b7253e0 Compare December 5, 2024 00:05
@hughy hughy marked this pull request as ready for review December 5, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant