Skip to content

Commit

Permalink
chores: Format codes
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrvivian committed Oct 31, 2024
1 parent b5f7ee6 commit e27d0e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1351,9 +1351,7 @@ mod checked {
object_value: ObjectValue,
) -> Result<(), ExecutionError> {
let ObjectValue {
type_,
contents,
..
type_, contents, ..
} = object_value;
let bytes = match contents {
ObjectContents::Coin(coin) => coin.to_bcs_bytes(),
Expand Down
7 changes: 1 addition & 6 deletions iota-execution/latest/iota-move-natives/src/test_scenario.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,12 +612,7 @@ pub fn allocate_receiving_ticket_for_object(
));
};
let move_object = unsafe {
MoveObject::new_from_execution_with_limit(
tag.into(),
object_version,
bytes,
250 * 1024,
)
MoveObject::new_from_execution_with_limit(tag.into(), object_version, bytes, 250 * 1024)
}
.unwrap();

Expand Down
7 changes: 1 addition & 6 deletions iota-execution/v0/iota-move-natives/src/test_scenario.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,12 +612,7 @@ pub fn allocate_receiving_ticket_for_object(
));
};
let move_object = unsafe {
MoveObject::new_from_execution_with_limit(
tag.into(),
object_version,
bytes,
250 * 1024,
)
MoveObject::new_from_execution_with_limit(tag.into(), object_version, bytes, 250 * 1024)
}
.unwrap();

Expand Down

0 comments on commit e27d0e0

Please sign in to comment.