فهرست منبع

sonic: print constant_coefficient

narodnik 5 سال پیش
والد
کامیت
b5243dcbbe
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      scripts/halo/sonic.sage

+ 3 - 0
scripts/halo/sonic.sage

@@ -174,6 +174,9 @@ challenge_y = K.random_element()
 
 # zkP2
 # Commit to t(X, y)
+t_x = t_x_y(y=challenge_y)
+t_x = t_x.univariate_polynomial()
+print(t_x.constant_coefficient())
 
 # zkV2
 # Send a random z