move proving defaults to codextypes

This commit is contained in:
Dmitriy Ryajov 2024-02-09 14:51:22 -06:00
parent 4648c863f5
commit a0aba789d4
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
2 changed files with 7 additions and 8 deletions

View File

@ -28,6 +28,13 @@ const
DefaultBlockSize* = NBytes 1024 * 64
DefaultCellSize* = NBytes 2048
# Proving defaults
DefaultMaxSlotDepth* = 32
DefaultMaxDatasetDepth* = 8
DefaultBlockDepth* = 5
DefaultCellElms* = 67
DefaultSamplesNum* = 5
# hashes
Sha256HashCodec* = multiCodec("sha2-256")
Sha512HashCodec* = multiCodec("sha2-512")

View File

@ -26,14 +26,6 @@ import pkg/constantine/math/io/io_bigints
export circomcompat
const
# TODO: this defaults need to be adjusted and/or replased with cli config params
DefaultMaxSlotDepth* = 32
DefaultMaxDatasetDepth* = 8
DefaultBlockDepth* = 5
DefaultCellElms* = 67
DefaultSamplesNum* = 5
type
CircomCompat* = object
slotDepth : int # max depth of the slot tree