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

when 1.16 is out upgrade and use stack height to detect cpi level #25

Open
austbot opened this issue Aug 16, 2023 · 0 comments
Open

when 1.16 is out upgrade and use stack height to detect cpi level #25

austbot opened this issue Aug 16, 2023 · 0 comments

Comments

@austbot
Copy link
Contributor

austbot commented Aug 16, 2023

see https://github.com/solana-labs/solana/blob/master/transaction-status/src/lib.rs#L225

usage of stack height should change some of this code
https://github.com/metaplex-foundation/blockbuster/blob/main/blockbuster/src/instruction.rs#L61

in short we are relying on 0 self cpis happening to determine the depth of the cpi, this is only because via geyser we dont get that information.

see also metaplex-foundation/digital-asset-rpc-infrastructure#107

@danenbm danenbm mentioned this issue Mar 7, 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

No branches or pull requests

1 participant