Repository navigation
Michelson NAC usage: drop a duplicated callback sentence - #466
Conversation
… and only visible at simulation time
…the failure is visible only at simulation time
…the failure is visible only at simulation time
|
@Migl992 is attempting to deploy a commit to the Trili Tech Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Thanks for this contribution, but I think it deserves some clarifications
| @@ -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. | |||
There was a problem hiding this comment.
This line has nothing to do in this section, and is already stated in the right section above (Result), so let's drop it:
| If `callback` is `None` and the EVM call *succeeds*, the return value is silently dropped and execution continues normally. No error is raised. |
There was a problem hiding this comment.
Dropped, thanks. It is already covered in the Result section.
|
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
|
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. |
…ling %call_evm is included as failed
|
For reference, the fix to the inclusion check and the re-test script are public: Migl992/nactrace#42 (script: |
Drops a duplicated sentence from the Michelson NAC failure section ("If
callbackisNoneand 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_evmfails 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 statusfailed(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.