Skip to content

Commit

Permalink
remove v50 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Buckram123 committed Aug 19, 2024
1 parent 563fd32 commit d25a7f1
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 233 deletions.
5 changes: 0 additions & 5 deletions cw-orch-daemon/src/cosmos_proto_patches/mod.rs

This file was deleted.

1 change: 0 additions & 1 deletion cw-orch-daemon/src/cosmos_proto_patches/v0_50/mod.rs

This file was deleted.

224 changes: 0 additions & 224 deletions cw-orch-daemon/src/cosmos_proto_patches/v0_50/tx.rs

This file was deleted.

1 change: 0 additions & 1 deletion cw-orch-daemon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ pub use cw_orch_networks::networks;
pub use network_config::read_network_config;
pub use senders::{query::QuerySender, tx::TxSender, CosmosOptions, Wallet};
pub use tx_builder::TxBuilder;
mod cosmos_proto_patches;

pub(crate) mod cosmos_modules {
pub use cosmrs::proto::{
Expand Down
4 changes: 2 additions & 2 deletions cw-orch-daemon/src/queriers/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,12 @@ impl Node {
retry_on_empty: bool,
retries: usize,
) -> Result<Vec<CosmTxResponse>, DaemonError> {
let mut client = crate::cosmos_proto_patches::v0_50::tx::service_client::ServiceClient::new(
let mut client = cosmrs::proto::cosmos::tx::v1beta1::service_client::ServiceClient::new(
self.channel.clone(),
);

#[allow(deprecated)]
let request = crate::cosmos_proto_patches::v0_50::tx::GetTxsEventRequest {
let request = cosmrs::proto::cosmos::tx::v1beta1::GetTxsEventRequest {
events: events.clone(),
pagination: None,
order_by: order_by.unwrap_or(OrderBy::Desc).into(),
Expand Down

0 comments on commit d25a7f1

Please sign in to comment.