message: Add query_wasm_code_info to querier
diff: @@ -8,6 +8,8 @@ use crate::coin::Coin;
  use crate::errors::{RecoverPubkeyError, StdError, StdResult, VerificationError};
  #[cfg(feature = "iterator")]
  use crate::iterator::{Order, Record};
  +#[cfg(feature = "cosmwasm_1_2")]
  +use crate::query::CodeInfoResponse;
  #[cfg(feature = "cosmwasm_1_1")]
  use crate::query::SupplyResponse;
  use crate::query::{
  @@ -304,6 +306,13 @@ impl<'a, C: CustomQuery> QuerierWrapper<'a, C> {
  self.query(&request)
  }
  + /// Given a code ID, query information about that code.
  + #[cfg(feature = "cosmwasm_1_2")]
  + pub fn query_wasm_code_info(&self, code_id: u64) -> StdResult<CodeInfoResponse> {
  + let request = WasmQuery::CodeInfo { code_id }.into();
  + self.query(&request)
  + }
  +
  #[cfg(feature = "staking")]
  pub fn query_all_validators(&self) -> StdResult<Vec<Validator>> {
  let request = StakingQuery::AllValidators {}.into();
  