Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed May 29, 2024
1 parent 980aa1a commit 973d106
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions crates/primitives/src/system_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,14 @@ impl SystemConfig {
!topics.is_empty() &&
topics[0] == CONFIG_UPDATE_TOPIC
{
match self.process_config_update_log(log, rollup_config, l1_time) {
Ok(_) => {}
Err(e) => {
eyre::bail!("Failed to process config update log: {}", e);
}
if let Err(e) = self.process_config_update_log(log, rollup_config, l1_time) {
eyre::bail!("Failed to process config update log: {}", e);
}
}
Ok(())
Ok::<(), eyre::Error>(())
})?;
}
Ok(())
Ok::<(), eyre::Error>(())
}

/// Decodes an EVM log entry emitted by the system config contract and applies it as a
Expand Down

0 comments on commit 973d106

Please sign in to comment.