Skip to content

Conversation

@zajko
Copy link
Contributor

@zajko zajko commented Oct 21, 2025

The node now produces:

  • TransformKindV2::EntryPointCalled execute result whenever wasm session code or a contract attempts to do an entry point call. This also applies to VM2 constructor and upgrade method calls.
  • TransformKindV2::EntryPointCalled is not stored to global state
  • if an entry point call is successful there will be a TransformKindV2::Ret(RetValue::Unit) execution journal entry if the contract didn't call the return functionality on it's own.
  • if a contract (or session code) called the return functionality and passed no output, there will be a TransformKindV2::Ret(RetValue::Unit) execution journal entry

@zajko zajko changed the title Entry point call journal entries Execution journal entries on entry point calls Oct 21, 2025
@zajko zajko force-pushed the endpoint_call_in_journal branch 2 times, most recently from 02a3162 to 76fb79b Compare October 21, 2025 14:06
@zajko zajko force-pushed the endpoint_call_in_journal branch 2 times, most recently from d4c0bff to 4a257b2 Compare October 24, 2025 12:27
@zajko zajko changed the base branch from feat-2.1 to dev October 24, 2025 12:28
@zajko zajko force-pushed the endpoint_call_in_journal branch 3 times, most recently from 14c5689 to 90f2df2 Compare October 26, 2025 21:30
…ults have no global state implications.

* TransformKind::EntryPointCalled(key, entry_point_name) will be put to execution results every time session bytecode or stored contract call issues a stored contract entry point call.
    The `key` will be an identifier of the caller, `entry_point_name` is the name of the called entry point.
* TransformKind::Ret is now produced every time bytecode execution finishes (either with call to `casper_return` or just by returning the cursor to host without an error).
@zajko zajko force-pushed the endpoint_call_in_journal branch from 90f2df2 to f90e14f Compare October 27, 2025 20:07
@zajko zajko merged commit 3a2cde8 into casper-network:dev Oct 27, 2025
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