Skip to content

Commit

Permalink
fix(blockifier): fix gas amounts for native after updating to new exe…
Browse files Browse the repository at this point in the history
…cutor (#2061)
  • Loading branch information
varex83 authored Nov 14, 2024
1 parent bcb6338 commit 5659c9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use crate::test_utils::{trivial_external_entry_point_new, CairoVersion, BALANCE}
#[test_case(FeatureContract::TestContract(CairoVersion::Cairo1), 254910; "VM")]
#[cfg_attr(
feature = "cairo_native",
test_case(FeatureContract::TestContract(CairoVersion::Native), 265110; "Native")
test_case(FeatureContract::TestContract(CairoVersion::Native), 263740; "Native")
)]
fn test_keccak(test_contract: FeatureContract, expected_gas: u64) {
let chain_info = &ChainInfo::create_for_testing();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::test_utils::{trivial_external_entry_point_new, CairoVersion, BALANCE}

#[cfg_attr(
feature = "cairo_native",
test_case(FeatureContract::TestContract(CairoVersion::Native), 32160; "Native")
test_case(FeatureContract::TestContract(CairoVersion::Native), 30680; "Native")
)]
#[test_case(FeatureContract::TestContract(CairoVersion::Cairo1), 20960; "VM")]
fn test_send_message_to_l1(test_contract: FeatureContract, expected_gas: u64) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::test_utils::{trivial_external_entry_point_new, CairoVersion, BALANCE}

#[cfg_attr(
feature = "cairo_native",
test_case(FeatureContract::TestContract(CairoVersion::Native), 891625; "Native")
test_case(FeatureContract::TestContract(CairoVersion::Native), 890255; "Native")
)]
#[test_case(FeatureContract::TestContract(CairoVersion::Cairo1), 881425; "VM")]
fn test_sha256(test_contract: FeatureContract, gas_consumed: u64) {
Expand Down

0 comments on commit 5659c9c

Please sign in to comment.