-
Notifications
You must be signed in to change notification settings - Fork 562
bug(feemarket): set lower bound of base fee to min gas price param #1135
bug(feemarket): set lower bound of base fee to min gas price param #1135
Conversation
ENG-473 Users can't sign Metamask txs with high Min Gas Price
Message to validators:
|
…he baseFee changes for every test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
…vmos#1135) * bug(feemarket): set lower bound of base fee to min gas price param) * fix * bug(feemarket): flag necessary improvement to integration tests, as the baseFee changes for every test * bug(feemarket): add unit tests for CalculateBaseFee * bug(feemarket): move integration test setup out of Describe block * wip fix tests * bug(feemarket): fix integration tests * bug(feemarket): wip improve specs * bug(feemarket): add spec concepts * bug(feemarket): remove todo * bug(feemarket): remove changes used for debugging in params * bug(feemarket): remove todo in integration test * add changelog * address PR comments Co-authored-by: Federico Kunze Küllmer <[email protected]>
Description
This PR adds a lower bound to the baseFee with the min gas prices param on the feemarket. I also refactored the integration tests. Furthermore, I added concepts in the specs as I noticed that there has been confusion about fees and gas prices.