Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
XuJiandong committed Mar 8, 2024
1 parent db050dd commit c271c0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions script/src/v2_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ where
tx_data,
script_version,
syscalls_generator,
max_vms_count: full.max_vm_count,
max_vms_count: full.max_vms_count,
total_cycles: full.total_cycles,
next_vm_id: full.next_vm_id,
next_pipe_slot: full.next_pipe_slot,
Expand Down Expand Up @@ -152,7 +152,7 @@ where
vms.push((id, state, snapshot));
}
Ok(FullSuspendedState {
max_vm_count: self.max_vms_count,
max_vms_count: self.max_vms_count,
total_cycles: self.total_cycles,
next_vm_id: self.next_vm_id,
next_pipe_slot: self.next_pipe_slot,
Expand Down
2 changes: 1 addition & 1 deletion script/src/v2_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl TryFrom<(u64, u64, u64)> for DataPieceId {
/// fully recover the running environment with the full transaction environment.
#[derive(Clone, Debug)]
pub struct FullSuspendedState {
pub max_vm_count: u64,
pub max_vms_count: u64,
pub total_cycles: Cycle,
pub next_vm_id: VmId,
pub next_pipe_slot: u64,
Expand Down

0 comments on commit c271c0f

Please sign in to comment.