Skip to content

fix: use procref for FPI procedure roots - #240

Open
huklaa wants to merge 2 commits into
0xMiden:mainfrom
huklaa:agent/use-procref-for-fpi
Open

fix: use procref for FPI procedure roots#240
huklaa wants to merge 2 commits into
0xMiden:mainfrom
huklaa:agent/use-procref-for-fpi

Conversation

@huklaa

@huklaa huklaa commented Aug 12, 2026

Copy link
Copy Markdown

Advances #122 by removing runtime string formatting for the get_count procedure digest in the runnable Rust FPI example.

  • uses procref.counter_contract::get_count in reader_script.masm
  • links the counter module into the same CodeBuilder chain as the count-reader module
  • removes the extra component compilation and manual procedure-root lookup from counter_contract_fpi.rs

This keeps account-id substitution unchanged while letting MASM resolve the procedure root directly from the linked module.

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.

1 participant