Skip to content

Commit

Permalink
remove unneeded dep
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Nov 10, 2023
1 parent 9d38a04 commit 25026c1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/relayer-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ hdpath = "0.6.3"
http = "0.2"
humantime = "2.1"
itertools = "0.10.5"
namada_sdk = { git = "https://github.com/anoma/namada", rev = "7116b6aa916026e97f3f871f291c6ba1c7b427d2", features = ["std"] }
oneline-eyre = "0.1"
regex = "1.9.5"
serde = { version = "1.0", features = ["serde_derive"] }
Expand All @@ -56,6 +55,7 @@ tokio = { version = "1.0", features = ["full"] }
tracing = "0.1.36"
tracing-subscriber = { version = "0.3.14", features = ["fmt", "env-filter", "json"]}
time = "0.3"

[dependencies.tendermint]
version = "0.34.0"
features = ["secp256k1"]
Expand Down
4 changes: 0 additions & 4 deletions crates/relayer/src/chain/namada.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ impl ChainEndpoint for NamadaChain {
)
})?;

// TODO Namada health check

// TODO version check

Ok(HealthCheck::Healthy)
}

Expand Down
11 changes: 9 additions & 2 deletions crates/relayer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,15 @@ impl ChainConfig {
.map(|(key_name, keys)| (key_name, keys.into()))
.collect()
}
// TODO Namada should use the wallet
ChainConfig::Namada(_) => return Err(keyring::errors::Error::key_not_found()),
ChainConfig::Namada(config) => {
let keyring =
KeyRing::new_namada(Store::Test, &config.id, &config.key_store_folder)?;
keyring
.keys()?
.into_iter()
.map(|(key_name, keys)| (key_name, keys.into()))
.collect()
}
};
Ok(keys)
}
Expand Down
2 changes: 1 addition & 1 deletion e2e/namada-gaia-simple-transfers
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ ${NAMADAC} --base-dir ${base_dir} ibc-transfer \
--node ${NAMADA_LEDGER_ADDR}

# wait for relaying
sleep 10
sleep 15

echo "==== Balances on Namada ===="
${NAMADAC} --base-dir ${base_dir} balance \
Expand Down
2 changes: 1 addition & 1 deletion e2e/namada-simple-transfers
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ ${NAMADAC} --base-dir ${base_dir_b} ibc-transfer \
--node ${LEDGER_ADDR_B}

# wait for relaying
sleep 10
sleep 15

echo "==== Balances on chain A ===="
${NAMADAC} --base-dir ${base_dir_a} balance \
Expand Down

0 comments on commit 25026c1

Please sign in to comment.