From db200a0fb762ad5e09fd4840a6d4b08c4c15aa23 Mon Sep 17 00:00:00 2001 From: Snezhkko Date: Thu, 11 Sep 2025 19:22:48 +0300 Subject: [PATCH 1/2] Update state.rs --- contracts/staking/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/staking/src/state.rs b/contracts/staking/src/state.rs index d3e56797c7..46d0dc70bd 100644 --- a/contracts/staking/src/state.rs +++ b/contracts/staking/src/state.rs @@ -56,7 +56,7 @@ pub struct InvestmentInfo { /// this is how much the owner takes as a cut when someone unbonds pub exit_tax: Decimal, /// All tokens are bonded to this validator - /// addr_humanize/addr_canonicalize doesn't work for validator addrresses (e.g. cosmosvaloper1...) + /// addr_humanize/addr_canonicalize doesn't work for validator addresses (e.g. cosmosvaloper1...) pub validator: String, /// This is the minimum amount we will pull out to reinvest, as well as a minimum /// that can be unbonded (to avoid needless staking tx) From ad92c2192ba25c33fcad7b48f57aea092d2cd729 Mon Sep 17 00:00:00 2001 From: Snezhkko Date: Thu, 11 Sep 2025 19:23:26 +0300 Subject: [PATCH 2/2] Update contract.rs --- contracts/reflect/src/contract.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/reflect/src/contract.rs b/contracts/reflect/src/contract.rs index 3cc3508399..8ee454db22 100644 --- a/contracts/reflect/src/contract.rs +++ b/contracts/reflect/src/contract.rs @@ -109,7 +109,7 @@ pub fn try_change_owner( .add_attribute("owner", new_owner)) } -/// This just stores the result for future query +/// This just stores the result for future queries #[entry_point] pub fn reply(deps: DepsMut, _env: Env, msg: Reply) -> Result { save_reply(deps.storage, msg.id, &msg)?; @@ -181,7 +181,7 @@ mod tests { }; #[test] - fn proper_instantialization() { + fn proper_initialization() { let mut deps = mock_dependencies_with_custom_querier(&[]); let creator = deps.api.addr_make("creator");