Skip to content

Commit

Permalink
chore: bump forc to 0.60.0 (#1388)
Browse files Browse the repository at this point in the history
  • Loading branch information
hal3e authored May 22, 2024
1 parent b706076 commit 79cba25
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.26.0
FUEL_CORE_PATCH_BRANCH:
RUST_VERSION: 1.76.0
FORC_VERSION: 0.59.0
FORC_VERSION: 0.60.0
FORC_PATCH_BRANCH: ""
FORC_PATCH_REVISION: ""
NEXTEST_HIDE_PROGRESS_BAR: "true"
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,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 = 252;
let gas_used_by_script = 255;
let gas_limit = 225_883;
let response = contract_instance
.methods()
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/types_contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2075,7 +2075,7 @@ async fn test_contract_std_lib_string() -> Result<()> {
// confirm encoding/decoding a string wasn't faulty and led to too high gas consumption
let _resp = contract_methods
.echoes_dynamic_string(String::from("Hello Fuel"))
.with_tx_policies(TxPolicies::default().with_script_gas_limit(2000))
.with_tx_policies(TxPolicies::default().with_script_gas_limit(3600))
.call()
.await?;
}
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 @@ -113,7 +113,7 @@ mod tests {
.await?;
// ANCHOR_END: contract_call_cost_estimation

let expected_gas = 2229;
let expected_gas = 2606;

assert_eq!(transaction_cost.gas_used, expected_gas);

Expand Down Expand Up @@ -611,7 +611,7 @@ mod tests {
.await?;
// ANCHOR_END: multi_call_cost_estimation

let expected_gas = 3413;
let expected_gas = 4051;

assert_eq!(transaction_cost.gas_used, expected_gas);

Expand Down

0 comments on commit 79cba25

Please sign in to comment.