Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Gas estimation / simulation fails for IBC txs #165

Description

@mdyring

It seems gas estimation fails for the IBC relayer (hermes), leading it to fall back to it's max gas value:

Oct 06 01:59:29.923 ERROR ThreadId(33) [emoney-3] failed to estimate gas, falling back on max gas, error: 
   0: GRPC call return error status status: InvalidArgument, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-7: failed to verify header: invalid header: new header has a time from the future 2021-10-06 01:59:22.155473287 +0000 UTC (now: 2021-10-06 01:58:46.255499676 +0000 UTC; max clock drift: 10s): invalid request", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }

Location:
   /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/flex-error-0.4.3/src/tracer_impl/eyre.rs:10

--
Oct 06 02:34:32.413 ERROR ThreadId(33) [emoney-3] failed to estimate gas, falling back on max gas, error: 
   0: GRPC call return error status status: InvalidArgument, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-7: failed to verify header: invalid header: new header has a time from the future 2021-10-06 02:34:23.17472538 +0000 UTC (now: 2021-10-06 02:33:59.48748663 +0000 UTC; max clock drift: 10s): invalid request", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }

Location:
   /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/flex-error-0.4.3/src/tracer_impl/eyre.rs:10

--
Oct 06 03:41:32.061 ERROR ThreadId(33) [emoney-3] failed to estimate gas, falling back on max gas, error: 
   0: GRPC call return error status status: InvalidArgument, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-7: failed to verify header: invalid header: new header has a time from the future 2021-10-06 03:41:24.605842033 +0000 UTC (now: 2021-10-06 03:40:41.333685695 +0000 UTC; max clock drift: 10s): invalid request", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }

Location:
   /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/flex-error-0.4.3/src/tracer_impl/eyre.rs:10

--
Oct 06 05:18:50.507 ERROR ThreadId(33) [emoney-3] failed to estimate gas, falling back on max gas, error: 
   0: GRPC call return error status status: InvalidArgument, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-7: failed to verify header: invalid header: new header has a time from the future 2021-10-06 05:18:42.964673604 +0000 UTC (now: 2021-10-06 05:18:21.493549748 +0000 UTC; max clock drift: 10s): invalid request", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }

Location:
   /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/flex-error-0.4.3/src/tracer_impl/eyre.rs:10

--
Oct 06 06:09:30.381 ERROR ThreadId(33) [emoney-3] failed to estimate gas, falling back on max gas, error: 
   0: GRPC call return error status status: InvalidArgument, message: "failed to execute message; message index: 0: cannot update client with ID 07-tendermint-7: failed to verify header: invalid header: new header has a time from the future 2021-10-06 06:09:17.177324119 +0000 UTC (now: 2021-10-06 06:08:31.65285787 +0000 UTC; max clock drift: 10s): invalid request", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc"} }

Location:
   /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/flex-error-0.4.3/src/tracer_impl/eyre.rs:10

I imagine this is due to the 1 minute block times and that a block is not being generated when the estimation is done? (so that the error only appears on simulation)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

IBCRelated to IBC development and operational rollout.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions