Skip to content

Commit

Permalink
more precise comments
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Sep 6, 2023
1 parent 697d826 commit 756a026
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/neutron-sdk/src/bindings/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,15 +299,15 @@ impl NeutronMsg {
}
}

/// Basic helper to define a parameter change proposal passed to AdminModule:
/// Basic helper to define an ibc upgrade proposal passed to AdminModule:
/// * **proposal** is struct which contains proposal that upgrades network.
pub fn submit_upgrade_proposal(proposal: UpgradeProposal) -> Self {
NeutronMsg::SubmitAdminProposal {
admin_proposal: AdminProposal::UpgradeProposal(proposal),
}
}

/// Basic helper to define a parameter change proposal passed to AdminModule:
/// Basic helper to define an ibc update client change proposal passed to AdminModule:
/// * **proposal** is struct which contains proposal updates cliient.
pub fn submit_client_update_proposal(proposal: ClientUpdateProposal) -> Self {
NeutronMsg::SubmitAdminProposal {
Expand Down Expand Up @@ -494,9 +494,9 @@ pub struct SudoContractProposal {

#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]
#[serde(rename_all = "snake_case")]
/// ProposalExecuteMessage defines the struct for sdk47 compatible update params admin proposal.
/// ProposalExecuteMessage defines the struct for sdk47 compatible admin proposal.
pub struct ProposalExecuteMessage {
/// **message** is a json representing a sdk message passed to admin module to execute.
/// **message** is a json representing an sdk message passed to admin module to execute.
pub message: String,
}

Expand Down

0 comments on commit 756a026

Please sign in to comment.