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

Pass hash into createdAt for new account #5614

Conversation

danield9tqh
Copy link
Member

Summary

Simple passing in the sequence for an account birthday does not have the intended behavior when the chain is not yet synced. This is the case that needs to be solved when creating a fresh account in the node app before syncing or snapshotting. If we don't want to refactor the wallet syncer the only way to skip syncing alltogether is to pass in a hash along with the sequence for the account birthday

Testing Plan

Unit tests + tested with the node app syncing from snapshot and from peers

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

@danield9tqh danield9tqh requested a review from a team as a code owner November 4, 2024 22:57
@danield9tqh danield9tqh closed this Nov 7, 2024
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.

3 participants