Skip to content

Commit

Permalink
Fix bytes31
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Oct 17, 2024
1 parent 30eb8db commit a2d0ec2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,9 @@ pub mod trace_dump {
}
_ => unreachable!(),
},
CoreTypeConcrete::Bytes31(_) => Value::Bytes31(value_ptr.cast().read()),
CoreTypeConcrete::Bytes31(_) => {
Value::Bytes31(Felt::from_bytes_le(value_ptr.cast().as_ref()))
}
}
}

Expand Down

0 comments on commit a2d0ec2

Please sign in to comment.