You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@metamask/transaction-controller 72.0.1
Fixed
Only exclude the simulated gas cost from nativeBalanceChange when the sender was actually charged it (#10343)
Previously the gas cost was always added back to the sender's new balance, which reported an incoming native balance change for outgoing transactions when the simulation did not charge the sender, such as when the transaction has no fee per gas or the chain credits the fee recipient without debiting the sender.
Gas is also left in the balance when the sender lost exactly the transaction value, which is how Arc simulations report native sends.