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 https://github.com/metaplex-foundation/digital-asset-rpc-infrastructure/issues/107
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