-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use fees to calculate DA reward and avoid issues with Gwei/Wei conver…
…sions (#2229) ## Linked Issues/PRs Closes #2165 Closes #2243 ## Description - Modify the calculation of rewards to use the block fee instead of block gas. - Update the charts to be displayed in Gwei rather than Wei to reduce noise and more closely resemble what we will see as an outside observer of the Fuel L2 gas prices. ## Checklist - [x] New behavior is reflected in tests ### Before requesting review - [x] I have reviewed the code myself --------- Co-authored-by: Rafał Chabowski <rafal.chabowski@fuel.sh> Co-authored-by: Aaryamann Challani <43716372+rymnc@users.noreply.github.com> Co-authored-by: Andrea Cerone <andrea.cerone@gmail.com> Co-authored-by: Green Baneling <XgreenX9999@gmail.com>
- Loading branch information
1 parent
fcbb487
commit 1e2bcdc
Showing
5 changed files
with
118 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.