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

Fix: #20598 #20669

Conversation

Lichtso
Copy link
Contributor

@Lichtso Lichtso commented Oct 13, 2021

Problem

#20598 could not join MNB because of a wrong account index in the runtime.

Summary of Changes

Fixes the account index and renames the variables to avoid this kind of confusion in the future.

Fixes #

@Lichtso Lichtso changed the title Fix/make program id always end of program chain Fix: #20598 Oct 13, 2021
@jackcmay
Copy link
Contributor

Can we add some test coverage to catch this next time?

@Lichtso
Copy link
Contributor Author

Lichtso commented Oct 13, 2021

Sure, is already planned for tomorrow.

@codecov
Copy link

codecov bot commented Oct 13, 2021

Codecov Report

Merging #20669 (8214ee1) into master (220fd41) will decrease coverage by 0.0%.
The diff coverage is 92.8%.

@@            Coverage Diff            @@
##           master   #20669     +/-   ##
=========================================
- Coverage    81.9%    81.9%   -0.1%     
=========================================
  Files         495      495             
  Lines      137757   137763      +6     
=========================================
- Hits       112911   112910      -1     
- Misses      24846    24853      +7     

@Lichtso Lichtso merged commit bbc0bb4 into solana-labs:master Oct 14, 2021
@Lichtso Lichtso deleted the fix/make_program_id_always_end_of_program_chain branch October 14, 2021 06:47
Lichtso added a commit to Lichtso/solana that referenced this pull request Oct 14, 2021
Lichtso added a commit that referenced this pull request Oct 18, 2021
dankelleher pushed a commit to identity-com/solana that referenced this pull request Nov 24, 2021
* Makes argument / parameter interfaces more clear.

* Fixes the bug in solana-labs#20598
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
frits-metalogix added a commit to identity-com/solana that referenced this pull request Nov 24, 2021
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