Skip to content

Conversation

@heifner
Copy link
Contributor

@heifner heifner commented Dec 30, 2025

Reset trace->total_cpu_usage_us on oc compile interrupt. This fixes a problem with

error 2025-12-30T01:18:45.793 nodeop    controller.cpp:2748           apply_block          ] e.to_detail_string(): 3040000 transaction_exception: Transaction exception
cannot bill CPU time 0 less than the minimum of 100 us
    {"b":0,"m":100}
    nodeop  transaction_context.cpp:574 validate_cpu_minimum

on transaction re-execution. See failure https://github.com/Wire-Network/wire-sysio/actions/runs/20584505244/job/59120711832

Refactored transaction_context to be less error prone by passing additional arguments to constructor and making them const.

@heifner heifner merged commit 8f6727d into master Jan 2, 2026
27 checks passed
@heifner heifner deleted the feature/fix-oc-compile-interrupt branch January 2, 2026 19:19
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