generify sampler and builder

This commit is contained in:
Dmitriy Ryajov 2024-01-22 13:54:44 -06:00
parent e23159b065
commit 134724f91a
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4

View File

@ -583,7 +583,7 @@ proc onProve(
error "Unable to create slots builder", err = err.msg
return failure(err)
without sampler =? DataSampler.new(slotIdx, self.blockStore, builder), err:
without sampler =? Poseidon2Sampler.new(slotIdx, self.blockStore, builder), err:
error "Unable to create data sampler", err = err.msg
return failure(err)