Skip to content

Commit

Permalink
chore: renaming msg exec
Browse files Browse the repository at this point in the history
  • Loading branch information
Peartes committed Jun 25, 2024
1 parent cea1e2b commit 5a2375b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contracts/treasury/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ pub fn execute(
#[entry_point]
pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult<Binary> {
match msg {
QueryMsg::GrantConfigByTypeURL { msg_type_url } => to_binary(
QueryMsg::GrantConfigByTypeUrl { msg_type_url } => to_binary(
&query::grant_config_by_type_url(deps.storage, msg_type_url)?,
),
QueryMsg::GrantConfigTypeURLs {} => {
QueryMsg::GrantConfigTypeUrls {} => {
to_binary(&query::grant_config_type_urls(deps.storage)?)
}
}
Expand Down
4 changes: 2 additions & 2 deletions contracts/treasury/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pub enum ExecuteMsg {
pub enum QueryMsg {
/// Query the grant config by type url
#[returns(Binary)]
GrantConfigByTypeURL { msg_type_url: String },
GrantConfigByTypeUrl { msg_type_url: String },

#[returns(Binary)]
GrantConfigTypeURLs {},
GrantConfigTypeUrls {},
}

0 comments on commit 5a2375b

Please sign in to comment.