2
0
mirror of https://github.com/status-im/nim-dagger.git synced 2025-01-31 00:46:47 +00:00
Dmitriy Ryajov 825766eea0
Rework builder & sampler ()
* 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
2024-02-08 02:27:11 +00:00

10 lines
163 B
Nim

import ./sampler/sampler
import ./sampler/utils
import ../merkletree
export sampler, utils
type
Poseidon2Sampler* = DataSampler[Poseidon2Tree, Poseidon2Hash]