Skip to content

Commit

Permalink
Merge pull request #388 from chainbound/chore/update-rpc-api-endpoint
Browse files Browse the repository at this point in the history
chore: update bolt rpc api endpoint according to versioned spec
  • Loading branch information
thedevbirb authored Nov 14, 2024
2 parents 6face34 + a0cea6c commit 51f474c
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 51f474c

Please sign in to comment.