chore: fix typos (#3645)

fix minor typos

Signed-off-by: snoppy <michaleli@foxmail.com>
Co-authored-by: Paul Balaji <paul@hyperlane.xyz>
pull/4033/head
Snoppy 4 months ago committed by GitHub
parent 18056aafdd
commit f1fe882e3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      rust/chains/hyperlane-cosmos/src/providers/grpc.rs
  2. 2
      rust/sealevel/libraries/account-utils/src/lib.rs

@ -277,7 +277,7 @@ impl WasmGrpcProvider {
let raw_tx = TxRaw {
body_bytes: sign_doc.body_bytes,
auth_info_bytes: sign_doc.auth_info_bytes,
// The poorly documented trick to simuluating a tx without a valid signature is to just pass
// The poorly documented trick to simulating a tx without a valid signature is to just pass
// in a single empty signature. Taken from cosmjs:
// https://github.com/cosmos/cosmjs/blob/44893af824f0712d1f406a8daa9fcae335422235/packages/stargate/src/modules/tx/queries.ts#L67
signatures: vec![vec![]],

@ -93,7 +93,7 @@ where
Ok(Self::from(Self::fetch_data(buf)?.unwrap_or_default()))
}
// Optimisically write then realloc on failure.
// Optimistically write then realloc on failure.
// If we serialize and calculate len before realloc we will waste heap space as there is no
// free(). Tradeoff between heap usage and compute budget.
pub fn store(

Loading…
Cancel
Save