Skip to content

Commit f820d1b

Browse files
authored
replace go-ethereum package (iotexproject#582)
1 parent bce1452 commit f820d1b

File tree

1,115 files changed

+237727
-422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,115 files changed

+237727
-422
lines changed

Gopkg.lock

+76-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
version = "~0.9.0"
4747

4848
[[constraint]]
49-
name = "github.com/iotexproject/go-ethereum"
50-
revision = "ccc12f4fab5e9a9038675904481734570e05f95d"
51-
49+
name = "github.com/ethereum/go-ethereum"
50+
revision = "2bbee71fbe61def241832e800b4f0bd24d4beb89"
51+
source = "github.com/iotexproject/go-ethereum"
5252

5353
[[constraint]]
5454
name = "github.com/iotexproject/go-fsm"
@@ -63,7 +63,7 @@
6363
unused-packages = true
6464

6565
[[prune.project]]
66-
name = "github.com/iotexproject/go-ethereum"
66+
name = "github.com/ethereum/go-ethereum"
6767
unused-packages = false
6868

6969
[[constraint]]

action/action.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ package action
99
import (
1010
"math/big"
1111

12+
"github.com/ethereum/go-ethereum/crypto"
1213
"github.com/golang/protobuf/proto"
13-
"github.com/iotexproject/go-ethereum/crypto"
1414
"github.com/pkg/errors"
1515
"golang.org/x/crypto/blake2b"
1616

action/protocol/execution/evm/contract_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"math/big"
1212
"testing"
1313

14-
"github.com/iotexproject/go-ethereum/common"
14+
"github.com/ethereum/go-ethereum/common"
1515
"github.com/pkg/errors"
1616
"github.com/stretchr/testify/require"
1717

action/protocol/execution/evm/evm.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313

1414
"github.com/iotexproject/iotex-core/action/protocol/rewarding"
1515

16-
"github.com/iotexproject/go-ethereum/common"
17-
"github.com/iotexproject/go-ethereum/core/vm"
18-
"github.com/iotexproject/go-ethereum/params"
16+
"github.com/ethereum/go-ethereum/common"
17+
"github.com/ethereum/go-ethereum/core/vm"
18+
"github.com/ethereum/go-ethereum/params"
1919
"github.com/pkg/errors"
2020

2121
"github.com/iotexproject/iotex-core/action"

action/protocol/execution/evm/evmstatedbadapter.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"fmt"
1212
"math/big"
1313

14-
"github.com/iotexproject/go-ethereum/common"
15-
"github.com/iotexproject/go-ethereum/core/types"
14+
"github.com/ethereum/go-ethereum/common"
15+
"github.com/ethereum/go-ethereum/core/types"
1616
"github.com/pkg/errors"
1717
"go.uber.org/zap"
1818

action/protocol/execution/evm/evmstatedbadapter_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"math/big"
1313
"testing"
1414

15+
"github.com/ethereum/go-ethereum/common"
1516
"github.com/golang/mock/gomock"
16-
"github.com/iotexproject/go-ethereum/common"
1717
"github.com/pkg/errors"
1818
"github.com/stretchr/testify/assert"
1919
"github.com/stretchr/testify/require"

action/protocol/execution/protocol_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"strings"
1515
"testing"
1616

17+
"github.com/ethereum/go-ethereum/common"
1718
"github.com/golang/mock/gomock"
18-
"github.com/iotexproject/go-ethereum/common"
1919
"github.com/pkg/errors"
2020
"github.com/stretchr/testify/require"
2121
"go.uber.org/zap"

address/address_v1_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strings"
1212
"testing"
1313

14-
"github.com/iotexproject/go-ethereum/crypto"
14+
"github.com/ethereum/go-ethereum/crypto"
1515
"github.com/stretchr/testify/assert"
1616
"github.com/stretchr/testify/require"
1717

blockchain/block/block.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"bytes"
1111
"time"
1212

13+
"github.com/ethereum/go-ethereum/crypto"
1314
"github.com/golang/protobuf/proto"
14-
"github.com/iotexproject/go-ethereum/crypto"
1515
"github.com/pkg/errors"
1616
"go.uber.org/zap"
1717

blockchain/block/builder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
package block
88

99
import (
10-
"github.com/iotexproject/go-ethereum/crypto"
10+
"github.com/ethereum/go-ethereum/crypto"
1111
"github.com/pkg/errors"
1212

1313
"github.com/iotexproject/iotex-core/action"

blockchain/block/testing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
package block
88

99
import (
10-
"github.com/iotexproject/go-ethereum/crypto"
10+
"github.com/ethereum/go-ethereum/crypto"
1111
"github.com/pkg/errors"
1212

1313
"github.com/iotexproject/iotex-core/action"

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"os"
1313
"time"
1414

15-
"github.com/iotexproject/go-ethereum/crypto"
15+
"github.com/ethereum/go-ethereum/crypto"
1616
"github.com/pkg/errors"
1717
uconfig "go.uber.org/config"
1818

config/config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"strings"
1515
"testing"
1616

17-
"github.com/iotexproject/go-ethereum/crypto"
17+
"github.com/ethereum/go-ethereum/crypto"
1818
"github.com/pkg/errors"
1919
"github.com/stretchr/testify/assert"
2020
"github.com/stretchr/testify/require"

consensus/scheme/rolldpos/rolldpos_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import (
1616

1717
"github.com/iotexproject/iotex-core/protogen/iotexrpc"
1818

19+
"github.com/ethereum/go-ethereum/crypto"
1920
"github.com/facebookgo/clock"
2021
"github.com/golang/mock/gomock"
2122
"github.com/golang/protobuf/proto"
22-
"github.com/iotexproject/go-ethereum/crypto"
2323
"github.com/pkg/errors"
2424
"github.com/stretchr/testify/assert"
2525
"github.com/stretchr/testify/require"

crypto/benchmark_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package crypto
99
import (
1010
"testing"
1111

12-
"github.com/iotexproject/go-ethereum/crypto"
12+
"github.com/ethereum/go-ethereum/crypto"
1313
"github.com/stretchr/testify/require"
1414
"golang.org/x/crypto/blake2b"
1515
)

e2etest/local_actpool_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"testing"
1313
"time"
1414

15+
"github.com/ethereum/go-ethereum/crypto"
1516
"github.com/golang/protobuf/proto"
16-
"github.com/iotexproject/go-ethereum/crypto"
1717
peerstore "github.com/libp2p/go-libp2p-peerstore"
1818
"github.com/stretchr/testify/require"
1919

e2etest/local_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"testing"
1515
"time"
1616

17+
"github.com/ethereum/go-ethereum/crypto"
1718
"github.com/golang/protobuf/proto"
18-
"github.com/iotexproject/go-ethereum/crypto"
1919
"github.com/libp2p/go-libp2p-peerstore"
2020
"github.com/stretchr/testify/require"
2121

endorsement/endorsement.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ package endorsement
99
import (
1010
"encoding/hex"
1111

12+
"github.com/ethereum/go-ethereum/crypto"
1213
"github.com/golang/protobuf/proto"
13-
"github.com/iotexproject/go-ethereum/crypto"
1414
"github.com/pkg/errors"
1515
"go.uber.org/zap"
1616
"go.uber.org/zap/zapcore"

pkg/keypair/keypair.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"crypto/ecdsa"
1111
"encoding/hex"
1212

13-
"github.com/iotexproject/go-ethereum/crypto"
13+
"github.com/ethereum/go-ethereum/crypto"
1414
"github.com/pkg/errors"
1515

1616
"github.com/iotexproject/iotex-core/pkg/hash"

staking/iotx_contract_test.go

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staking/staking_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"math/big"
1111
"testing"
1212

13-
"github.com/iotexproject/go-ethereum/accounts/abi/bind"
14-
"github.com/iotexproject/go-ethereum/common"
15-
"github.com/iotexproject/go-ethereum/ethclient"
13+
"github.com/ethereum/go-ethereum/accounts/abi/bind"
14+
"github.com/ethereum/go-ethereum/common"
15+
"github.com/ethereum/go-ethereum/ethclient"
1616
"github.com/stretchr/testify/require"
1717
)
1818

tools/actioninjector/actioninjector_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"testing"
1313
"time"
1414

15-
"github.com/iotexproject/go-ethereum/crypto"
15+
"github.com/ethereum/go-ethereum/crypto"
1616
"github.com/stretchr/testify/require"
1717
"golang.org/x/net/context"
1818

0 commit comments

Comments
 (0)