hermeznetwork / hermez-node

Hermez node Go implementation
GNU Affero General Public License v3.0
60 stars 33 forks source link

Dynamic Suggested Fee #1127

Closed jeffprestes closed 2 years ago

jeffprestes commented 2 years ago

Rationale

Create a module that changes the prices of L2 transactions based on the price of ether and gas price. The boot coordinator proposes a minimal fee, and this fee should change depending on the gas price (in averages, not price per second).

Important: Once the transaction has been accepted by the coordinator, it should already process it even if the minimum price rises.