message: Use txBytes in simulation
diff: @@ -50,8 +50,7 @@ export function setupTxExtension(base: QueryClient): TxExtension {
  signer: Pubkey,
  sequence: number,
  ) => {
  - const request = SimulateRequest.fromPartial({
  - tx: Tx.fromPartial({
  + const tx = Tx.fromPartial({
  authInfo: AuthInfo.fromPartial({
  fee: Fee.fromPartial({}),
  signerInfos: [
  @@ -67,10 +66,9 @@ export function setupTxExtension(base: QueryClient): TxExtension {
  memo: memo,
  }),
  signatures: [new Uint8Array()],
  - }),
  - // Sending serialized `txBytes` is the future. But
  - // this is not available in Comsos SDK 0.42.
  - txBytes: undefined,
  + });
  + const request = SimulateRequest.fromPartial({
  + txBytes: Tx.encode(tx).finish(),
  });
  const response = await queryService.Simulate(request);
  return response;
  