8000 EVM NAC usage: observed callMichelson error strings; 400 vs 429 tells a revert from an out-of-gas by Migl992 · Pull Request #467 · etherlinkcom/docs · GitHub
[go: up one dir, main page]

Skip to content

EVM NAC usage: observed callMichelson error strings; 400 vs 429 tells a revert from an out-of-gas - #467

Merged
NicNomadic merged 5 commits into
etherlinkcom:mainfrom
Migl992:docs/callmichelson-error-catalogue
Nov 20, 2026
Merged

NicNomadic merged 5 commits into
etherlinkcom:mainfrom
Migl992:docs/callmichelson-error-catalogue

Conversation

@Migl992
@Migl992 Migl992 commented Oct 16, 2026 •
Copy link
Copy Markdown
Contributor

The page says a Michelson-side revert and a Michelson-side out-of-gas cannot be distinguished from Solidity. The status code in the revert string does distinguish them: a Michelson failure is 400 Bad Request: <message>, forwarded-gas exhaustion is 429 Too Many Requests: OOG.

This PR corrects that sentence and adds a table of the error strings for the common causes. Every string was taken verbatim from transactions on chain, observed on Previewnet (kernel v0.10 as shown on the Previewnet dashboard, September 2026) and Shadownet (October 2026), and re-checked against the indexed data on 2026-11-11:

Cause Example transaction
FAILWITH in the callee Previewnet 0x3977046f…
Entrypoint does not exist Previewnet 0x979a31b6…
Ill-typed data Previewnet 0xbe4dff3d…
Destination never originated Previewnet 0x5badb9bb…
Non-empty data sent to a tz1 account Shadownet 0x3c1f4c12…
Malformed destination Previewnet 0xac0f4330…
Forwarded gas exhausted (429 Too Many Requests: OOG) Previewnet 0xbb967b97…: the gateway is called with 30000 gas
callMichelsonView on a missing view Previewnet 0xf5101372…

Found while building nactrace, which humanizes these strings into one-sentence root causes.

@vercel
vercel Bot commented Oct 16, 2026
Copy link
Copy Markdown

@Migl992 is attempting to deploy a commit to the Trili Tech Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread docs/evm/nac-usage.md Resolved
Comment thread docs/evm/nac-usage.md Resolved
Comment thread docs/evm/nac-usage.md Resolved
Comment thread docs/evm/nac-usage.md Resolved
Comment thread docs/evm/nac-usage.md Resolved
@Migl992
Migl992 requested a review from NicNomadic November 11, 2026 03:17
Comment thread docs/evm/nac-usage.md Resolved
@NicNomadic NicNomadic left a comment
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread docs/evm/nac-usage.md Outdated

Examples of error strings, all prefixed with `Cross-runtime call failed with status `:

| Cause | Rest of the error string |
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For trimming the errors to the status code:

Suggested change
| Cause | Rest of the error string |
| Cause | Error code |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer applies, thanks

Comment thread docs/evm/nac-usage.md Resolved
Comment thread docs/evm/nac-usage.md Resolved
Comment thread docs/evm/nac-usage.md Resolved
@NicNomadic
NicNomadic merged commit 70e6e91 into etherlinkcom:main Nov 20, 2026
2 of 3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants

0