Skip with serde ephemera config
This commit is contained in:
@@ -160,8 +160,6 @@ impl Cmd {
|
||||
},
|
||||
};
|
||||
|
||||
if let Err(err) = configuration.try_write_home_dir(id) {
|
||||
eprintln!("Error creating configuration file: {err:?}",);
|
||||
}
|
||||
configuration.try_write_home_dir(id).ok();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,10 +21,13 @@ pub struct Args {
|
||||
#[clap(skip)]
|
||||
pub ephemera_config: PathBuf,
|
||||
#[command(flatten)]
|
||||
#[serde(skip)]
|
||||
pub cmd: Cmd,
|
||||
#[clap(skip)]
|
||||
#[serde(skip)]
|
||||
pub block_polling_interval_seconds: u64,
|
||||
#[clap(skip)]
|
||||
#[serde(skip)]
|
||||
pub block_polling_max_attempts: u64,
|
||||
}
|
||||
|
||||
|
||||
@@ -130,4 +130,10 @@ decryption_key_path = '{{ coconut_signer.storage_paths.decryption_key_path }}'
|
||||
# Path to the dkg dealer public key with proof
|
||||
public_key_with_proof_path = '{{ coconut_signer.storage_paths.public_key_with_proof_path }}'
|
||||
|
||||
[ephemera]
|
||||
|
||||
[ephemera.args]
|
||||
|
||||
ephemera_config = '{{ ephemera.args.ephemera_config }}'
|
||||
|
||||
"#;
|
||||
|
||||
Reference in New Issue
Block a user