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

Add block_max_transactions and all gas price metadata to ConsensusParameters (creation of V3) #905

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Breaking
- [900](https://github.com/FuelLabs/fuel-vm/pull/900): Change the error variant `DuplicateMessageInputId` to `DuplicateInputNonce` which now contains a nonce instead of `MessageId` for performance improvements.
- [905](https://github.com/FuelLabs/fuel-vm/pull/905): Added `block_max_transactions` to `ConsensusParameters`. It adds a new `ConsensusParametersV3` as a variant of the `ConsensusParameters`.
- [907](https://github.com/FuelLabs/fuel-vm/pull/907): `StorageRead` and `StorageWrite` traits no longer return the number of bytes written. They already required that the whole buffer is used, but now this is reflected in signature and documentation as well.

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions fuel-tx/src/tests/valid_cases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ pub fn test_params() -> ConsensusParameters {
Default::default(),
Default::default(),
Default::default(),
Default::default(),
Default::default(),
)
}

Expand Down
Loading
Loading