Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xxuejie committed Feb 13, 2025
1 parent ba3c101 commit c731f33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/src/syscalls/tests/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,13 @@ pub(crate) fn build_vm_data(
input_indices,
output_indices,
};
let script_hash = script_group.script.calc_script_hash();
Arc::new(VmData {
sg_data: Arc::new(SgData {
tx_data,
script_version: ScriptVersion::latest(),
script_group,
script_hash,
program_data_piece_id: DataPieceId::CellDep(0),
}),
vm_id: 0,
Expand Down

0 comments on commit c731f33

Please sign in to comment.