replace ethereum/core with harmony/core

Signed-off-by: Leo Chen <leo@harmony.one>
pull/832/head
Leo Chen 6 years ago
parent 91516b2498
commit 56ce665435
  1. 2
      accounts/abi/bind/auth.go
  2. 2
      accounts/abi/bind/backend.go
  3. 12
      accounts/abi/bind/backends/simulated.go
  4. 4
      accounts/abi/bind/backends/simulated_test.go
  5. 2
      accounts/abi/bind/base.go
  6. 2
      accounts/abi/bind/base_test.go
  7. 20
      accounts/abi/bind/bind_test.go
  8. 2
      accounts/abi/bind/template.go
  9. 2
      accounts/abi/bind/util.go
  10. 4
      accounts/abi/bind/util_test.go
  11. 2
      accounts/accounts.go
  12. 2
      accounts/external/backend.go
  13. 2
      accounts/keystore/keystore.go
  14. 2
      accounts/keystore/wallet.go

@ -24,7 +24,7 @@ import (
"github.com/harmony-one/harmony/accounts/keystore"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/crypto"
)

@ -23,7 +23,7 @@ import (
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
)
var (

@ -29,12 +29,12 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/bloombits"
"github.com/ethereum/go-ethereum/core/rawdb"
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/harmony-one/harmony/core"
"github.com/harmony-one/harmony/core/bloombits"
"github.com/harmony-one/harmony/core/rawdb"
"github.com/harmony-one/harmony/core/state"
"github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/core/vm"
"github.com/ethereum/go-ethereum/eth/filters"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/event"

@ -25,8 +25,8 @@ import (
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/crypto"
)

@ -25,7 +25,7 @@ import (
"github.com/ethereum/go-ethereum"
"github.com/harmony-one/harmony/accounts/abi"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/event"
)

@ -28,7 +28,7 @@ import (
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/rlp"
)

@ -251,7 +251,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -300,7 +300,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -340,7 +340,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -392,7 +392,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -434,7 +434,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -516,7 +516,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -560,7 +560,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -629,7 +629,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -717,7 +717,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`
@ -901,7 +901,7 @@ var bindTests = []struct {
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/core"
"github.com/harmony-one/harmony/core"
"github.com/ethereum/go-ethereum/crypto"
`,
`

@ -72,7 +72,7 @@ import (
"github.com/harmony-one/harmony/accounts/abi"
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/event"
)

@ -22,7 +22,7 @@ import (
"time"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/log"
)

@ -25,8 +25,8 @@ import (
"github.com/harmony-one/harmony/accounts/abi/bind"
"github.com/harmony-one/harmony/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/crypto"
)

@ -23,7 +23,7 @@ import (
ethereum "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/event"
"golang.org/x/crypto/sha3"
)

@ -25,7 +25,7 @@ import (
"github.com/harmony-one/harmony/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/internal/ethapi"
"github.com/ethereum/go-ethereum/log"

@ -35,7 +35,7 @@ import (
"github.com/harmony-one/harmony/accounts"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/event"
)

@ -21,7 +21,7 @@ import (
ethereum "github.com/ethereum/go-ethereum"
"github.com/harmony-one/harmony/accounts"
"github.com/ethereum/go-ethereum/core/types"
"github.com/harmony-one/harmony/core/types"
"github.com/ethereum/go-ethereum/crypto"
)

Loading…
Cancel
Save