Merge pull request #15 from cosmos/bez/lock-depedencies

Update Dependency Configuration
This commit is contained in:
Alexander Bezobchuk 2018-07-09 16:36:53 -04:00 committed by GitHub
commit 54c477fa90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 26 deletions

26
Gopkg.lock generated
View File

@ -11,23 +11,22 @@
branch = "master" branch = "master"
name = "github.com/btcsuite/btcd" name = "github.com/btcsuite/btcd"
packages = ["btcec"] packages = ["btcec"]
revision = "86fed781132ac890ee03e906e4ecd5d6fa180c64" revision = "fdfc19097e7ac6b57035062056f5b7b4638b8898"
[[projects]] [[projects]]
branch = "master" branch = "master"
name = "github.com/btcsuite/btcutil" name = "github.com/btcsuite/btcutil"
packages = ["bech32"] packages = ["bech32"]
revision = "d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4" revision = "ab6388e0c60ae4834a1f57511e20c17b5f78be4b"
[[projects]] [[projects]]
branch = "develop"
name = "github.com/cosmos/cosmos-sdk" name = "github.com/cosmos/cosmos-sdk"
packages = [ packages = [
"store", "store",
"types", "types",
"wire" "wire"
] ]
revision = "08625633c62555cbd4ddc61238d35da520d942cb" revision = "0d6f99d6d514916974a7cc1a7e4577c650e987e1"
[[projects]] [[projects]]
name = "github.com/davecgh/go-spew" name = "github.com/davecgh/go-spew"
@ -73,8 +72,8 @@
"rpc", "rpc",
"trie" "trie"
] ]
revision = "dea1ce052a10cd7d401a5c04f83f371a06fe293c" revision = "37685930d953bcbe023f9bc65b135a8d8b8f1488"
version = "v1.8.11" version = "v1.8.12"
[[projects]] [[projects]]
name = "github.com/go-kit/kit" name = "github.com/go-kit/kit"
@ -179,7 +178,7 @@
"leveldb/table", "leveldb/table",
"leveldb/util" "leveldb/util"
] ]
revision = "0d5a0ceb10cf9ab89fdd744cc8c50a83134f6697" revision = "c4c61651e9e37fa117f53c5a906d3b63090d8445"
[[projects]] [[projects]]
branch = "master" branch = "master"
@ -221,15 +220,6 @@
revision = "5923b6288fe8ce9581936ee97c2bf9cf9c02c2f4" revision = "5923b6288fe8ce9581936ee97c2bf9cf9c02c2f4"
version = "v0.22.0-rc2" version = "v0.22.0-rc2"
[[projects]]
name = "github.com/tendermint/tmlibs"
packages = [
"common",
"db",
"log"
]
revision = "692f1d86a6e2c0efa698fd1e4541b68c74ffaf38"
[[projects]] [[projects]]
branch = "master" branch = "master"
name = "golang.org/x/crypto" name = "golang.org/x/crypto"
@ -257,7 +247,7 @@
"trace", "trace",
"websocket" "websocket"
] ]
revision = "ed29d75add3d7c4bf7ca65aac0c6df3d1420216f" revision = "c21de06aaf072cea07f3a65d6970e5c7d8b6cd6d"
[[projects]] [[projects]]
name = "golang.org/x/text" name = "golang.org/x/text"
@ -336,6 +326,6 @@
[solve-meta] [solve-meta]
analyzer-name = "dep" analyzer-name = "dep"
analyzer-version = 1 analyzer-version = 1
inputs-digest = "58fcc52223aba442a24118b546ef53abff5352bbdf306e652dee3106822bba50" inputs-digest = "6bd7ad37cf8a53408eeb32265fbc699bf2cc4e7a15b0b98182bcebb5c887cea1"
solver-name = "gps-cdcl" solver-name = "gps-cdcl"
solver-version = 1 solver-version = 1

View File

@ -1,15 +1,15 @@
[[constraint]] [[constraint]]
name = "github.com/cosmos/cosmos-sdk" name = "github.com/cosmos/cosmos-sdk"
# TODO: Replace with a stable tagged version # TODO: Replace with a stable tagged version (issue: #3)
branch = "develop" revision = "0d6f99d6d514916974a7cc1a7e4577c650e987e1"
[[override]] [[override]]
name = "google.golang.org/genproto" name = "google.golang.org/genproto"
revision = "7fd901a49ba6a7f87732eb344f6e3c5b19d1b200" revision = "7fd901a49ba6a7f87732eb344f6e3c5b19d1b200"
[[constraint]] [[constraint]]
version = "=0.22.0-rc2"
name = "github.com/tendermint/tendermint" name = "github.com/tendermint/tendermint"
version = "=0.22.0-rc2"
[prune] [prune]
go-tests = true go-tests = true

View File

@ -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
} }

View File

@ -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 {

View File

@ -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"
) )