Skip to content

Commit

Permalink
chore: update bolt rpc api endpoint according to versioned spec
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Nov 14, 2024
1 parent 6face34 commit a0cea6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion bolt-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ pub struct PubkeysCommand {
#[derive(Debug, Clone, Parser)]
pub struct SendCommand {
/// Bolt RPC URL to send requests to and fetch lookahead info from.
#[clap(long, env = "BOLT_RPC_URL", default_value = "http://135.181.191.125:58017/rpc")]
#[clap(
long,
env = "BOLT_RPC_URL",
default_value = "https://rpc-holesky.bolt.chainbound.io/rpc"
)]
pub bolt_rpc_url: Url,

/// The private key to sign the transaction with.
Expand Down
2 changes: 1 addition & 1 deletion bolt-cli/src/commands/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use tracing::info;
use crate::cli::SendCommand;

/// Path to the lookahead endpoint on the Bolt RPC server.
const BOLT_LOOKAHEAD_PATH: &str = "proposers/lookahead";
const BOLT_LOOKAHEAD_PATH: &str = "/api/v1/proposers/lookahead";

impl SendCommand {
/// Run the `send` command.
Expand Down

0 comments on commit a0cea6c

Please sign in to comment.