Skip to content

Commit

Permalink
fix: fix sierra gas differnce in new compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
meship-starkware committed Jan 5, 2025
1 parent 57fa9bd commit f64c41d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ fn test_total_tx_limits_less_than_max_sierra_gas() {

#[cfg(feature = "cairo_native")]
#[rstest::rstest]
#[case(MAX_POSSIBLE_SIERRA_GAS, MAX_POSSIBLE_SIERRA_GAS - 5380)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 10, 349992640)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 100, 34994200)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 1000, 3499630)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 10000, 344020)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 100000, 27580)]
#[case(MAX_POSSIBLE_SIERRA_GAS, MAX_POSSIBLE_SIERRA_GAS - 2681170910)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 10, 81886490)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 100, 8190940)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 1000, 822890)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 10000, 85440)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 100000, 12340)]
#[case(MAX_POSSIBLE_SIERRA_GAS / 1000000, 0)]
#[case(350, 0)]
#[case(35, 0)]
Expand Down

0 comments on commit f64c41d

Please sign in to comment.