8000 Michelson NAC usage: drop a duplicated callback sentence by Migl992 · Pull Request #466 · etherlinkcom/docs · GitHub
[go: up one dir, main page]

Skip to content

Michelson NAC usage: drop a duplicated callback sentence - #466

Merged
NicNomadic merged 5 commits into
etherlinkcom:mainfrom
Migl992:docs/call-evm-failures-not-included
Nov 20, 2026
Merged

NicNomadic merged 5 commits into
etherlinkcom:mainfrom
Migl992:docs/call-evm-failures-not-included

Conversation

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

Drops a duplicated sentence from the Michelson NAC failure section ("If callback is None and the EVM call succeeds…"); it is already stated in the Return value section.

Update 2026-11-20: this PR originally added a paragraph saying that an operation whose %call_evm fails is never included in a block. That was wrong: the observation came from a broken inclusion check in my script. The five operations cited are all included with status failed (levels 1047183–1047267), and a re-test on the current Previewnet (ooCc9yXP…, level 1851051) shows the same. The paragraph has been removed; see the review thread for details.

@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.

@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.

Thanks for this contribution, but I think it deserves some clarifications

Comment thread docs/michelson/nac-usage.md Outdated
@@ -312,6 +312,8 @@ If the EVM callee fails for any reason — revert, out of gas, or any other halt

If `callback` is `None` and the EVM call *succeeds*, the return value is silently dropped and execution continues normally. No error is raised.
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.

This line has nothing to do in this section, and is already stated in the right section above (Result), so let's drop it:

Suggested change
If `callback` is `None` and the EVM call *succeeds*, the return value is silently dropped and execution continues normally. No error is raised.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Dropped, thanks. It is already covered in the Result section.

Comment thread docs/michelson/nac-usage.md Resolved
@NicNomadic
Copy link
Copy Markdown
Collaborator

Also, could you link the examples operations in the PR description to the corresponding pages on the explorer(s)?

…not-included note without observation details
@Migl992
Migl992 commented Nov 10, 2026
Copy link
Copy Markdown
Contributor Author

Linked the two control operations in the description. The five failing ones can't be linked: they were never included, so no explorer has them. That is the behaviour this PR documents.

@Migl992
Migl992 requested a review from NicNomadic November 11, 2026 03:17
Comment thread docs/michelson/nac-usage.md Resolved
@Migl992 Migl992 changed the title Michelson NAC usage: a failing %call_evm is not included in a block Michelson NAC usage: drop a duplicated callback sentence Nov 20, 2026
@Migl992
Migl992 commented Nov 20, 2026
Copy link
Copy Markdown
Contributor Author

For reference, the fix to the inclusion check and the re-test script are public: Migl992/nactrace#42 (script: scripts/previewnet/08-retest-call-evm-failure.mjs). The PR here now only contains the callback-line removal you suggested; title and description are updated.

@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 now

@NicNomadic
NicNomadic merged commit d860e78 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