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

Don't sync in Authority Aggregator #3599

Merged
merged 1 commit into from
Jul 29, 2022
Merged

Don't sync in Authority Aggregator #3599

merged 1 commit into from
Jul 29, 2022

Conversation

lxfind
Copy link
Contributor

@lxfind lxfind commented Jul 29, 2022

Now that we have gossip + checkpoint + execution_driver, we should no longer need the object sync when processing a transaction in the authority aggregator.

@lxfind lxfind requested review from gdanezis and mystenmark July 29, 2022 02:26
.collect();

let (_active_objects, _deleted_objects) =
self.sync_all_given_objects(&required_ids).await?;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure how far you want to go with this. However, if you also remove sync_account_state (as suggested here #1045) you can also remove sync_all_owned_objects which is the only call site of sync_all_given_objects, and thus you can remove that too.

@lxfind lxfind merged commit f0f71b6 into main Jul 29, 2022
@lxfind lxfind deleted the auth-agg-remove-sync branch July 29, 2022 14:28
huitseeker pushed a commit to huitseeker/sui that referenced this pull request Aug 1, 2022
huitseeker pushed a commit that referenced this pull request Aug 1, 2022
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.

2 participants