Skip to content

Commit

Permalink
fix(scripts): Load rollup config (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani authored Nov 6, 2024
1 parent d07a33e commit 1d203c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/prove/bin/agg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async fn main() -> Result<()> {

let args = Args::parse();
let prover = ProverClient::new();
let fetcher = OPSuccinctDataFetcher::default();
let fetcher = OPSuccinctDataFetcher::new_with_rollup_config().await?;

let (_, vkey) = prover.setup(MULTI_BLOCK_ELF);

Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/bin/cost_estimator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ async fn main() -> Result<()> {
dotenv::from_path(&args.env_file).ok();
utils::setup_logger();

let data_fetcher = OPSuccinctDataFetcher::default();
let data_fetcher = OPSuccinctDataFetcher::new_with_rollup_config().await?;

let l2_chain_id = data_fetcher.get_l2_chain_id().await?;

Expand Down

0 comments on commit 1d203c9

Please sign in to comment.