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

v1.17: rpc: parse token accounts in simulate_transaction (backport of #34619) #34852

Merged
merged 2 commits into from
Jan 20, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 19, 2024

This is an automatic backport of pull request #34619 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* rpc: parse token accounts in simulate_transaction

* add overwrite_accounts into get_encoded_account and get_parsed_token_account

* revert get_mint_decimals scope changes

* move common.rs to rpc/account_resolver.rs

* rename get_account to get_account_from_overwrites_or_bank

* add a comment

* clippy

* add comment

Co-authored-by: Tyera <[email protected]>

---------

Co-authored-by: Tyera <[email protected]>
(cherry picked from commit 7470c3d)
@mergify mergify bot assigned yihau Jan 19, 2024
@CriesofCarrots
Copy link
Contributor

We didn't backport the inner-instructions PR to v1.17, so the test string needs updating to remove that field.

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (407dfba) 81.6% compared to head (cfa480e) 81.7%.

Additional details and impacted files
@@           Coverage Diff           @@
##            v1.17   #34852   +/-   ##
=======================================
  Coverage    81.6%    81.7%           
=======================================
  Files         805      806    +1     
  Lines      218806   218863   +57     
=======================================
+ Hits       178747   178832   +85     
+ Misses      40059    40031   -28     

@yihau
Copy link
Member

yihau commented Jan 19, 2024

thank you for investigating this one for me!
(btw, I have no idea why codecov is here 😞 )

@yihau yihau requested a review from CriesofCarrots January 19, 2024 10:32
@CriesofCarrots CriesofCarrots merged commit d878262 into v1.17 Jan 20, 2024
33 checks passed
@CriesofCarrots CriesofCarrots deleted the mergify/bp/v1.17/pr-34619 branch January 20, 2024 00:03
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