Commit 7a6ddf47 authored by vipwzw's avatar vipwzw

auto ci

parent e80435aa
......@@ -6,9 +6,10 @@ package merkletree
import (
"fmt"
"github.com/stretchr/testify/assert"
"testing"
"github.com/stretchr/testify/assert"
mixTy "github.com/33cn/plugin/plugin/dapp/mix/types"
"github.com/consensys/gnark-crypto/ecc/bn254/fr/mimc"
)
......
......@@ -4,11 +4,12 @@ import (
"bytes"
"encoding/hex"
"fmt"
"github.com/consensys/gnark/backend/witness"
"github.com/stretchr/testify/assert"
"reflect"
"testing"
"github.com/consensys/gnark/backend/witness"
"github.com/stretchr/testify/assert"
"github.com/consensys/gnark-crypto/ecc"
"github.com/consensys/gnark/backend"
"github.com/consensys/gnark/backend/groth16"
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc-gen-go v1.26.0
// protoc v3.9.1
// source: mix.proto
......@@ -8,15 +8,15 @@ package types
import (
context "context"
reflect "reflect"
sync "sync"
types "github.com/33cn/chain33/types"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
......@@ -26,10 +26,6 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
//区分不同的验证电路
type VerifyType int32
......
package types
import (
"github.com/stretchr/testify/assert"
"testing"
"github.com/stretchr/testify/assert"
)
func TestMulCurvePointG(t *testing.T) {
......
......@@ -4,13 +4,14 @@ import (
"bytes"
"encoding/binary"
"encoding/hex"
"io"
"math/big"
"reflect"
"github.com/consensys/gnark-crypto/ecc"
bn254 "github.com/consensys/gnark-crypto/ecc/bn254/twistededwards"
"github.com/consensys/gnark/frontend"
"github.com/pkg/errors"
"io"
"math/big"
"reflect"
"github.com/consensys/gnark/std/algebra/twistededwards"
"github.com/consensys/gnark/std/hash/mimc"
......
......@@ -7,6 +7,7 @@ package wallet
import (
"bytes"
"encoding/hex"
"github.com/pkg/errors"
"github.com/33cn/chain33/common"
......
......@@ -7,10 +7,11 @@ package wallet
import (
"bytes"
"encoding/hex"
"github.com/consensys/gnark/backend/groth16"
"os"
"path/filepath"
"github.com/consensys/gnark/backend/groth16"
"github.com/33cn/chain33/system/dapp"
"github.com/pkg/errors"
......
......@@ -6,6 +6,7 @@ package wallet
import (
"encoding/hex"
"github.com/consensys/gnark/frontend"
"github.com/33cn/chain33/common"
......
......@@ -5,9 +5,10 @@
package wallet
import (
"github.com/consensys/gnark/frontend"
"path/filepath"
"github.com/consensys/gnark/frontend"
"strconv"
"strings"
......
......@@ -5,10 +5,11 @@
package wallet
import (
"github.com/consensys/gnark/frontend"
"path/filepath"
"strings"
"github.com/consensys/gnark/frontend"
"github.com/33cn/chain33/common/address"
"github.com/33cn/chain33/types"
"github.com/pkg/errors"
......
......@@ -7,14 +7,15 @@ package wallet
import (
"bytes"
"encoding/hex"
"github.com/consensys/gnark-crypto/ecc"
"github.com/consensys/gnark/backend/groth16"
"github.com/consensys/gnark/backend/witness"
"os"
"path/filepath"
"reflect"
"strconv"
"github.com/consensys/gnark-crypto/ecc"
"github.com/consensys/gnark/backend/groth16"
"github.com/consensys/gnark/backend/witness"
"github.com/consensys/gnark/frontend"
"github.com/pkg/errors"
......
package wallet
import (
"testing"
"github.com/33cn/chain33/common"
mixTy "github.com/33cn/plugin/plugin/dapp/mix/types"
"github.com/consensys/gnark/frontend"
"github.com/stretchr/testify/assert"
"testing"
)
//func TestGetCommitValue(t *testing.T) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment