Skip to content

Commit

Permalink
remove staking rewards address from cli strings and docs strings
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Oct 26, 2022
1 parent eb8ef57 commit 1374dae
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
10 changes: 5 additions & 5 deletions apps/src/lib/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,8 @@ pub mod cmds {
fn def() -> App {
App::new(Self::CMD)
.about(
"Send a signed transaction to create a new validator and \
its staking reward account.",
"Send a signed transaction to create a new validator \
account.",
)
.add_args::<args::TxInitValidator>()
}
Expand Down Expand Up @@ -1232,9 +1232,9 @@ pub mod cmds {
fn def() -> App {
App::new(Self::CMD)
.about(
"Initialize genesis validator's address, staking reward \
address, consensus key, validator account key and \
staking rewards key and use it in the ledger's node.",
"Initialize genesis validator's address, consensus key \
and validator account key and use it in the ledger's \
node.",
)
.add_args::<args::InitGenesisValidator>()
}
Expand Down
5 changes: 2 additions & 3 deletions apps/src/lib/client/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,9 +874,8 @@ fn init_established_account(
}
}

/// Initialize genesis validator's address, staking reward address,
/// consensus key, validator account key and staking rewards key and use
/// it in the ledger's node.
/// Initialize genesis validator's address, consensus key and validator account
/// key and use it in the ledger's node.
pub fn init_genesis_validator(
global_args: args::Global,
args::InitGenesisValidator {
Expand Down
3 changes: 1 addition & 2 deletions shared/src/types/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ pub struct InitAccount {
pub vp_code: Vec<u8>,
}

/// A tx data type to initialize a new validator account and its staking reward
/// account.
/// A tx data type to initialize a new validator account.
#[derive(
Debug,
Clone,
Expand Down
4 changes: 2 additions & 2 deletions wasm/wasm_source/src/tx_init_validator.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! A tx to initialize a new validator account and staking reward account with a
//! given public keys and a validity predicates.
//! A tx to initialize a new validator account with a given public keys and a
//! validity predicates.
use namada_tx_prelude::transaction::InitValidator;
use namada_tx_prelude::*;
Expand Down

0 comments on commit 1374dae

Please sign in to comment.