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

execute_read_only_bytecode Internal error #4555

Closed
Thykof opened this issue Nov 21, 2023 · 3 comments · Fixed by #4570
Closed

execute_read_only_bytecode Internal error #4555

Thykof opened this issue Nov 21, 2023 · 3 comments · Fixed by #4570
Assignees
Labels
enhancement New feature or request

Comments

@Thykof
Copy link
Contributor

Thykof commented Nov 21, 2023

Describe the bug
A clear and concise description of what the bug is.

On buildnetv27, the execute_read_only_bytecode call fails with

{
    "jsonrpc": "2.0",
    "error": {
        "code": -32603,
        "message": "Internal error"
    },
    "id": 1
}

To Reproduce

curl --location 'https://buildnet.massa.net/api/v2' \
--header 'Content-Type: application/json' \
--data '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "execute_read_only_bytecode",
    "params": [[{"max_gas":3980167295,"coins":"1.9253","fee":"0","address":"AU1wN8rn4SkwYSTDF3dHFY4U28KtsqKL1NnEjDZhHnHEy6cEQm53","bytecode":[0,97,115,109,1,009,97,112],"operation_datastore":[0]}]]
}'

I truncated the bytecode.

Expected behavior
A clear and concise description of what you expected to happen.

If the call has an error, I should receive a clear error message.

@aoudiamoncef aoudiamoncef self-assigned this Nov 27, 2023
@aoudiamoncef aoudiamoncef added the enhancement New feature or request label Nov 27, 2023
@aoudiamoncef
Copy link
Contributor

Hi @Thykof, please can you share the complete request please ? have you the same error message in sandbox mode ?

@bilboquet
Copy link
Contributor

bilboquet commented Nov 29, 2023

Just curious, does a regular call succeed?
Having the sources of the bytecode would help a lot to reproduce and investigate.

@Thykof
Copy link
Contributor Author

Thykof commented Nov 29, 2023

Yes the regular call succeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants