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

Missing inner instructions #28

Open
mohsen-vybenetwork opened this issue Oct 24, 2023 · 3 comments
Open

Missing inner instructions #28

mohsen-vybenetwork opened this issue Oct 24, 2023 · 3 comments

Comments

@mohsen-vybenetwork
Copy link

mohsen-vybenetwork commented Oct 24, 2023

Hey Guys,

It appears there is an issue, and we are missing inner instructions within the transaction topic. Would you please check it out.
Sample signature : iS5igBEcPhspmMjkGcW3y8dGLkAMapFDqCA7JroKP5Cw6d8ctRvLAoQ3GVukLsPozFg8LxgepzhVhQgZhU3XQ1N

    "inner_instructions": [
        {
            "index": 2,
            "instructions": [
                {
                    "accounts": [
                        2
                    ],
                    "program_id_index": 0,
                    "data": ""
                }
            ]
        },
@fanatid
Copy link
Collaborator

fanatid commented Oct 25, 2023

Am I understand correctly that for signature iS5igBEcPhspmMjkGcW3y8dGLkAMapFDqCA7JroKP5Cw6d8ctRvLAoQ3GVukLsPozFg8LxgepzhVhQgZhU3XQ1N in the plugin you received "inner_instructions": []? but see output in the topic message from getTransaction?

@mohsen-vybenetwork
Copy link
Author

mohsen-vybenetwork commented Oct 25, 2023

Hey @fanatid
Yep True. For all messages we are receiving in transaction topic inner instruction is missing. I randomly checked a couple of signatures with solscan, and in all of them, this part was missing for the messages we were getting within the transaction topic.
iS5igBEcPhspmMjkGcW3y8dGLkAMapFDqCA7JroKP5Cw6d8ctRvLAoQ3GVukLsPozFg8LxgepzhVhQgZhU3XQ1N was an example.

Checked this one now:
57uq5mvFSbJ1KW7hvEzgrvwZygoHydf3zorNyTUG4bnppd38SiWSQkQEBAegr4UJaLAhXNzq5569VWfHFEcNWw3A

    "inner_instructions": [
        {
            "index": 2,
            "instructions": [
                {
                    "accounts": [
                        2
                    ],
                    "program_id_index": 0,
                    "data": ""
                },
                {
                    "accounts": [
                        3
                    ],
                    "program_id_index": 0,
                    "data": ""
                },
                {
                    "accounts": [
                        3
                    ],
                    "program_id_index": 0,
                    "data": ""
                },
                {
                    "accounts": [
                        3
                    ],
                    "program_id_index": 0,
                    "data": ""
                },
                {
                    "accounts": [
                        2
                    ],
                    "program_id_index": 0,
                    "data": ""
                },
                {
                    "accounts": [
                        3
                    ],
                    "program_id_index": 0,
                    "data": ""
                },
                {
                    "accounts": [
                        3
                    ],
                    "program_id_index": 0,
                    "data": ""
                }
            ]
        }
    ],`

    "inner_instructions": [
        {
            "index": 1,
            "instructions": [
                {
                    "accounts": [
                        2
                    ],
                    "program_id_index": 0,
                    "data": ""
                }
            ]
        }
    ]

@fanatid
Copy link
Collaborator

fanatid commented Nov 1, 2023

@mohsen-vybenetwork I checked the code again and did not find any problems, do you want to try geyser gRPC + gRPC -> kafka tool? https://github.com/rpcpool/yellowstone-grpc#kafka

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

2 participants