Skip to content

Commit

Permalink
add rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Sep 11, 2024
1 parent cf0986f commit efa4c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/host/src/rollup_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ pub fn save_rollup_config(rollup_config: &RollupConfig) -> Result<()> {
workspace_root.join(format!("rollup-configs/{}.json", rollup_config.l2_chain_id));

let rollup_config_str = serde_json::to_string_pretty(rollup_config)?;
fs::write(rollup_config_path, &rollup_config_str)?;
fs::write(rollup_config_path, rollup_config_str)?;
Ok(())
}

0 comments on commit efa4c9f

Please sign in to comment.