Fix import paths (replace ledgerwatch with cosmos)
This commit is contained in:
parent
c2e1ab2d4a
commit
09d5888c2e
@ -20,7 +20,7 @@ import (
|
|||||||
// NOTE: Ethermint will distribute the fees out to validators, so the structure
|
// NOTE: Ethermint will distribute the fees out to validators, so the structure
|
||||||
// and functionality of this is a WIP and subject to change.
|
// and functionality of this is a WIP and subject to change.
|
||||||
type ChainContext struct {
|
type ChainContext struct {
|
||||||
Coinbase ethcommon.Address
|
Coinbase ethcommon.Address
|
||||||
headersByNumber map[uint64]*ethtypes.Header
|
headersByNumber map[uint64]*ethtypes.Header
|
||||||
}
|
}
|
||||||
|
|
||||||
|
6
main.go
6
main.go
@ -11,6 +11,8 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
"github.com/cosmos/ethermint/core"
|
||||||
|
"github.com/cosmos/ethermint/state"
|
||||||
ethcommon "github.com/ethereum/go-ethereum/common"
|
ethcommon "github.com/ethereum/go-ethereum/common"
|
||||||
ethmisc "github.com/ethereum/go-ethereum/consensus/misc"
|
ethmisc "github.com/ethereum/go-ethereum/consensus/misc"
|
||||||
ethcore "github.com/ethereum/go-ethereum/core"
|
ethcore "github.com/ethereum/go-ethereum/core"
|
||||||
@ -19,8 +21,6 @@ import (
|
|||||||
ethvm "github.com/ethereum/go-ethereum/core/vm"
|
ethvm "github.com/ethereum/go-ethereum/core/vm"
|
||||||
ethparams "github.com/ethereum/go-ethereum/params"
|
ethparams "github.com/ethereum/go-ethereum/params"
|
||||||
ethrlp "github.com/ethereum/go-ethereum/rlp"
|
ethrlp "github.com/ethereum/go-ethereum/rlp"
|
||||||
"github.com/ledgerwatch/ethermint/core"
|
|
||||||
"github.com/ledgerwatch/ethermint/state"
|
|
||||||
dbm "github.com/tendermint/tendermint/libs/db"
|
dbm "github.com/tendermint/tendermint/libs/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -195,7 +195,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
n++
|
n++
|
||||||
if (n%100) == 0 {
|
if (n % 100) == 0 {
|
||||||
fmt.Printf("processed %d blocks\n", n)
|
fmt.Printf("processed %d blocks\n", n)
|
||||||
}
|
}
|
||||||
if n >= 1000 {
|
if n >= 1000 {
|
||||||
|
@ -3,10 +3,10 @@ package state
|
|||||||
import (
|
import (
|
||||||
"github.com/cosmos/cosmos-sdk/store"
|
"github.com/cosmos/cosmos-sdk/store"
|
||||||
"github.com/cosmos/cosmos-sdk/types"
|
"github.com/cosmos/cosmos-sdk/types"
|
||||||
|
"github.com/cosmos/ethermint/core"
|
||||||
ethcommon "github.com/ethereum/go-ethereum/common"
|
ethcommon "github.com/ethereum/go-ethereum/common"
|
||||||
ethstate "github.com/ethereum/go-ethereum/core/state"
|
ethstate "github.com/ethereum/go-ethereum/core/state"
|
||||||
ethtrie "github.com/ethereum/go-ethereum/trie"
|
ethtrie "github.com/ethereum/go-ethereum/trie"
|
||||||
"github.com/ledgerwatch/ethermint/core"
|
|
||||||
dbm "github.com/tendermint/tendermint/libs/db"
|
dbm "github.com/tendermint/tendermint/libs/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user