Skip to content

Conversation

@td202
Copy link
Contributor

@td202 td202 commented Nov 10, 2025

Purpose

Part of RUN-15

Implement the initialize_token operation in the rust runtime.

Changes

  • HostOperations: AccountAddress and Account passed by reference.
  • Add HostOperationsExt trait that provides set_module_state.
  • Implement initialize_token.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

@td202 td202 requested a review from limemloh November 10, 2025 10:08
@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 24.98%. Comparing base (9a53062) to head (978deeb).
⚠️ Report is 2 commits behind head on p10.

Additional details and impacted files
@@            Coverage Diff             @@
##              p10    #1465      +/-   ##
==========================================
- Coverage   25.02%   24.98%   -0.04%     
==========================================
  Files          34       34              
  Lines       10203    10203              
==========================================
- Hits         2553     2549       -4     
- Misses       7650     7654       +4     

see 2 files with indirect coverage changes

@github-actions
Copy link

The file size of the WebAssembly PLT deployment unit is 277248B.

@td202 td202 requested a review from allanbrondum December 1, 2025 11:20
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.

2 participants