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

fix(ibc-test): use latest relayer channel for tendermint test #1929

Merged
merged 3 commits into from
Aug 2, 2023
Merged
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
6 changes: 4 additions & 2 deletions mm2src/mm2_main/tests/mm2_tests/tendermint_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn test_tendermint_activation_and_balance() {

let result: RpcV2Response<TendermintActivationResult> = json::from_value(activation_result).unwrap();
assert_eq!(result.result.address, expected_address);
let expected_balance: BigDecimal = "8.0959".parse().unwrap();
let expected_balance: BigDecimal = "0.575457".parse().unwrap();
assert_eq!(result.result.balance.unwrap().spendable, expected_balance);

let my_balance = block_on(my_balance(&mm, ATOM_TICKER));
Expand Down Expand Up @@ -179,7 +179,9 @@ fn test_custom_gas_limit_on_tendermint_withdraw() {

#[test]
fn test_tendermint_ibc_withdraw() {
const IBC_SOURCE_CHANNEL: &str = "channel-81";
// visit `{rpc_url}/ibc/core/channel/v1/channels?pagination.limit=10000` to see the full list of ibc channels
const IBC_SOURCE_CHANNEL: &str = "channel-93";

const IBC_TARGET_ADDRESS: &str = "cosmos1r5v5srda7xfth3hn2s26txvrcrntldjumt8mhl";
const MY_ADDRESS: &str = "iaa1e0rx87mdj79zejewuc4jg7ql9ud2286g2us8f2";

Expand Down
Loading