This commit is contained in:
Jaremy Creechley 2024-04-23 20:26:16 +03:00
parent 0273b78df8
commit 74a8a00a43
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 5 additions and 8 deletions

View File

@ -22,15 +22,12 @@ import pkg/constantine/math/io/io_fields
import codex/slots/backends/helpers
var
inputData: string
inputJson: JsonNode
proofInput: ProofInputs[Poseidon2Hash]
proc setup() =
inputData = readFile("tests/circuits/fixtures/input.json")
inputJson = !JsonNode.parse(inputData)
proofInput = Poseidon2Hash.jsonToProofInput(inputJson)
let
inputData = readFile("tests/circuits/fixtures/input.json")
inputJson: JsonNode = !JsonNode.parse(inputData)
proofInput: ProofInputs[Poseidon2Hash] =
Poseidon2Hash.jsonToProofInput(inputJson)
let
blockCells = 32