Skip to content

Commit 793ffe1

Browse files
pepyakinrphmeier
authored andcommitted
shim: nicer submit key message
Suggests user cli args to specify the submit private key. Closes #109
1 parent 662d507 commit 793ffe1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sugondat-shim/src/cmd/serve.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ pub async fn run(params: Params) -> anyhow::Result<()> {
1010
let listen_on = (params.dock.address.as_str(), params.dock.port);
1111
let submit_key = crate::cmd::load_key(params.key_management)?;
1212
if submit_key.is_none() {
13-
tracing::info!("no submit key provided, will not be able to submit blobs");
13+
tracing::info!(
14+
"no submit key provided, will not be able to submit blobs. \
15+
Pass --submit-dev-alice or --submit-private-key=<..> to fix."
16+
);
1417
}
1518
let server = Server::builder().build(listen_on).await?;
1619
let client = connect_client(&params.rpc.node_url).await?;

0 commit comments

Comments
 (0)