Problem: IBCOnTimeoutPacketCallback call evm on wrong ctx
Open
- 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
Assessment
This issue has not been assessed yet.