chore: Do not use expect

--- don't change below this line ---
ENG-4063 Took 57 minutes


Took 17 seconds

Took 45 seconds
This commit is contained in:
Diana Carvalho
2025-01-21 10:07:16 +00:00
parent 7890f26812
commit 979cdf7437
6 changed files with 40 additions and 34 deletions

View File

@@ -9,6 +9,7 @@ use tycho_core::dto::Chain;
use crate::encoding::evm::swap_encoder::registry::{Config, SwapEncoderRegistry};
// TODO: init this at the higher level at some point
lazy_static! {
pub static ref SWAP_ENCODER_REGISTRY: RwLock<SwapEncoderRegistry> = {
let config = Config::from_file("src/encoding/config/executor_addresses.json")