Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(RelayFeeCalculator): Return maxFeePerGas rather than tokenGasCost…
… / nativeGasCost If we divide `tokenGasCost / nativeGasCost` then we'll get the L1GasCost + L2GasPrice components for the gas price for OpStack, because OpStack adds this L1GasCost component to the full total gas cost. The SDK should return the `gasPrice = baseFee + priorityFee` to help with debugging against the API, for example against this PR across-protocol/frontend#1335
- Loading branch information