Skip to content

Commit 5b833de

Browse files
authored
chore: bump forc to 0.51.1 (#1284)
1 parent 86e3cc7 commit 5b833de

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
FUEL_CORE_VERSION: 0.22.1
2020
FUEL_CORE_PATCH_BRANCH:
2121
RUST_VERSION: 1.74.0
22-
FORC_VERSION: 0.50.0
22+
FORC_VERSION: 0.51.1
2323
FORC_PATCH_BRANCH: ""
2424
FORC_PATCH_REVISION: ""
2525

examples/contracts/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ mod tests {
106106
.await?;
107107
// ANCHOR_END: contract_call_cost_estimation
108108

109-
assert_eq!(transaction_cost.gas_used, 841);
109+
assert_eq!(transaction_cost.gas_used, 791);
110110

111111
Ok(())
112112
}
@@ -600,7 +600,7 @@ mod tests {
600600
.await?;
601601
// ANCHOR_END: multi_call_cost_estimation
602602

603-
assert_eq!(transaction_cost.gas_used, 1251);
603+
assert_eq!(transaction_cost.gas_used, 1162);
604604

605605
Ok(())
606606
}

packages/fuels/tests/contracts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ async fn test_contract_call_fee_estimation() -> Result<()> {
275275
let tolerance = 0.2;
276276

277277
let expected_min_gas_price = 0; // This is the default `min_gas_price` from `ConsensusParameters`
278-
let expected_gas_used = 960;
278+
let expected_gas_used = 949;
279279
let expected_metered_bytes_size = 792;
280280
let expected_total_fee = 898;
281281

packages/fuels/tests/providers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ async fn test_gas_forwarded_defaults_to_tx_limit() -> Result<()> {
323323
);
324324

325325
// The gas used by the script to call a contract and forward remaining gas limit.
326-
let gas_used_by_script = 398;
326+
let gas_used_by_script = 360;
327327
let gas_limit = 225_883;
328328
let response = contract_instance
329329
.methods()

0 commit comments

Comments
 (0)