Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Generate a persistent key for an Ethermint bootstrap node #17

Closed
Tracked by #43
jbowen93 opened this issue Apr 14, 2022 · 1 comment · Fixed by #18
Closed
Tracked by #43

Generate a persistent key for an Ethermint bootstrap node #17

jbowen93 opened this issue Apr 14, 2022 · 1 comment · Fixed by #18
Assignees

Comments

@jbowen93
Copy link
Contributor

For testing P2P communication between multiple Ethermint nodes we need to have a bootstrap peer. For this to work well in the ephemeral cluster we should manually generate a pub/priv key pair and store it in version control. We should use this key when starting the first Ethermint node and note its PeerID.

@jbowen93
Copy link
Contributor Author

Currently stuck with the config in #18 and the docker changes in celestiaorg/ethermint#45.

The 2nd node (ethermint1) just waits at

11:06AM INF starting P2P client
11:06AM INF serving HTTP listen address={"IP":"::","Port":26657,"Zone":""}
11:06AM INF listening on address=/ip4/192.167.4.1/tcp/26656/p2p/12D3KooWDUrh88NUhtMxnLzFY7i4CPbL18MRkAuJFkXwSkJ8Dk5w module=p2p
11:06AM INF listening on address=/ip4/127.0.0.1/tcp/26656/p2p/12D3KooWDUrh88NUhtMxnLzFY7i4CPbL18MRkAuJFkXwSkJ8Dk5w module=p2p
11:06AM INF no seed nodes - only listening for connections module=p2p
11:06AM INF starting GRPC DALC host=192.167.3.0 module=da_client port=7980
11:06AM INF ABCIQuery data= module=events path=/ethermint.evm.v1.Query/Params result={"code":111222,"codespace":"undefined","height":"0","index":"0","info":"","key":null,"log":"panic message redacted to hide potentially sensitive system info: panic","proofOps":null,"value":null}
11:06AM INF Starting JSON-RPC server address=0.0.0.0:8545
11:06AM INF Starting JSON WebSocket server address=0.0.0.0:8546

I'm not sure if the error

11:06AM INF ABCIQuery data= module=events path=/ethermint.evm.v1.Query/Params result={"code":111222,"codespace":"undefined","height":"0","index":"0","info":"","key":null,"log":"panic message redacted to hide potentially sensitive system info: panic","proofOps":null,"value":null}

is important but it doesn't appear on the ethermint0 node.

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 a pull request may close this issue.

1 participant