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	chainID := uint16(0)
13	zki := NewZKInputs(chainID, 100, 16, 512, 24, 32, big.NewInt(1))
14	_, err := json.Marshal(zki)
15	require.NoError(t, err)
16	// fmt.Println(string(s))
17}