Skip to content

Commit

Permalink
Merge branch 'master' of github.com:NethermindEth/Taiko-Preconf-AVS-N…
Browse files Browse the repository at this point in the history
…ode into e2e-devnet
  • Loading branch information
mskrzypkows committed Oct 7, 2024
2 parents 7f9865b + e53285c commit 33031fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Node/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct Cli {
async fn main() -> Result<(), Error> {
init_logging();

tracing::info!("🚀 Starting AVS Node");
tracing::info!("🚀 Starting AVS Node v{}", env!("CARGO_PKG_VERSION"));

let args = Cli::parse();
let config = utils::config::Config::read_env_variables();
Expand Down
6 changes: 3 additions & 3 deletions Node/src/mev_boost/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ impl MevBoost {
.send()
.await
.map_err(|e| anyhow::anyhow!("MEV Boost failed to send message: {}", e))?;

// Check the response status
if !response.status().is_success() {
return Err(anyhow::anyhow!(
"MEV Boost received non-success status: {}",
response.status()
));
}

// Attempt to parse the response as JSON
let json: Value = response
.json()
.await
.map_err(|e| anyhow::anyhow!("MEV Boost failed to parse JSON: {}", e))?;

Ok(json)
}

Expand Down

0 comments on commit 33031fa

Please sign in to comment.