Skip to content

Conversation

Forostovec
Copy link
Contributor

Implemented consistent infra refund calculation for ArbitrumRetryTx by snapshotting infraFeePerGas as min(MinBaseFeeWei, effectiveBaseFee) at StartTxHook and using it in EndTxHook, preventing mid-execution MinBaseFee changes from skewing the refund split between infra and network while preserving the total amount refunded to the user; added a snapshot field to TxProcessor, initialized it only for retry transactions, and kept a safe fallback to current behavior to avoid impacting non-retry paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants