Skip to content

Problem: IBCOnTimeoutPacketCallback call evm on wrong ctx #978

@yihuang

Description

@yihuang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions