zeta-chain / protocol-contracts

Protocol contracts implementing the core logic of the protocol, deployed on ZetaChain and on connected chains
MIT License
68 stars 55 forks source link

Pay gas fees in the contract for ZETA withdraws #357

Open lumtis opened 1 week ago

lumtis commented 1 week ago

Currently for ZETA withdraws, withdrawGasFeeWithGasLimit is not used in the function because it is assumed the fees are paid at the protocol level.

For consistency in with V2 contracts and simplifying the protocol logic, the function should be used.

Low priority as ZETA is not enabled for now