Commit 7a6ddf47 authored by vipwzw's avatar vipwzw

auto ci

parent e80435aa
...@@ -6,9 +6,10 @@ package merkletree ...@@ -6,9 +6,10 @@ package merkletree
import ( import (
"fmt" "fmt"
"github.com/stretchr/testify/assert"
"testing" "testing"
"github.com/stretchr/testify/assert"
mixTy "github.com/33cn/plugin/plugin/dapp/mix/types" mixTy "github.com/33cn/plugin/plugin/dapp/mix/types"
"github.com/consensys/gnark-crypto/ecc/bn254/fr/mimc" "github.com/consensys/gnark-crypto/ecc/bn254/fr/mimc"
) )
......
...@@ -4,11 +4,12 @@ import ( ...@@ -4,11 +4,12 @@ import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"fmt" "fmt"
"github.com/consensys/gnark/backend/witness"
"github.com/stretchr/testify/assert"
"reflect" "reflect"
"testing" "testing"
"github.com/consensys/gnark/backend/witness"
"github.com/stretchr/testify/assert"
"github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark-crypto/ecc"
"github.com/consensys/gnark/backend" "github.com/consensys/gnark/backend"
"github.com/consensys/gnark/backend/groth16" "github.com/consensys/gnark/backend/groth16"
......
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.23.0 // protoc-gen-go v1.26.0
// protoc v3.9.1 // protoc v3.9.1
// source: mix.proto // source: mix.proto
...@@ -8,15 +8,15 @@ package types ...@@ -8,15 +8,15 @@ package types
import ( import (
context "context" context "context"
reflect "reflect"
sync "sync"
types "github.com/33cn/chain33/types" types "github.com/33cn/chain33/types"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes" codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status" status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
) )
const ( const (
...@@ -26,10 +26,6 @@ const ( ...@@ -26,10 +26,6 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) _ = 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 type VerifyType int32
......
package types package types
import ( import (
"github.com/stretchr/testify/assert"
"testing" "testing"
"github.com/stretchr/testify/assert"
) )
func TestMulCurvePointG(t *testing.T) { func TestMulCurvePointG(t *testing.T) {
......
...@@ -4,13 +4,14 @@ import ( ...@@ -4,13 +4,14 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"encoding/hex" "encoding/hex"
"io"
"math/big"
"reflect"
"github.com/consensys/gnark-crypto/ecc" "github.com/consensys/gnark-crypto/ecc"
bn254 "github.com/consensys/gnark-crypto/ecc/bn254/twistededwards" bn254 "github.com/consensys/gnark-crypto/ecc/bn254/twistededwards"
"github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend"
"github.com/pkg/errors" "github.com/pkg/errors"
"io"
"math/big"
"reflect"
"github.com/consensys/gnark/std/algebra/twistededwards" "github.com/consensys/gnark/std/algebra/twistededwards"
"github.com/consensys/gnark/std/hash/mimc" "github.com/consensys/gnark/std/hash/mimc"
......
...@@ -7,6 +7,7 @@ package wallet ...@@ -7,6 +7,7 @@ package wallet
import ( import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/33cn/chain33/common" "github.com/33cn/chain33/common"
......
...@@ -7,10 +7,11 @@ package wallet ...@@ -7,10 +7,11 @@ package wallet
import ( import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"github.com/consensys/gnark/backend/groth16"
"os" "os"
"path/filepath" "path/filepath"
"github.com/consensys/gnark/backend/groth16"
"github.com/33cn/chain33/system/dapp" "github.com/33cn/chain33/system/dapp"
"github.com/pkg/errors" "github.com/pkg/errors"
......
...@@ -6,6 +6,7 @@ package wallet ...@@ -6,6 +6,7 @@ package wallet
import ( import (
"encoding/hex" "encoding/hex"
"github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend"
"github.com/33cn/chain33/common" "github.com/33cn/chain33/common"
......
...@@ -5,9 +5,10 @@ ...@@ -5,9 +5,10 @@
package wallet package wallet
import ( import (
"github.com/consensys/gnark/frontend"
"path/filepath" "path/filepath"
"github.com/consensys/gnark/frontend"
"strconv" "strconv"
"strings" "strings"
......
...@@ -5,10 +5,11 @@ ...@@ -5,10 +5,11 @@
package wallet package wallet
import ( import (
"github.com/consensys/gnark/frontend"
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/consensys/gnark/frontend"
"github.com/33cn/chain33/common/address" "github.com/33cn/chain33/common/address"
"github.com/33cn/chain33/types" "github.com/33cn/chain33/types"
"github.com/pkg/errors" "github.com/pkg/errors"
......
...@@ -7,14 +7,15 @@ package wallet ...@@ -7,14 +7,15 @@ package wallet
import ( import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"github.com/consensys/gnark-crypto/ecc"
"github.com/consensys/gnark/backend/groth16"
"github.com/consensys/gnark/backend/witness"
"os" "os"
"path/filepath" "path/filepath"
"reflect" "reflect"
"strconv" "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/consensys/gnark/frontend"
"github.com/pkg/errors" "github.com/pkg/errors"
......
package wallet package wallet
import ( import (
"testing"
"github.com/33cn/chain33/common" "github.com/33cn/chain33/common"
mixTy "github.com/33cn/plugin/plugin/dapp/mix/types" mixTy "github.com/33cn/plugin/plugin/dapp/mix/types"
"github.com/consensys/gnark/frontend" "github.com/consensys/gnark/frontend"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"testing"
) )
//func TestGetCommitValue(t *testing.T) { //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