Commit 5de490f2 authored by vicotor's avatar vicotor

update mod name

parent daf37694
......@@ -20,7 +20,7 @@ import (
"encoding/json"
"fmt"
"github.com/CaduceusMetaverseProtocol/ethcrypto/common/hexutil"
"code.wuban.net.cn/cmpchain/ethcrypto/common/hexutil"
)
type MyType [5]byte
......
......@@ -9,7 +9,7 @@
package bn256
import (
bn256cf "github.com/CaduceusMetaverseProtocol/ethcrypto/crypto/bn256/cloudflare"
bn256cf "code.wuban.net.cn/cmpchain/ethcrypto/crypto/bn256/cloudflare"
)
// G1 is an abstract cyclic group. The zero value is suitable for use as the
......
......@@ -8,7 +8,7 @@
// Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
package bn256
import bn256 "github.com/CaduceusMetaverseProtocol/ethcrypto/crypto/bn256/google"
import bn256 "code.wuban.net.cn/cmpchain/ethcrypto/crypto/bn256/google"
// G1 is an abstract cyclic group. The zero value is suitable for use as the
// output of an operation, but cannot be used as an input.
......
......@@ -24,14 +24,14 @@ import (
"encoding/hex"
"errors"
"fmt"
"github.com/CaduceusMetaverseProtocol/ethcrypto/common/math"
"code.wuban.net.cn/cmpchain/ethcrypto/common/math"
"hash"
"io"
"math/big"
"os"
metatypes "github.com/CaduceusMetaverseProtocol/MetaTypes/types"
"github.com/CaduceusMetaverseProtocol/ethcrypto/rlp"
"code.wuban.net.cn/cmpchain/ethcrypto/rlp"
"golang.org/x/crypto/sha3"
)
......
......@@ -41,7 +41,7 @@ import (
"io"
"math/big"
"github.com/CaduceusMetaverseProtocol/ethcrypto/crypto"
"code.wuban.net.cn/cmpchain/ethcrypto/crypto"
)
var (
......
......@@ -39,7 +39,7 @@ import (
"math/big"
"testing"
"github.com/CaduceusMetaverseProtocol/ethcrypto/crypto"
"code.wuban.net.cn/cmpchain/ethcrypto/crypto"
)
func TestKDF(t *testing.T) {
......
......@@ -43,7 +43,7 @@ import (
"fmt"
"hash"
ethcrypto "github.com/CaduceusMetaverseProtocol/ethcrypto/crypto"
ethcrypto "code.wuban.net.cn/cmpchain/ethcrypto/crypto"
)
var (
......
......@@ -24,7 +24,7 @@ import (
"reflect"
"sync/atomic"
"github.com/CaduceusMetaverseProtocol/ethcrypto/common/hexutil"
"code.wuban.net.cn/cmpchain/ethcrypto/common/hexutil"
)
//go:embed trusted_setup.json
......
......@@ -23,7 +23,7 @@ import (
"errors"
"sync"
"github.com/CaduceusMetaverseProtocol/ethcrypto/common/hexutil"
"code.wuban.net.cn/cmpchain/ethcrypto/common/hexutil"
gokzg4844 "github.com/crate-crypto/go-kzg-4844"
ckzg4844 "github.com/ethereum/c-kzg-4844/bindings/go"
)
......
......@@ -15,7 +15,7 @@
package secp256k1
import (
_ "github.com/CaduceusMetaverseProtocol/ethcrypto/crypto/secp256k1/libsecp256k1/include"
_ "github.com/CaduceusMetaverseProtocol/ethcrypto/crypto/secp256k1/libsecp256k1/src"
_ "github.com/CaduceusMetaverseProtocol/ethcrypto/crypto/secp256k1/libsecp256k1/src/modules/recovery"
_ "code.wuban.net.cn/cmpchain/ethcrypto/crypto/secp256k1/libsecp256k1/include"
_ "code.wuban.net.cn/cmpchain/ethcrypto/crypto/secp256k1/libsecp256k1/src"
_ "code.wuban.net.cn/cmpchain/ethcrypto/crypto/secp256k1/libsecp256k1/src/modules/recovery"
)
......@@ -23,9 +23,9 @@ import (
"crypto/ecdsa"
"errors"
"fmt"
"github.com/CaduceusMetaverseProtocol/ethcrypto/common/math"
"code.wuban.net.cn/cmpchain/ethcrypto/common/math"
"github.com/CaduceusMetaverseProtocol/ethcrypto/crypto/secp256k1"
"code.wuban.net.cn/cmpchain/ethcrypto/crypto/secp256k1"
)
// Ecrecover returns the uncompressed public key that created the given signature.
......
module github.com/CaduceusMetaverseProtocol/ethcrypto
module code.wuban.net.cn/cmpchain/ethcrypto
go 1.24.0
......
......@@ -28,7 +28,7 @@ import (
"strings"
"sync"
"github.com/CaduceusMetaverseProtocol/ethcrypto/rlp/internal/rlpstruct"
"code.wuban.net.cn/cmpchain/ethcrypto/rlp/internal/rlpstruct"
"github.com/holiman/uint256"
)
......
......@@ -28,7 +28,7 @@ import (
"strings"
"testing"
"github.com/CaduceusMetaverseProtocol/ethcrypto/common/math"
"code.wuban.net.cn/cmpchain/ethcrypto/common/math"
"github.com/holiman/uint256"
)
......
......@@ -20,7 +20,7 @@ import (
"bytes"
"fmt"
"github.com/CaduceusMetaverseProtocol/ethcrypto/rlp"
"code.wuban.net.cn/cmpchain/ethcrypto/rlp"
)
func ExampleEncoderBuffer() {
......
......@@ -23,7 +23,7 @@ import (
"math/big"
"reflect"
"github.com/CaduceusMetaverseProtocol/ethcrypto/rlp/internal/rlpstruct"
"code.wuban.net.cn/cmpchain/ethcrypto/rlp/internal/rlpstruct"
"github.com/holiman/uint256"
)
......
......@@ -26,7 +26,7 @@ import (
"sync"
"testing"
"github.com/CaduceusMetaverseProtocol/ethcrypto/common/math"
"code.wuban.net.cn/cmpchain/ethcrypto/common/math"
"github.com/holiman/uint256"
)
......
......@@ -20,7 +20,7 @@ import (
"fmt"
"io"
"github.com/CaduceusMetaverseProtocol/ethcrypto/rlp"
"code.wuban.net.cn/cmpchain/ethcrypto/rlp"
)
type MyCoolType struct {
......
......@@ -19,7 +19,7 @@ package rlp
import (
"testing"
"github.com/CaduceusMetaverseProtocol/ethcrypto/common/hexutil"
"code.wuban.net.cn/cmpchain/ethcrypto/common/hexutil"
)
// TestIterator tests some basic things about the ListIterator. A more
......
......@@ -23,7 +23,7 @@ import (
"go/types"
"sort"
"github.com/CaduceusMetaverseProtocol/ethcrypto/rlp/internal/rlpstruct"
"code.wuban.net.cn/cmpchain/ethcrypto/rlp/internal/rlpstruct"
)
// buildContext keeps the data needed for make*Op.
......
......@@ -27,7 +27,7 @@ import (
"golang.org/x/tools/go/packages"
)
const pathOfPackageRLP = "github.com/CaduceusMetaverseProtocol/ethcrypto/rlp"
const pathOfPackageRLP = "code.wuban.net.cn/cmpchain/ethcrypto/rlp"
func main() {
var (
......
......@@ -23,7 +23,7 @@ import (
"sync"
"sync/atomic"
"github.com/CaduceusMetaverseProtocol/ethcrypto/rlp/internal/rlpstruct"
"code.wuban.net.cn/cmpchain/ethcrypto/rlp/internal/rlpstruct"
)
// typeinfo is an entry in the type cache.
......
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