Skip to content

Commit

Permalink
test/e2e/ledger_tests: use bech32m PK format for init-account cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Feb 8, 2023
1 parent 6a3ddd9 commit cb4cf8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions core/src/types/key/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ impl super::SigScheme for SigScheme {
}
}

#[cfg(test)]
mod tests {
use super::*;
use crate::types::key::ed25519;
Expand Down
8 changes: 4 additions & 4 deletions tests/src/e2e/ledger_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ fn ledger_txs_and_queries() -> Result<()> {
"--source",
BERTHA,
"--public-key",
// Value obtained from `namada::types::key::ed25519::tests::gen_keypair`
"001be519a321e29020fa3cbfbfd01bd5e92db134305609270b71dace25b5a21168",
// Value obtained from `cargo test gen_ed25519_keypair -- --nocapture`
"pktest1qzyhgvhrqaj5fut8n9j8wgtleysf4agfq5tnynecq3d63qqfy5a5y7e8exd",
"--code-path",
&vp_user,
"--alias",
Expand All @@ -394,8 +394,8 @@ fn ledger_txs_and_queries() -> Result<()> {
"--ledger-address",
&validator_one_rpc,
],
// 6. Submit a tx to withdraw from faucet account (requires PoW challenge
// solution)
// 6. Submit a tx to withdraw from faucet account (requires PoW
// challenge solution)
vec![
"transfer",
"--source",
Expand Down

0 comments on commit cb4cf8e

Please sign in to comment.