Skip to content

fix: use CodeBuilder for oracle script linking - #224

Open
huklaa wants to merge 3 commits into
0xMiden:mainfrom
huklaa:fix/oracle-code-builder
Open

fix: use CodeBuilder for oracle script linking#224
huklaa wants to merge 3 commits into
0xMiden:mainfrom
huklaa:fix/oracle-code-builder

Conversation

@huklaa

@huklaa huklaa commented Aug 10, 2026

Copy link
Copy Markdown

Addresses part of #188 and the relative-path failure reported in #191.

  • Replaces the remaining TransactionKernel::assembler_with_source_manager usage in the runnable oracle example with the client CodeBuilder linking pattern used by current tutorials.
  • Removes the now-unneeded manual parser/source-manager helper and imports.
  • Loads the oracle MASM contract and script with include_str!, so the example no longer depends on the process working directory.

No transaction behavior is changed.

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