Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Update Ethermint app/ Daemon to run functional TM node #70

Merged
merged 3 commits into from
Jul 12, 2019

Conversation

austinabell
Copy link

@austinabell austinabell commented Jul 12, 2019

Updates the app framework to get the tendermint node daemon commands to function #67 and completes the functionality missing from #6 (#66). Although it seems as if this code is excessive, it contains only the base modules for a functional chain.

The Cosmos SDK had been updated a lot since the creation of Ethermint and this update reflects the changes and updates the structure to the up to date instantiation of a Cosmos SDK app. These changes allow the EVM module to be added on top of the application so it can be easily connected and tested with this functional node.

To run the node, I ran these commands:

make install && rm -rf ~/.emint* && emintd init moniker --chain-id testchain && emintcli config chain-id testchain && emintcli config output json && emintcli config indent true && emintcli config trust-node true && emintcli keys add austin && emintd add-genesis-account $(emintcli keys show austin -a) 1000photon,100000000stake && emintd gentx --name austin && emintd collect-gentxs && emintd validate-genesis && emintd start

Ignore the couldn't connect to peers error as those won't be configured but blocks will still be committed. If you're lazy and don't want to type in a passphrase 3 times each run hopefully this will handle the prompts in your shell:

make install 
rm -rf ~/.emint*
emintd init moniker --chain-id testchain
emintcli config chain-id testchain
emintcli config output json
emintcli config indent true
emintcli config trust-node true
emintcli keys add austin
testpass
testpass
emintd add-genesis-account $(emintcli keys show austin -a) 1000photon,100000000stake
emintd gentx --name austin
testpass
emintd collect-gentxs
emintd validate-genesis
emintd start

Edit: The only module I think that could maybe be subbed out may be the governance module, but we will need to clarify if that should be included. All others seem necessary to have a functional and usable zone. Will have to clarify if Cosmos governance will be included in Ethermint.

Also, this PR allows #58 to be implemented.

ansermino
ansermino previously approved these changes Jul 12, 2019
Copy link

@ansermino ansermino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

app/ethermint.go Show resolved Hide resolved
app/ethermint.go Outdated Show resolved Hide resolved
@austinabell austinabell changed the base branch from development to master July 12, 2019 16:21
@austinabell austinabell changed the base branch from master to development July 12, 2019 16:21
@austinabell austinabell merged commit fbaa946 into development Jul 12, 2019
@austinabell austinabell deleted the austin/emintapp branch July 12, 2019 17:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants