Skip to content

Commit

Permalink
use vendored advice map
Browse files Browse the repository at this point in the history
  • Loading branch information
paracetamolo committed Feb 5, 2025
1 parent f882fbd commit 902fcee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assembly/src/assembler/mast_forest_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,9 @@ impl MastForestBuilder {
&mut self,
mast_root: RpoDigest,
) -> Result<MastNodeId, AssemblyError> {
self.mast_forest
.merge_advice_map(self.vendored_mast.advice_map())
.map_err(|e| AssemblyError::forest_error("vendoring advice map error", e))?;
if let Some(root_id) = self.vendored_mast.find_procedure_root(mast_root) {
for old_id in SubtreeIterator::new(&root_id, &self.vendored_mast.clone()) {
let mut node = self.vendored_mast[old_id].clone();
Expand Down

0 comments on commit 902fcee

Please sign in to comment.