Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: #1957 Part of #1624 Add the gas price algorithm with some tools for analyzing its behavior. The algorithm is made up of two portions: - `AlgorithmUpdaterV1` - `AlgorithmV1` The updater holds the state of the historical data and can generate new algorithms as its data is updated. The algorithm just takes the `block_bytes` and can calculate the price from that data. I've included a lot of docs on the actual code, so see that for more details. LMK if something is missing :) ## Checklist - [ ] Breaking changes are clearly marked as such in the PR description and changelog - [x] New behavior is reflected in tests - [ ] [The specification](https://github.com/FuelLabs/fuel-specs/) matches the implemented behavior (link update PR if changes are needed) ### Before requesting review - [x] I have reviewed the code myself - [ ] I have created follow-up issues caused by this PR and linked them here ### After merging, notify other teams [Add or remove entries as needed] - [ ] [Rust SDK](https://github.com/FuelLabs/fuels-rs/) - [ ] [Sway compiler](https://github.com/FuelLabs/sway/) - [ ] [Platform documentation](https://github.com/FuelLabs/devrel-requests/issues/new?assignees=&labels=new+request&projects=&template=NEW-REQUEST.yml&title=%5BRequest%5D%3A+) (for out-of-organization contributors, the person merging the PR will do this) - [ ] Someone else? --------- Co-authored-by: human <jamesturner@Zenobia.hsd1.wa.comcast.net>
- Loading branch information