Fix import paths (replace ledgerwatch with cosmos)

This commit is contained in:
Aleksandr Bezobchuk 2018-07-09 14:25:00 -04:00
parent c2e1ab2d4a
commit 09d5888c2e
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ import (
// NOTE: Ethermint will distribute the fees out to validators, so the structure
// and functionality of this is a WIP and subject to change.
type ChainContext struct {
Coinbase ethcommon.Address
Coinbase ethcommon.Address
headersByNumber map[uint64]*ethtypes.Header
}

View File

@ -11,6 +11,8 @@ import (
"io"
"os"
"github.com/cosmos/ethermint/core"
"github.com/cosmos/ethermint/state"
ethcommon "github.com/ethereum/go-ethereum/common"
ethmisc "github.com/ethereum/go-ethereum/consensus/misc"
ethcore "github.com/ethereum/go-ethereum/core"
@ -19,8 +21,6 @@ import (
ethvm "github.com/ethereum/go-ethereum/core/vm"
ethparams "github.com/ethereum/go-ethereum/params"
ethrlp "github.com/ethereum/go-ethereum/rlp"
"github.com/ledgerwatch/ethermint/core"
"github.com/ledgerwatch/ethermint/state"
dbm "github.com/tendermint/tendermint/libs/db"
)
@ -195,7 +195,7 @@ func main() {
}
n++
if (n%100) == 0 {
if (n % 100) == 0 {
fmt.Printf("processed %d blocks\n", n)
}
if n >= 1000 {

View File

@ -3,10 +3,10 @@ package state
import (
"github.com/cosmos/cosmos-sdk/store"
"github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/ethermint/core"
ethcommon "github.com/ethereum/go-ethereum/common"
ethstate "github.com/ethereum/go-ethereum/core/state"
ethtrie "github.com/ethereum/go-ethereum/trie"
"github.com/ledgerwatch/ethermint/core"
dbm "github.com/tendermint/tendermint/libs/db"
)