node
node copied to clipboard
`zetacore` : gas payment multiplier for coinType Zeta
When paying for gas (for a call on connected chain )
We use a multiplier when the CoinType is Zeta
// overpays gas price
const multiplier = 2
gasPrice = gasPrice.MulUint64(multiplier)
priorityFee = priorityFee.MulUint64(multiplier)
But this multiplier is not user For ERC20 and GAS types
The logic should be refactored to be uniform for all cointypes .
Where it is used? In general we stopped any kind of maintainance on the ZETA withdraws for now
Its used here https://github.com/zeta-chain/zeta-node/blob/368114f3f7a5bd38637684c0376f7a83b75633e6/x/crosschain/keeper/gas_payment.go#L358-L369
This calcualtion may be used by a V1 msg-passing cctx , with receiver chain set as a connected Chain.