Explorar o código

sonic: print constant_coefficient

narodnik %!s(int64=5) %!d(string=hai) anos
pai
achega
b5243dcbbe
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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