Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Aug 27, 2024
1 parent 66f7b3e commit 6dab3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client-programs/fault-proof/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ fn main() {
if #[cfg(target_os = "zkvm")] {
println!("cycle-tracker-start: boot-load");
let boot_info_with_bytes_config = sp1_zkvm::io::read::<BootInfoWithBytesConfig>();

// Converts the rollup config bytes into a rollupConfigHash before committing the BootInfoStruct.
let boot_info_struct = BootInfoStruct::from(boot_info_with_bytes_config.clone());
sp1_zkvm::io::commit::<BootInfoStruct>(&boot_info_struct);

Expand Down
2 changes: 2 additions & 0 deletions client-programs/range/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ fn main() {
if #[cfg(target_os = "zkvm")] {
println!("cycle-tracker-start: boot-load");
let boot_info_with_bytes_config = sp1_zkvm::io::read::<BootInfoWithBytesConfig>();

// Converts the rollup config bytes into a rollupConfigHash before committing the BootInfoStruct.
let boot_info_struct = BootInfoStruct::from(boot_info_with_bytes_config.clone());
sp1_zkvm::io::commit::<BootInfoStruct>(&boot_info_struct);

Expand Down

0 comments on commit 6dab3be

Please sign in to comment.