Skip to content

Commit

Permalink
chore: bump forc to 0.51.1 (#1284)
Browse files Browse the repository at this point in the history
  • Loading branch information
hal3e authored Feb 28, 2024
1 parent 86e3cc7 commit 5b833de
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
FUEL_CORE_VERSION: 0.22.1
FUEL_CORE_PATCH_BRANCH:
RUST_VERSION: 1.74.0
FORC_VERSION: 0.50.0
FORC_VERSION: 0.51.1
FORC_PATCH_BRANCH: ""
FORC_PATCH_REVISION: ""

Expand Down
4 changes: 2 additions & 2 deletions examples/contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ mod tests {
.await?;
// ANCHOR_END: contract_call_cost_estimation

assert_eq!(transaction_cost.gas_used, 841);
assert_eq!(transaction_cost.gas_used, 791);

Ok(())
}
Expand Down Expand Up @@ -600,7 +600,7 @@ mod tests {
.await?;
// ANCHOR_END: multi_call_cost_estimation

assert_eq!(transaction_cost.gas_used, 1251);
assert_eq!(transaction_cost.gas_used, 1162);

Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion packages/fuels/tests/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ async fn test_contract_call_fee_estimation() -> Result<()> {
let tolerance = 0.2;

let expected_min_gas_price = 0; // This is the default `min_gas_price` from `ConsensusParameters`
let expected_gas_used = 960;
let expected_gas_used = 949;
let expected_metered_bytes_size = 792;
let expected_total_fee = 898;

Expand Down
2 changes: 1 addition & 1 deletion packages/fuels/tests/providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ async fn test_gas_forwarded_defaults_to_tx_limit() -> Result<()> {
);

// The gas used by the script to call a contract and forward remaining gas limit.
let gas_used_by_script = 398;
let gas_used_by_script = 360;
let gas_limit = 225_883;
let response = contract_instance
.methods()
Expand Down

0 comments on commit 5b833de

Please sign in to comment.