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

program::message::AccountKeys: Clone, Default, Debug, Eq #33749

Merged
merged 1 commit into from
Oct 18, 2023
Merged

program::message::AccountKeys: Clone, Default, Debug, Eq #33749

merged 1 commit into from
Oct 18, 2023

Conversation

ilya-bobyr
Copy link
Contributor

@ilya-bobyr ilya-bobyr commented Oct 18, 2023

It is a pretty standard set of traits to implement on most types. Both Pubkey and LoadedAddresses contained within the AccountKeys already implement them. Doing the same for AccountKeys could simplify unit tests and/or some common value manipulation logic.

This is a pretty standard set of traits to implement on most types.
Both `Pubkey` and `LoadedAddresses` contained within the `AccountKeys`
already implement them.  Doing the same for `AccountKeys` could simplify
unit tests and/or some common value manipulation logic.
@ilya-bobyr ilya-bobyr changed the title program::message::AccountKeys: Clone, Default, Debug, Eq program::message::AccountKeys: Clone, Default, Debug, Eq Oct 18, 2023
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #33749 (0dca395) into master (785959b) will decrease coverage by 0.1%.
The diff coverage is 0.0%.

@@            Coverage Diff            @@
##           master   #33749     +/-   ##
=========================================
- Coverage    81.8%    81.7%   -0.1%     
=========================================
  Files         806      806             
  Lines      217894   217900      +6     
=========================================
- Hits       178256   178240     -16     
- Misses      39638    39660     +22     

Copy link
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Looks great!

@ilya-bobyr ilya-bobyr merged commit 84c2f9d into solana-labs:master Oct 18, 2023
25 checks passed
@ilya-bobyr ilya-bobyr deleted the pr/AccountKeys-derive-common branch October 18, 2023 17:22
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