cosmos / ethermint-archive

Ethereum on Tendermint using Cosmos-SDK!
Apache License 2.0
665 stars 189 forks source link

unknown field 'AppGenTx' in struct literal of type server.AppInit #498

Closed ghost closed 5 years ago

ghost commented 5 years ago

System info: [Include Ethermint commit, operating system name, and other relevant details]

Steps to reproduce: trying to import server into cmd->emintd->main.go

package main

import (
    "github.com/cosmos/cosmos-sdk/server"
)

when I run make tools deps install I got

# github.com/cosmos/ethermint/vendor/github.com/cosmos/cosmos-sdk/crypto/keys/mintkey
vendor/github.com/cosmos/cosmos-sdk/crypto/keys/mintkey/mintkey.go:108:41: too many arguments in call to bcrypt.GenerateFromPassword
    have ([]byte, []byte, int)
    want ([]byte, int)

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Additional info: [Include gist of relevant config, logs, etc.]

ebuchman commented 5 years ago

Sorry for the trouble - it's because we're using a fork - see eg. https://github.com/tendermint/tendermint/blob/master/Gopkg.toml#L82

ghost commented 5 years ago

thank you ebuchman