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: update bolt rpc api endpoint according to versioned spec #388

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
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
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