Test invocations feedback #1579

Open
opened 2025-12-28 17:16:54 +00:00 by sami · 1 comment
Owner

Originally created by @carpawell on GitHub (Nov 21, 2025).

I'm always frustrated when I do not know how test invocation finished in test VM. Especially when debugging things.

Describe the solution you'd like

  1. Add runtime logs in test invocation's response.
  2. In logs on the server side, make it clear when runtime.Log is about an accepted block already on chain and, on the contrary, when it is only a test invocation.

Describe alternatives you've considered

-

Additional context

I was debugging the problem of skipped transactions (nspcc-dev/neofs-node@04686e7935) and spent time finding out why I see logs about transactions being executed but no outcome could be seen in the chain. Test invocations were logged, and I took it as true block inclusion but nothing was accepted.

Originally created by @carpawell on GitHub (Nov 21, 2025). ## Is your feature request related to a problem? Please describe. I'm always frustrated when I do not know how test invocation finished in test VM. Especially when debugging things. ## Describe the solution you'd like 1. Add runtime logs in test invocation's response. 2. In logs on the server side, make it clear when `runtime.Log` is about an accepted block already on chain and, on the contrary, when it is only a test invocation. ## Describe alternatives you've considered \- ## Additional context I was debugging the problem of skipped transactions (https://github.com/nspcc-dev/neofs-node/commit/04686e79352d5f8bd4d5d8354787c03553ba5dec) and spent time finding out why I see logs about transactions being executed but no outcome could be seen in the chain. Test invocations were logged, and I took it as true block inclusion but nothing was accepted.
Author
Owner

@roman-khimov commented on GitHub (Nov 21, 2025):

Add runtime logs in test invocation's response.

A protocol extension. But I guess everyone wants it in fact.

@roman-khimov commented on GitHub (Nov 21, 2025): > Add runtime logs in test invocation's response. A protocol extension. But I guess everyone wants it in fact.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neo-go#1579
No description provided.