Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBC quality of life changes for relayer work #2426

Merged
merged 2 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chain/src/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ impl Default for ChainParameters {
// 3bps -> 11% return over 365 epochs
base_reward_rate: 3_0000,
ibc_enabled: true,
inbound_ics20_transfers_enabled: false,
outbound_ics20_transfers_enabled: false,
inbound_ics20_transfers_enabled: true,
outbound_ics20_transfers_enabled: true,
// governance
proposal_voting_blocks: 17_280, // 24 hours, at a 5 second block time
proposal_deposit_amount: 10_000_000u64.into(), // 10,000,000 upenumbra = 10 penumbra
Expand Down
11 changes: 7 additions & 4 deletions pcli/src/command/query/ibc_query.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use anyhow::Result;
use anyhow::{Context, Result};
use colored_json::prelude::*;
use ibc_types::clients::ics07_tendermint::client_state::ClientState as TendermintClientState;
use ibc_types::core::ics03_connection::connection::ConnectionEnd;
Expand Down Expand Up @@ -31,7 +31,8 @@ impl IbcCmd {
key,
..Default::default()
})
.await?
.await
.context(format!("Failed to find client {client_id}"))?
.into_inner()
.value;

Expand All @@ -46,7 +47,8 @@ impl IbcCmd {
key,
..Default::default()
})
.await?
.await
.context(format!("Failed to find connection {connection_id}"))?
.into_inner()
.value;

Expand All @@ -61,7 +63,8 @@ impl IbcCmd {
key,
..Default::default()
})
.await?
.await
.context(format!("Failed to find channel {port}:{channel_id}"))?
.into_inner()
.value;

Expand Down