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

impl Deref for RuntimeTransaction #2675

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

apfitzge
Copy link

@apfitzge apfitzge commented Aug 20, 2024

Problem

Summary of Changes

  • implement Deref for RuntimeTransaction<T> so that RuntimeTransaction is able to access transaction information

Fixes #

@@ -64,7 +64,13 @@ impl<T: StaticMetaAccess> StaticMeta for RuntimeTransaction<T> {
}
}

impl<M: DynamicMetaAccess> DynamicMeta for RuntimeTransaction<M> {}
impl<T: DynamicMetaAccess> DynamicMeta for RuntimeTransaction<T> {}
Copy link
Author

Choose a reason for hiding this comment

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

Only changed M to T here to be consistent with the other generic parameter naming in this file.

@apfitzge apfitzge marked this pull request as ready for review August 20, 2024 17:28
@apfitzge apfitzge requested a review from tao-stones August 20, 2024 17:28
@apfitzge apfitzge force-pushed the runtime_transaction_as_ref branch from 663bf41 to 1597237 Compare August 20, 2024 17:37
@apfitzge apfitzge changed the title impl AsRef for RuntimeTransaction impl Deref for RuntimeTransaction Aug 20, 2024
Copy link

@tao-stones tao-stones left a comment

Choose a reason for hiding this comment

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

lgtm

@apfitzge apfitzge self-assigned this Aug 23, 2024
@apfitzge apfitzge force-pushed the runtime_transaction_as_ref branch from 1597237 to 809a06c Compare September 25, 2024 20:34
@apfitzge apfitzge merged commit 6543f82 into anza-xyz:master Sep 26, 2024
40 checks passed
@apfitzge apfitzge deleted the runtime_transaction_as_ref branch September 26, 2024 12:29
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 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.

2 participants