mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
zkas: Enforce k declaration on top of the source file.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
k = 13;
|
||||
|
||||
constant "Arith" {}
|
||||
|
||||
witness "Arith" {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
k = 13;
|
||||
|
||||
constant "Burn" {
|
||||
EcFixedPointShort VALUE_COMMIT_VALUE,
|
||||
EcFixedPoint VALUE_COMMIT_RANDOM,
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
#
|
||||
# This is basically the el gamal scheme in ZK
|
||||
|
||||
k = 13;
|
||||
|
||||
constant "Encrypt" {}
|
||||
|
||||
witness "Encrypt" {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
k = 13;
|
||||
|
||||
constant "InclusionProof" {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
k = 13;
|
||||
|
||||
constant "Lead" {
|
||||
EcFixedPointShort VALUE_COMMIT_VALUE,
|
||||
EcFixedPoint VALUE_COMMIT_RANDOM,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
k = 13;
|
||||
|
||||
constant "Mint" {
|
||||
EcFixedPointShort VALUE_COMMIT_VALUE,
|
||||
EcFixedPoint VALUE_COMMIT_RANDOM,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
k = 13;
|
||||
|
||||
constant "Opcodes" {
|
||||
EcFixedPointShort VALUE_COMMIT_VALUE,
|
||||
EcFixedPoint VALUE_COMMIT_RANDOM,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
k = 13;
|
||||
|
||||
constant "tx" {
|
||||
EcFixedPointShort VALUE_COMMIT_VALUE,
|
||||
EcFixedPoint VALUE_COMMIT_RANDOM,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
k = 13;
|
||||
|
||||
constant "Vote" {
|
||||
EcFixedPointShort VALUE_COMMIT_VALUE,
|
||||
EcFixedPoint VALUE_COMMIT_RANDOM,
|
||||
|
||||
Reference in New Issue
Block a user