bnb-chain / go-sdk

Apache License 2.0
205 stars 97 forks source link

Conflict with go-ethereum: duplicate symbol '_secp256k1GoPanicError' #174

Closed chillhacker closed 1 year ago

chillhacker commented 1 year ago
image
chillhacker commented 1 year ago

Do you know how to resolve this ?

chillhacker commented 1 year ago
module xxx

go 1.19

require (
    github.com/bnb-chain/go-sdk v1.3.0
    github.com/ethereum/go-ethereum v1.10.26
    github.com/namsral/flag v1.7.4-pre
    github.com/pkg/errors v0.9.1
    github.com/sirupsen/logrus v1.2.0
)

require (
    github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 // indirect
    github.com/bartekn/go-bip39 v0.0.0-20171116152956-a05967ea095d // indirect
    github.com/beorn7/perks v1.0.1 // indirect
    github.com/bgentry/speakeasy v0.1.0 // indirect
    github.com/bnb-chain/node v0.10.6 // indirect
    github.com/btcsuite/btcd v0.20.1-beta // indirect
    github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
    github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d // indirect
    github.com/cosmos/cosmos-sdk v0.25.0 // indirect
    github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d // indirect
    github.com/cosmos/ledger-go v0.9.2 // indirect
    github.com/davecgh/go-spew v1.1.1 // indirect
    github.com/deckarep/golang-set v1.8.0 // indirect
    github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
    github.com/etcd-io/bbolt v1.3.3 // indirect
    github.com/fsnotify/fsnotify v1.4.9 // indirect
    github.com/go-kit/kit v0.9.0 // indirect
    github.com/go-logfmt/logfmt v0.4.0 // indirect
    github.com/go-ole/go-ole v1.2.1 // indirect
    github.com/go-stack/stack v1.8.0 // indirect
    github.com/gogo/protobuf v1.3.1 // indirect
    github.com/golang/protobuf v1.5.2 // indirect
    github.com/golang/snappy v0.0.4 // indirect
    github.com/google/uuid v1.2.0 // indirect
    github.com/gorilla/mux v1.7.3 // indirect
    github.com/gorilla/websocket v1.4.2 // indirect
    github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
    github.com/hashicorp/hcl v1.0.0 // indirect
    github.com/inconshreveable/mousetrap v1.0.0 // indirect
    github.com/jmhodges/levigo v1.0.0 // indirect
    github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
    github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 // indirect
    github.com/libp2p/go-buffer-pool v0.0.2 // indirect
    github.com/magiconair/properties v1.8.1 // indirect
    github.com/mattn/go-isatty v0.0.12 // indirect
    github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
    github.com/mitchellh/go-homedir v1.1.0 // indirect
    github.com/mitchellh/mapstructure v1.4.1 // indirect
    github.com/pelletier/go-toml v1.4.0 // indirect
    github.com/pmezard/go-difflib v1.0.0 // indirect
    github.com/prometheus/client_golang v1.1.0 // indirect
    github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 // indirect
    github.com/prometheus/common v0.6.0 // indirect
    github.com/prometheus/procfs v0.0.3 // indirect
    github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563 // indirect
    github.com/rjeczalik/notify v0.9.1 // indirect
    github.com/rs/cors v1.7.0 // indirect
    github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
    github.com/spf13/afero v1.2.2 // indirect
    github.com/spf13/cast v1.3.0 // indirect
    github.com/spf13/cobra v0.0.5 // indirect
    github.com/spf13/jwalterweatherman v1.1.0 // indirect
    github.com/spf13/pflag v1.0.3 // indirect
    github.com/spf13/viper v1.4.0 // indirect
    github.com/stretchr/testify v1.7.2 // indirect
    github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
    github.com/tendermint/btcd v0.1.1 // indirect
    github.com/tendermint/go-amino v0.15.0 // indirect
    github.com/tendermint/iavl v0.12.4 // indirect
    github.com/tendermint/tendermint v0.32.3 // indirect
    github.com/tklauser/go-sysconf v0.3.5 // indirect
    github.com/tklauser/numcpus v0.2.2 // indirect
    github.com/zondax/hid v0.9.0 // indirect
    github.com/zondax/ledger-cosmos-go v0.9.9 // indirect
    golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
    golang.org/x/net v0.3.0 // indirect
    golang.org/x/sys v0.3.0 // indirect
    golang.org/x/text v0.5.0 // indirect
    google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb // indirect
    google.golang.org/grpc v1.23.0 // indirect
    google.golang.org/protobuf v1.26.0 // indirect
    gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
    gopkg.in/yaml.v2 v2.4.0 // indirect
    gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace (
    github.com/cosmos/cosmos-sdk => github.com/bnb-chain/bnc-cosmos-sdk v0.25.4-0.20221221115251-f9e69ff1b273
    github.com/tendermint/go-amino => github.com/bnb-chain/bnc-go-amino v0.14.1-binance.2
    github.com/tendermint/iavl => github.com/bnb-chain/bnc-tendermint-iavl v0.12.0-binance.4
    github.com/tendermint/tendermint => github.com/bnb-chain/bnc-tendermint v0.32.3-binance.3.0.20221109023026-379ddbab19d1
    github.com/zondax/ledger-cosmos-go => github.com/bnb-chain/ledger-cosmos-go v0.9.9-binance.3
    github.com/zondax/ledger-go => github.com/bnb-chain/ledger-go v0.9.1
    golang.org/x/crypto => github.com/tendermint/crypto v0.0.0-20190823183015-45b1026d81ae
)