cosmos / cosmos/evm

Problem: IBCOnTimeoutPacketCallback call evm on wrong ctx

Open
#978 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
164
Forks
213
Avg merge
3d 58m
Merged PRs (30d)
12

Description

In `x/ibc/callbacks/keeper/keeper.go:IBCOnTimeoutPacketCallback`, `cachedCtx` is created for evm call, but not used in the actual `CallEVM` call, this cause:

1. the `cachedCtx` is created for nothing.
2. gas is consumed twice.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.