You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the max_block_time configuration Hermes will query the value on chain and verify if the configured value matches the queried value.
In Hermes v1.10.1, if the max_block_time is not configured, it will default to 30s and the value will be updated with the queried max_expected_time_per_block if it differs from 30s.
From this discussion, #4144 (comment), the desired behaviour would be the following:
If max_block_time is configured:
Query max_expected_time_per_block and output a warning if the queried value differs from the configured one, but keep the configured value
If the query fails, keep the configured value
If max_block_time is not configured:
Query max_expected_time_per_block and use that value for max_block_time
If the query fails, use the default value, 30s, for max_block_time
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate milestone (priority) applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
It's worth to review the handling of other configuration options as part of this issue, i believe there might be more cases like this as i see some cmd.override_config() calls for example. At some point a small doc that describes the general approach would be also good.
Summary
For the
max_block_time
configuration Hermes will query the value on chain and verify if the configured value matches the queried value.In Hermes
v1.10.1
, if themax_block_time
is not configured, it will default to30s
and the value will be updated with the queriedmax_expected_time_per_block
if it differs from30s
.From this discussion, #4144 (comment), the desired behaviour would be the following:
max_block_time
is configured:max_expected_time_per_block
and output a warning if the queried value differs from the configured one, but keep the configured valuemax_block_time
is not configured:max_expected_time_per_block
and use that value formax_block_time
30s
, formax_block_time
For Admin Use
The text was updated successfully, but these errors were encountered: