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

Inconsistent TX processing #2

Closed
worlddeleteRin opened this issue Mar 9, 2023 · 2 comments
Closed

Inconsistent TX processing #2

worlddeleteRin opened this issue Mar 9, 2023 · 2 comments

Comments

@worlddeleteRin
Copy link

Problem:

[Testnet] Inconsistent TX processing between neo-go and neo-c# nodes on

Tx hash example:
0xc9bcd2e27847d95a73de652759d9eeeaeee8499292d06b42f495136f421a3f56

JSON-RPC request:

{
    "params": ["0xc9bcd2e27847d95a73de652759d9eeeaeee8499292d06b42f495136f421a3f56"],
    "jsonrpc": "2.0",
    "id": 123,
    "method": "getapplicationlog"
}

Neo-c# result:

{
    "jsonrpc": "2.0",
    "id": 123,
    "result": {
        "txid": "0xc9bcd2e27847d95a73de652759d9eeeaeee8499292d06b42f495136f421a3f56",
        "executions": [
            {
                "trigger": "Application",
                "vmstate": "HALT",
                "exception": null,
                "gasconsumed": "113138851",
                "stack":  []
                // etc.
            }
        ]
    }
}

Neo-go result:

{
    "id": 123,
    "jsonrpc": "2.0",
    "result": {
        "txid": "0xc9bcd2e27847d95a73de652759d9eeeaeee8499292d06b42f495136f421a3f56",
        "executions": [
            {
                "trigger": "Application",
                "vmstate": "FAULT",
                "gasconsumed": "1915872",
                "stack": [],
                "notifications": [],
                "exception": "at instruction 428 (THROW): unhandled exception: \"ListTokenInternal - invalid owner\""
            }
        ]
    }
}
@AnnaShaleva
Copy link

@worlddeleteRin, thank you for submitting the issue.

I've made an investigation and found the states diff at block 1670095 of the current testnet (it happens earlier than your issue). The state diff is connected with failed contract b531a2ec582c2806023c63cba7c3e752a459afaa update (the same contract is called in your case). See the neo-project/neo#2848, it's likely to be the reason of states diff in your case as far.

For now, we are waiting the neo-project/neo#2848 to be resolved. After that (if it's not the cause of your issue) I'll continue investigation.

@roman-khimov
Copy link
Owner

I'll close this one, nspcc-dev is back, but unfortunately GitHub doesn't allow transferring issues between private and org repositories. We have neo-project/neo#2848 to track the main problem and it seems like no NeoGo modifications are not necessary here. If there'll be something to do based on that we'll create a new issue/PR in nspcc-dev/neo-go.

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

3 participants