Skip to content

Commit

Permalink
scripts: Stage 1.4: Use config absolutePrestate when non devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
pcw109550 committed Jun 19, 2024
1 parent cabfc2c commit 88e1e74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rvsol/scripts/Deploy_Stage_1_4.sol
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,10 @@ contract Deploy is Deployer {
vm.toString(Claim.unwrap(riscvAbsolutePrestate_))
);
} else {
revert("Currently Asterisc only supports local devnet");
// TODO: Add Asterisc absolute prestate into OP stack deploy config
console.log(
"[Asterisc Dispute Game] Using absolute prestate from config: %x", cfg.faultGameAbsolutePrestate()
);
riscvAbsolutePrestate_ = Claim.wrap(bytes32(cfg.faultGameAbsolutePrestate()));
}
}

Expand Down

0 comments on commit 88e1e74

Please sign in to comment.