Skip to content

ZetaChain call/withdrawAndCall: throw error if gas limit is less than MIN_GAS_LIMIT #339

@fadeev

Description

@fadeev
  • Read MIN_GAS_LIMIT value from the Gateway contract
  • Throw an error if callOptions.gasLimit < MIN_GAS_LIMIT without sending a transaction

https://github.com/zeta-chain/protocol-contracts/blob/d31ebe29987597113221565c9448126f8e323f86/contracts/zevm/GatewayZEVM.sol#L319

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