Commit 5de490f2 authored by vicotor's avatar vicotor

update mod name

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