zkas: Enforce k declaration on top of the source file.

This commit is contained in:
parazyd
2023-07-20 13:41:33 +02:00
parent 8d07dc2258
commit 99f68db953
36 changed files with 127 additions and 25 deletions

View File

@@ -1,3 +1,5 @@
k = 13;
constant "Arith" {}
witness "Arith" {

View File

@@ -1,3 +1,5 @@
k = 13;
constant "Burn" {
EcFixedPointShort VALUE_COMMIT_VALUE,
EcFixedPoint VALUE_COMMIT_RANDOM,

View File

@@ -5,6 +5,8 @@
#
# This is basically the el gamal scheme in ZK
k = 13;
constant "Encrypt" {}
witness "Encrypt" {

View File

@@ -1,3 +1,5 @@
k = 13;
constant "InclusionProof" {
}

View File

@@ -1,3 +1,5 @@
k = 13;
constant "Lead" {
EcFixedPointShort VALUE_COMMIT_VALUE,
EcFixedPoint VALUE_COMMIT_RANDOM,

View File

@@ -1,3 +1,5 @@
k = 13;
constant "Mint" {
EcFixedPointShort VALUE_COMMIT_VALUE,
EcFixedPoint VALUE_COMMIT_RANDOM,

View File

@@ -1,3 +1,5 @@
k = 13;
constant "Opcodes" {
EcFixedPointShort VALUE_COMMIT_VALUE,
EcFixedPoint VALUE_COMMIT_RANDOM,

View File

@@ -1,3 +1,5 @@
k = 13;
constant "tx" {
EcFixedPointShort VALUE_COMMIT_VALUE,
EcFixedPoint VALUE_COMMIT_RANDOM,

View File

@@ -1,3 +1,5 @@
k = 13;
constant "Vote" {
EcFixedPointShort VALUE_COMMIT_VALUE,
EcFixedPoint VALUE_COMMIT_RANDOM,