Skip to content

feat: add api to save ChangeSet#695

Merged
tac0turtle merged 4 commits intomasterfrom
675/save_changeset
Mar 2, 2023
Merged

feat: add api to save ChangeSet#695
tac0turtle merged 4 commits intomasterfrom
675/save_changeset

Conversation

@cool-develope
Copy link
Contributor

ref: #675

To migrate the original tree to the new node-key, it needs to sync the specific version in the new format

@cool-develope cool-develope requested a review from a team February 28, 2023 13:53
Copy link
Contributor

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you use another api to pull the change sets out and this would be writing?

@cool-develope
Copy link
Contributor Author

would you use another api to pull the change sets out and this would be writing?

sure, since we already have the fetching api here (

func (t *ImmutableTree) TraverseStateChanges(startVersion, endVersion int64, fn func(version int64, changeSet *ChangeSet) error) error {
)

@tac0turtle tac0turtle merged commit de1532f into master Mar 2, 2023
@tac0turtle tac0turtle deleted the 675/save_changeset branch March 2, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants