Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Moves NonceKeyedAccount from the SDK to the Runtime. #20954

Conversation

Lichtso
Copy link
Contributor

@Lichtso Lichtso commented Oct 25, 2021

Problem

NonceKeyedAccount is only used in the runtime and needs an InvokeContext for testing.
So it makes sense to move it to the runtime instead to avoid cyclic dependencies once MockInvokeContext is replaced.

Summary of Changes

Moves NonceKeyedAccount from the SDK to the Runtime.

Fixes #

@Lichtso Lichtso requested a review from t-nelson October 25, 2021 18:27
Copy link
Contributor

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

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

lgtm. Thanks!

@codecov
Copy link

codecov bot commented Oct 25, 2021

Codecov Report

Merging #20954 (0f7a86f) into master (e03dc9e) will increase coverage by 0.1%.
The diff coverage is 93.4%.

@@            Coverage Diff            @@
##           master   #20954     +/-   ##
=========================================
+ Coverage    81.4%    81.5%   +0.1%     
=========================================
  Files         531      496     -35     
  Lines      141636   139627   -2009     
  Branches      295        0    -295     
=========================================
- Hits       115312   113896   -1416     
+ Misses      26224    25731    -493     
+ Partials      100        0    -100     

@Lichtso Lichtso merged commit cf0fd5b into solana-labs:master Oct 25, 2021
@Lichtso Lichtso deleted the refactor/move_NonceKeyedAccount_from_sdk_to_runtime branch October 25, 2021 20:58
dankelleher pushed a commit to identity-com/solana that referenced this pull request Nov 24, 2021
frits-metalogix added a commit to identity-com/solana that referenced this pull request Nov 24, 2021
@Lichtso Lichtso mentioned this pull request Jan 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants