arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/common/zk_test.go
common/zk_test.goRaw
 1package common
 2
 3import (
 4	"encoding/json"
 5	"math/big"
 6	"testing"
 7
 8	"github.com/stretchr/testify/require"
 9)
10
11func TestZKInputs(t *testing.T) {
12	zki := NewZKInputs(100, 16, 512, 24, 32, big.NewInt(1))
13	_, err := json.Marshal(zki)
14	require.NoError(t, err)
15	// fmt.Println(string(s))
16}