Repository navigation
EVM NAC usage: observed callMichelson error strings; 400 vs 429 tells a revert from an out-of-gas - #467
Merged
NicNomadic merged 5 commits intoNov 20, 2026
Conversation
|
@Migl992 is attempting to deploy a commit to the Trili Tech Team on Vercel. A member of the Team first needs to authorize it. |
NicNomadic
requested changes
Nov 10, 2026
…nto the table, drop observation notes
NicNomadic
reviewed
Nov 12, 2026
…e (strings change in 8.0)
NicNomadic
approved these changes
Nov 20, 2026
|
|
||
| Examples of error strings, all prefixed with `Cross-runtime call failed with status `: | ||
|
|
||
| | Cause | Rest of the error string | |
Collaborator
There was a problem hiding this comment.
For trimming the errors to the status code:
Suggested change
| | Cause | Rest of the error string | | |
| | Cause | Error code | |
Collaborator
There was a problem hiding this comment.
no longer applies, thanks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
81A8
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 is429 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:
FAILWITHin the callee0x3977046f…0x979a31b6…data0xbe4dff3d…0x5badb9bb…datasent to atz1account0x3c1f4c12…destination0xac0f4330…429 Too Many Requests: OOG)0xbb967b97…: the gateway is called with 30000 gascallMichelsonViewon a missing view0xf5101372…Found while building nactrace, which humanizes these strings into one-sentence root causes.