Skip to content

Commit

Permalink
fixup! [6/n][vm-rewrite][sui-execution] Update object runtime to use …
Browse files Browse the repository at this point in the history
…type tags instead of runtime VM types.
  • Loading branch information
tzakian committed Feb 5, 2025
1 parent 76231dd commit 208bdfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sui-execution/latest/sui-move-natives/src/test_scenario.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1012,13 +1012,13 @@ fn find_all_wrapped_objects<'a, 'i>(

let uid = UID::layout();
for (_id, ty, value) in new_object_values {
let Ok(Some(layout)) = context.typetag_to_type_layout(&ty.clone().into()) else {
let Ok(Some(layout)) = context.type_tag_to_type_layout(&ty.clone().into()) else {
debug_assert!(false);
continue;
};

let Ok(Some(annotated_layout)) =
context.typetag_to_annotated_type_layout(&ty.clone().into())
context.type_tag_to_annotated_type_layout(&ty.clone().into())
else {
debug_assert!(false);
continue;
Expand Down

0 comments on commit 208bdfc

Please sign in to comment.