Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): Implement gateway transaction fee methods in GasAdjuster
Implements get_gateway_tx_base_fee() and get_gateway_tx_pubdata_price() methods in the GasAdjuster's TxParamsProvider implementation. These methods handle fee calculation for gateway transactions in L2 mode by: - Using L2 pubdata price statistics for base fee calculation - Applying consistent price bounds and multipliers - Respecting configuration overrides - Following the same fee capping mechanisms as regular transactions This implementation ensures proper fee handling for gateway transactions while maintaining consistency with the existing fee model architecture.
- Loading branch information