Skip to content

Removes unused hashes params from store functions#863

Merged
brooksprumo merged 1 commit intoanza-xyz:masterfrom
brooksprumo:storable-accounts/fixup-unused-hashes-params
Apr 17, 2024
Merged

Removes unused hashes params from store functions#863
brooksprumo merged 1 commit intoanza-xyz:masterfrom
brooksprumo:storable-accounts/fixup-unused-hashes-params

Conversation

@brooksprumo
Copy link
Copy Markdown

@brooksprumo brooksprumo commented Apr 17, 2024

Problem

Now that we've removed account hashes as part of storing accounts, we no longer need to create/pass hashes to the various store functions.

Summary of Changes

Removes unused hashes params from store functions.

@brooksprumo brooksprumo force-pushed the storable-accounts/fixup-unused-hashes-params branch from 47a3e5c to 9b040cf Compare April 17, 2024 18:55
fn store_accounts_to<'a: 'c, 'b, 'c>(
&self,
accounts: &'c impl StorableAccounts<'b>,
_hashes: Option<Vec<impl Borrow<AccountHash>>>,
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Bye bye 👋

@brooksprumo brooksprumo marked this pull request as ready for review April 17, 2024 19:19
@brooksprumo
Copy link
Copy Markdown
Author

brooksprumo commented Apr 17, 2024

Requesting review early since this PR already went through CI before rebasing.

Copy link
Copy Markdown

@jeffwashington jeffwashington left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Copy Markdown

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

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

:shipit:

@brooksprumo brooksprumo merged commit ee2c29c into anza-xyz:master Apr 17, 2024
@brooksprumo brooksprumo deleted the storable-accounts/fixup-unused-hashes-params branch April 17, 2024 20:37
michaelschem pushed a commit to michaelschem/agave that referenced this pull request Apr 20, 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