Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): fix broken doc links #423

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions bolt-boost/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl BuilderState {
}

/// An extended builder-API that implements the constraints-API as defined in
/// the spec: <https://chainbound.github.io/bolt-docs/api/builder>.
/// the spec: <https://docs.boltprotocol.xyz/technical-docs/api/builder>.
///
/// The added endpoints are defined in [extra_routes](ConstraintsApi::extra_routes).
pub struct ConstraintsApi;
Expand All @@ -99,7 +99,7 @@ impl BuilderApi<BuilderState> for ConstraintsApi {
}

/// Gets the extra routes for supporting the constraints API as defined in
/// the spec: <https://chainbound.github.io/bolt-docs/api/builder>.
/// the spec: <https://docs.boltprotocol.xyz/technical-docs/api/builder>.
fn extra_routes() -> Option<Router<PbsState<BuilderState>>> {
let mut router = Router::new();
router = router.route(SUBMIT_CONSTRAINTS_PATH, post(submit_constraints));
Expand All @@ -111,7 +111,7 @@ impl BuilderApi<BuilderState> for ConstraintsApi {
}

/// Submit signed constraints to the builder.
/// Spec: <https://chainbound.github.io/bolt-docs/api/builder#constraints>
/// Spec: <https://docs.boltprotocol.xyz/technical-docs/api/builder#constraints>
#[tracing::instrument(skip_all)]
async fn submit_constraints(
State(state): State<PbsState<BuilderState>>,
Expand Down Expand Up @@ -141,7 +141,7 @@ async fn submit_constraints(
}

/// Delegate constraint submission rights to another BLS key.
/// Spec: <https://chainbound.github.io/bolt-docs/api/builder#delegate>
/// Spec: <https://docs.boltprotocol.xyz/technical-docs/api/builder#delegate>
#[tracing::instrument(skip_all)]
async fn delegate(
State(state): State<PbsState<BuilderState>>,
Expand All @@ -153,7 +153,7 @@ async fn delegate(
}

/// Revoke constraint submission rights from a BLS key.
/// Spec: <https://chainbound.github.io/bolt-docs/api/builder#revoke>
/// Spec: <https://docs.boltprotocol.xyz/technical-docs/api/builder#revoke>
#[tracing::instrument(skip_all)]
async fn revoke(
State(state): State<PbsState<BuilderState>>,
Expand All @@ -165,7 +165,7 @@ async fn revoke(
}

/// Get a header with proofs for a given slot and parent hash.
/// Spec: <https://chainbound.github.io/bolt-docs/api/builder#get_header_with_proofs>
/// Spec: <https://docs.boltprotocol.xyz/technical-docs/api/builder#get_header_with_proofs>
#[tracing::instrument(skip_all, fields(slot = params.slot))]
async fn get_header_with_proofs(
State(state): State<PbsState<BuilderState>>,
Expand Down