Skip to content

Commit

Permalink
fix ci dov version, tools build
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Nov 1, 2024
1 parent 39ad0c7 commit 389be15
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-07-13
toolchain: nightly-2024-09-15
override: true

- name: Build API documentation
Expand Down
7 changes: 0 additions & 7 deletions crates/relayer-cli/src/commands/query/packet/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ use ibc_relayer_types::{
},
Height,
};
use serde::Serialize;
use subtle_encoding::{
Encoding,
Hex,
Expand All @@ -38,12 +37,6 @@ use crate::{
prelude::*,
};

#[derive(Serialize, Debug)]
struct PacketSeqs {
height: Height,
seqs: Vec<u64>,
}

#[derive(Clone, Command, Debug, Parser, PartialEq, Eq)]
pub struct QueryPacketCommitmentCmd {
#[clap(
Expand Down
2 changes: 0 additions & 2 deletions crates/relayer-cli/tests/acceptance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ use once_cell::sync::Lazy;
pub static RUNNER: Lazy<CmdRunner> = Lazy::new(CmdRunner::default);

/// Use `Config::default()` value if no config or args
#[cfg(not(tarpaulin))]
#[test]
fn start_no_args() {
let mut runner = RUNNER.clone();
Expand All @@ -46,7 +45,6 @@ fn start_no_args() {
cmd.wait().unwrap().expect_success();
}

#[cfg(not(tarpaulin))]
#[test]
fn example_configuration_is_valid() {
let mut runner = RUNNER.clone();
Expand Down
2 changes: 1 addition & 1 deletion crates/relayer/src/chain/cosmos/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub struct CosmosSdkConfig {
pub max_gas: Option<u64>,

// This field is only meant to be set via the `update client` command,
// for when we need to ugprade a client across a genesis restart and
// for when we need to upgrade a client across a genesis restart and
// therefore need and archive node to fetch blocks from.
pub genesis_restart: Option<GenesisRestart>,

Expand Down
10 changes: 3 additions & 7 deletions crates/relayer/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,14 +493,10 @@ mod tests {
};
use ibc_relayer_types::{
clients::ics07_tendermint::header::test_util::get_dummy_ics07_header,
core::{
ics02_client::header::{
decode_header,
AnyHeader,
},
ics04_channel::packet::Sequence,
core::ics02_client::header::{
decode_header,
AnyHeader,
},
timestamp::Timestamp,
};

use super::*;
Expand Down
14 changes: 14 additions & 0 deletions tools/integration-test/src/tests/ordered_channel_clear.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ impl TestOverrides for OrderedChannelClearTest {
ChainConfig::CosmosSdk(chain_config) => {
chain_config.sequential_batch_tx = self.sequential_batch_tx;
}
ChainConfig::Astria(chain_config) => {
chain_config.sequential_batch_tx = self.sequential_batch_tx;
}
}
}

Expand All @@ -75,6 +78,9 @@ impl TestOverrides for OrderedChannelClearTest {
ChainConfig::CosmosSdk(chain_config) => {
chain_config.sequential_batch_tx = self.sequential_batch_tx;
}
ChainConfig::Astria(chain_config) => {
chain_config.sequential_batch_tx = self.sequential_batch_tx;
}
}
}

Expand Down Expand Up @@ -209,6 +215,10 @@ impl TestOverrides for OrderedChannelClearEqualCLITest {
chain_config.sequential_batch_tx = true;
chain_config.max_msg_num = MaxMsgNum::new(3).unwrap();
}
ChainConfig::Astria(chain_config) => {
chain_config.sequential_batch_tx = true;
chain_config.max_msg_num = MaxMsgNum::new(3).unwrap();
}
}
}

Expand All @@ -218,6 +228,10 @@ impl TestOverrides for OrderedChannelClearEqualCLITest {
chain_config.sequential_batch_tx = true;
chain_config.max_msg_num = MaxMsgNum::new(3).unwrap();
}
ChainConfig::Astria(chain_config) => {
chain_config.sequential_batch_tx = true;
chain_config.max_msg_num = MaxMsgNum::new(3).unwrap();
}
}
}

Expand Down

0 comments on commit 389be15

Please sign in to comment.