Skip to content

Commit 12e6310

Browse files
committed
update comet client compact mode to 0.38
1 parent 1a6940c commit 12e6310

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/apps_lib/src/cli/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub trait CliClient: Client + Send + Sync + 'static {
1919
impl CliClient for HttpClient {
2020
fn from_tendermint_address(address: &TendermintUrl) -> Self {
2121
HttpClient::builder(address.clone().try_into().unwrap())
22-
.compat_mode(CompatMode::V0_37)
22+
.compat_mode(CompatMode::V0_38)
2323
.timeout(std::time::Duration::from_secs(30))
2424
.build()
2525
.unwrap()

crates/light_sdk/src/writing/blocking/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn broadcast_tx(tendermint_addr: &str, tx: Tx) -> Result<Response, Error> {
2222
TendermintAddress::from_str(tendermint_addr)
2323
.map_err(|e| Error::Other(e.to_string()))?,
2424
)
25-
.compat_mode(CompatMode::V0_37)
25+
.compat_mode(CompatMode::V0_38)
2626
.timeout(std::time::Duration::from_secs(30))
2727
.build()
2828
.map_err(|e| Error::Other(e.to_string()))?;

crates/node/src/broadcaster.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ impl Broadcaster {
2727
client: HttpClient::builder(
2828
format!("http://{}", url).as_str().try_into().unwrap(),
2929
)
30-
.compat_mode(CompatMode::V0_37)
30+
.compat_mode(CompatMode::V0_38)
3131
.timeout(std::time::Duration::from_secs(30))
3232
.build()
3333
.unwrap(),

0 commit comments

Comments
 (0)