Skip to content

chore: fix some minor issues in the comments #5231

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion crates/core/component/sct/src/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub enum CommitmentSource {
},
/// The commitment was created through the participation in the liquidity tournament.
LiquidityTournamentReward {
/// The epoch in which the reward occured.
/// The epoch in which the reward occurred.
epoch: u64,
/// Transaction hash of the transaction that did the voting.
tx_hash: TransactionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub struct TransactionPerspective {
pub batch_swap_output_data: Vec<BatchSwapOutputData>,
/// The key used to decrypt position metadata.
///
/// We leave this as optional for maximal backwards compatability.
/// We leave this as optional for maximal backwards compatibility.
pub position_metadata_key: Option<PositionMetadataKey>,
}

Expand Down
2 changes: 1 addition & 1 deletion crates/proto/src/gen/penumbra.core.component.ibc.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pub struct Ics20Withdrawal {
#[prost(string, tag = "7")]
pub source_channel: ::prost::alloc::string::String,
/// Whether to use a "compat" (bech32, non-m) address for the return address in the withdrawal,
/// for compatability with chains that expect to be able to parse the return address as bech32.
/// for compatibility with chains that expect to be able to parse the return address as bech32.
#[deprecated]
#[prost(bool, tag = "8")]
pub use_compat_address: bool,
Expand Down
2 changes: 1 addition & 1 deletion crates/proto/src/gen/penumbra.core.component.sct.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ pub mod commitment_source {
/// The commitment was created by the LQT mechanism and tracks LQT reward notes.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LiquidityTournamentReward {
/// The epoch in which the reward occured.
/// The epoch in which the reward occurred.
#[prost(uint64, tag = "1")]
pub epoch: u64,
/// Transaction hash of the transaction that did the voting.
Expand Down
2 changes: 1 addition & 1 deletion crates/proto/src/gen/penumbra.view.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub mod tournament_votes_response {
pub transaction: ::core::option::Option<
super::super::super::core::txhash::v1::TransactionId,
>,
/// Epoch index the vote occured in.
/// Epoch index the vote occurred in.
#[prost(uint64, tag = "5")]
pub epoch_index: u64,
}
Expand Down
2 changes: 1 addition & 1 deletion proto/penumbra/penumbra/core/component/ibc/v1/ibc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ message Ics20Withdrawal {
string source_channel = 7;

// Whether to use a "compat" (bech32, non-m) address for the return address in the withdrawal,
// for compatability with chains that expect to be able to parse the return address as bech32.
// for compatibility with chains that expect to be able to parse the return address as bech32.
bool use_compat_address = 8 [deprecated = true];

// Arbitrary string data to be included in the `memo` field
Expand Down
2 changes: 1 addition & 1 deletion proto/penumbra/penumbra/core/component/sct/v1/sct.proto
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ message CommitmentSource {
}
// The commitment was created by the LQT mechanism and tracks LQT reward notes.
message LiquidityTournamentReward {
// The epoch in which the reward occured.
// The epoch in which the reward occurred.
uint64 epoch = 1;
// Transaction hash of the transaction that did the voting.
txhash.v1.TransactionId tx_hash = 2;
Expand Down
2 changes: 1 addition & 1 deletion proto/penumbra/penumbra/view/v1/view.proto
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ message TournamentVotesResponse {
core.asset.v1.Value reward = 3;
// The transaction ID for the vote.
core.txhash.v1.TransactionId transaction = 4;
// Epoch index the vote occured in.
// Epoch index the vote occurred in.
uint64 epoch_index = 5;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ message MsgUpdateParams {

option (gogoproto.goproto_getters) = false;

// signer address (it may be the the address that controls the module, which defaults to x/gov unless overwritten).
// signer address (it may be the address that controls the module, which defaults to x/gov unless overwritten).
string signer = 1;

// params defines the 27-interchain-accounts/controller parameters to update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ message MsgUpdateParams {

option (gogoproto.goproto_getters) = false;

// signer address (it may be the the address that controls the module, which defaults to x/gov unless overwritten).
// signer address (it may be the address that controls the module, which defaults to x/gov unless overwritten).
string signer = 1;

// params defines the 27-interchain-accounts/host parameters to update.
Expand Down
2 changes: 1 addition & 1 deletion proto/rust-vendored/ibc/applications/transfer/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ message MsgUpdateParams {

option (gogoproto.goproto_getters) = false;

// signer address (it may be the the address that controls the module, which defaults to x/gov unless overwritten).
// signer address (it may be the address that controls the module, which defaults to x/gov unless overwritten).
string signer = 1;

// params defines the transfer parameters to update.
Expand Down
4 changes: 2 additions & 2 deletions proto/rust-vendored/ibc/core/client/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ message MsgRecoverClient {
// client
string substitute_client_id = 2;

// signer address (it may be the the address that controls the module, which defaults to x/gov unless overwritten).
// signer address (it may be the address that controls the module, which defaults to x/gov unless overwritten).
string signer = 3;
}

Expand Down Expand Up @@ -162,7 +162,7 @@ message MsgUpdateParams {

option (gogoproto.goproto_getters) = false;

// signer address (it may be the the address that controls the module, which defaults to x/gov unless overwritten).
// signer address (it may be the address that controls the module, which defaults to x/gov unless overwritten).
string signer = 1;

// params defines the client parameters to update.
Expand Down
2 changes: 1 addition & 1 deletion proto/rust-vendored/ibc/core/connection/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ message MsgUpdateParams {

option (gogoproto.goproto_getters) = false;

// signer address (it may be the the address that controls the module, which defaults to x/gov unless overwritten).
// signer address (it may be the address that controls the module, which defaults to x/gov unless overwritten).
string signer = 1;

// params defines the connection parameters to update.
Expand Down
Loading