Skip to content

Commit 7f91d20

Browse files
committed
chore: use new axum capture pattern
1 parent 089be53 commit 7f91d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/common/src/pbs/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::constants::COMMIT_BOOST_VERSION;
22

33
pub const BUILDER_API_PATH: &str = "/eth/v1/builder";
44

5-
pub const GET_HEADER_PATH: &str = "/header/:slot/:parent_hash/:pubkey";
5+
pub const GET_HEADER_PATH: &str = "/header/{slot}/{parent_hash}/{pubkey}";
66
pub const GET_STATUS_PATH: &str = "/status";
77
pub const REGISTER_VALIDATOR_PATH: &str = "/validators";
88
pub const SUBMIT_BLOCK_PATH: &str = "/blinded_blocks";

0 commit comments

Comments
 (0)