-
Notifications
You must be signed in to change notification settings - Fork 1k
Adjust IBC e2e test config #3455
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -537,7 +537,7 @@ pub fn make_hermes_config(test_a: &Test, test_b: &Test) -> Result<()> { | |
|
|
||
| let mut packets = toml::map::Map::new(); | ||
| packets.insert("enabled".to_owned(), Value::Boolean(true)); | ||
| packets.insert("clear_interval".to_owned(), Value::Integer(10)); | ||
| packets.insert("clear_interval".to_owned(), Value::Integer(20)); | ||
|
||
| packets.insert("clear_on_start".to_owned(), Value::Boolean(false)); | ||
| packets.insert("tx_confirmation".to_owned(), Value::Boolean(true)); | ||
| mode.insert("packets".to_owned(), Value::Table(packets)); | ||
|
|
@@ -614,12 +614,14 @@ fn make_hermes_chain_config(test: &Test) -> Value { | |
| ); | ||
| chain.insert("store_prefix".to_owned(), Value::String("ibc".to_owned())); | ||
| let mut table = toml::map::Map::new(); | ||
| table.insert("price".to_owned(), Value::Float(0.001)); | ||
| table.insert("price".to_owned(), Value::Float(0.000001)); | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Set the practical gas price for the gas estimation feature in Hermes |
||
| std::env::set_var(ENV_VAR_CHAIN_ID, test.net.chain_id.to_string()); | ||
| let nam_addr = find_address(test, setup::constants::NAM).unwrap(); | ||
| table.insert("denom".to_owned(), Value::String(nam_addr.to_string())); | ||
| chain.insert("gas_price".to_owned(), Value::Table(table)); | ||
|
|
||
| chain.insert("max_block_time".to_owned(), Value::String("60s".to_owned())); | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To retry in the longer time |
||
|
|
||
| Value::Table(chain) | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -955,7 +955,7 @@ fn create_channel_with_hermes( | |
| "--yes", | ||
| ]; | ||
|
|
||
| let mut hermes = run_hermes_cmd(test_a, args, Some(120))?; | ||
| let mut hermes = run_hermes_cmd(test_a, args, Some(240))?; | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid timeout for the channel creation handshake |
||
| let (channel_id_a, channel_id_b) = | ||
| get_channel_ids_from_hermes_output(&mut hermes)?; | ||
| hermes.assert_success(); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests were changed. Set the latest actual time in CI.