You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
309 B

  1. package common
  2. import (
  3. "encoding/json"
  4. "math/big"
  5. "testing"
  6. "github.com/stretchr/testify/require"
  7. )
  8. func TestZKInputs(t *testing.T) {
  9. chainID := uint16(0)
  10. zki := NewZKInputs(chainID, 100, 24, 512, 32, big.NewInt(1))
  11. _, err := json.Marshal(zki)
  12. require.NoError(t, err)
  13. // fmt.Println(string(s))
  14. }