mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-01-09 22:25:51 +00:00
825766eea0
* add proof initializer for poseidon2 and `$` * fix padding and block selection * fix sample selection and input construction * fix sample selection & more descriptive names * add concrete types for sampler & builder * add missing digest calls * use concrete types * add sample test fixtures * use concrete types and don't fetch dummy blocks
10 lines
163 B
Nim
10 lines
163 B
Nim
import ./sampler/sampler
|
|
import ./sampler/utils
|
|
|
|
import ../merkletree
|
|
|
|
export sampler, utils
|
|
|
|
type
|
|
Poseidon2Sampler* = DataSampler[Poseidon2Tree, Poseidon2Hash]
|