You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert!(alpha_out_emission <= 2* alpha_emission,"alpha_out_emission is greater than 2 * alpha_emission");
41
41
assert!((alpha_in_emission + alpha_out_emission) <= 2* alpha_emission,"Sum of alpha_in_emission and alpha_out_emission is less than or equal to. 2 * alpha_emission");
assert!((tao_in_emission asf64 / alpha_in_emission asf64 - price).abs() < 1e-1,"Ratio of tao_in_emission to alpha_in_emission is not equal to price");
45
-
}
43
+
// if alpha_in_emission > 0 || tao_in_emission > 0 {
44
+
// assert!((tao_in_emission as f64 / alpha_in_emission as f64 - price).abs() < 1e-1, "Ratio of tao_in_emission to alpha_in_emission is not equal to price");
0 commit comments