From 7f91d200cbaecbf40ef30e2b4a6211b5409d1ee4 Mon Sep 17 00:00:00 2001 From: nicolas <48695862+merklefruit@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:03:14 +0100 Subject: [PATCH] chore: use new axum capture pattern --- crates/common/src/pbs/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/common/src/pbs/constants.rs b/crates/common/src/pbs/constants.rs index 07f9faf4..3da8d96d 100644 --- a/crates/common/src/pbs/constants.rs +++ b/crates/common/src/pbs/constants.rs @@ -2,7 +2,7 @@ use crate::constants::COMMIT_BOOST_VERSION; pub const BUILDER_API_PATH: &str = "/eth/v1/builder"; -pub const GET_HEADER_PATH: &str = "/header/:slot/:parent_hash/:pubkey"; +pub const GET_HEADER_PATH: &str = "/header/{slot}/{parent_hash}/{pubkey}"; pub const GET_STATUS_PATH: &str = "/status"; pub const REGISTER_VALIDATOR_PATH: &str = "/validators"; pub const SUBMIT_BLOCK_PATH: &str = "/blinded_blocks";