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

Bumping fuel-vm to v0.40.0 #1468

Merged
merged 6 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Description of the upcoming release here.

### Changed

- [#1468](https://github.com/FuelLabs/fuel-core/pull/1468): Bumped version of the `fuel-vm` to `v0.40.0`. It brings some breaking changes into consensus parameters API because of changes in the underlying types.
- [#1460](https://github.com/FuelLabs/fuel-core/pull/1460): Change tracking branch from main to master for releasy tests.
- [#1440](https://github.com/FuelLabs/fuel-core/pull/1440): Don't report reserved nodes that send invalid transactions.
- [#1439](https://github.com/FuelLabs/fuel-core/pull/1439): Reduced memory BMT consumption during creation of the header.
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fuel-core-tests = { version = "0.0.0", path = "./tests" }
fuel-core-xtask = { version = "0.0.0", path = "./xtask" }

# Fuel dependencies
fuel-vm-private = { version = "0.39.0", package = "fuel-vm", default-features = false }
fuel-vm-private = { version = "0.40.0", package = "fuel-vm", default-features = false }

# Common dependencies
anyhow = "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -191,6 +192,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -203,6 +204,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -203,6 +204,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -199,6 +200,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -199,6 +200,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -217,6 +218,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -202,6 +203,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -197,6 +198,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ expression: json
"max_inputs": 255,
"max_outputs": 255,
"max_witnesses": 255,
"max_gas_per_tx": 100000000
"max_gas_per_tx": 100000000,
"max_size": 17825792
},
"predicate_params": {
"max_predicate_length": 1048576,
Expand Down Expand Up @@ -200,6 +201,14 @@ expression: json
"swwq": {
"base": 44,
"dep_per_unit": 5
},
"contract_root": {
"base": 75,
"dep_per_unit": 1
},
"state_root": {
"base": 412,
"dep_per_unit": 1
}
},
"base_asset_id": "0000000000000000000000000000000000000000000000000000000000000000"
Expand Down
11 changes: 8 additions & 3 deletions crates/client/assets/schema.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ type GasCosts {
scwq: DependentCost!
smo: DependentCost!
srwq: DependentCost!
contractRoot: DependentCost!
stateRoot: DependentCost!
swwq: DependentCost!
}

Expand Down Expand Up @@ -903,10 +905,11 @@ scalar TransactionId
union TransactionStatus = SubmittedStatus | SuccessStatus | SqueezedOutStatus | FailureStatus

type TxParameters {
maxInputs: U64!
maxOutputs: U64!
maxWitnesses: U64!
maxInputs: U8!
maxOutputs: U8!
maxWitnesses: U32!
maxGasPerTx: U64!
maxSize: U64!
}

scalar TxPointer
Expand All @@ -915,6 +918,8 @@ scalar U32

scalar U64

scalar U8

scalar UtxoId

type VariableOutput {
Expand Down
Loading
Loading