Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use min-gas-price as a starting point if start-gas-price is zero #2060

Merged

Conversation

xgreenx
Copy link
Collaborator

@xgreenx xgreenx commented Aug 8, 2024

Use min-gas-price as a starting point if start-gas-price is zero to follow the old behavior.

Checklist

  • New behavior is reflected in tests

Before requesting review

  • I have reviewed the code myself

@xgreenx xgreenx requested review from MitchTurner and a team August 8, 2024 13:38
@xgreenx xgreenx self-assigned this Aug 8, 2024
MitchTurner
MitchTurner previously approved these changes Aug 8, 2024
Copy link
Member

@MitchTurner MitchTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably better/more explicit. It should behave exactly the same after the network starts, but maybe is different if you are checking values before the first block is produced.

@xgreenx xgreenx merged commit f37fbfb into master Aug 9, 2024
34 checks passed
@xgreenx xgreenx deleted the feature/use-min-gas-price-if-starting-gas-price-zero branch August 9, 2024 17:04
@MitchTurner MitchTurner mentioned this pull request Aug 9, 2024
xgreenx pushed a commit that referenced this pull request Aug 10, 2024
### Added
- [2061](#2061): Allow
querying filled transaction body from the status.

### Changed
- [2067](#2067): Return error
from TxPool level if the `BlobId` is known.
- [2064](#2064): Allow gas
price metadata values to be overridden with config

### Fixes
- [2060](#2060): Use
`min-gas-price` as a starting point if `start-gas-price` is zero.
- [2059](#2059): Remove unwrap
that is breaking backwards compatibility
- [2063](#2063): Don't use
historical view during dry run.

## What's Changed
* Bugfix: Remove unwrap in Consensus Param conversion by @MitchTurner in
#2059
* Don't use historical view during dry run by @xgreenx in
#2063
* Weekly `cargo update` by @github-actions in
#2050
* Allow gas price metadata values to be overridden with config by
@MitchTurner in #2064
* Use `min-gas-price` as a starting point if `start-gas-price` is zero
by @xgreenx in #2060
* Allow querying transaction from the status by @xgreenx in
#2061
* Return error from TxPool level if the `BlobId` is known by @xgreenx in
#2067


**Full Changelog**:
v0.32.0...v0.32.1
GoldenPath1109 added a commit to GoldenPath1109/fuel-core that referenced this pull request Sep 7, 2024
### Added
- [2061](FuelLabs/fuel-core#2061): Allow
querying filled transaction body from the status.

### Changed
- [2067](FuelLabs/fuel-core#2067): Return error
from TxPool level if the `BlobId` is known.
- [2064](FuelLabs/fuel-core#2064): Allow gas
price metadata values to be overridden with config

### Fixes
- [2060](FuelLabs/fuel-core#2060): Use
`min-gas-price` as a starting point if `start-gas-price` is zero.
- [2059](FuelLabs/fuel-core#2059): Remove unwrap
that is breaking backwards compatibility
- [2063](FuelLabs/fuel-core#2063): Don't use
historical view during dry run.

## What's Changed
* Bugfix: Remove unwrap in Consensus Param conversion by @MitchTurner in
FuelLabs/fuel-core#2059
* Don't use historical view during dry run by @xgreenx in
FuelLabs/fuel-core#2063
* Weekly `cargo update` by @github-actions in
FuelLabs/fuel-core#2050
* Allow gas price metadata values to be overridden with config by
@MitchTurner in FuelLabs/fuel-core#2064
* Use `min-gas-price` as a starting point if `start-gas-price` is zero
by @xgreenx in FuelLabs/fuel-core#2060
* Allow querying transaction from the status by @xgreenx in
FuelLabs/fuel-core#2061
* Return error from TxPool level if the `BlobId` is known by @xgreenx in
FuelLabs/fuel-core#2067


**Full Changelog**:
FuelLabs/fuel-core@v0.32.0...v0.32.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants