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

Guide for Running Ethermint full node #65

Open
Tracked by #60
jbowen93 opened this issue Jun 13, 2022 · 4 comments
Open
Tracked by #60

Guide for Running Ethermint full node #65

jbowen93 opened this issue Jun 13, 2022 · 4 comments

Comments

@jbowen93
Copy link

jbowen93 commented Jun 13, 2022

This guide assumes you are running a celestia-node full node that is reachable on localhost:26658

Celestia Full Node Guide
https://docs.celestia.org/nodes/full-storage-node

Testnet Rpc Endpoints
https://docs.celestia.org/nodes/mamaki-testnet/#rpc-endpoints

Systemd Setup
https://docs.celestia.org/nodes/systemd/#celestia-full-storage-node

Ethermint node install

sudo apt install gcc
git clone https://github.com/celestiaorg/ethermint.git
git clone https://github.com/celestiaorg/optimint.git
# Edit https://github.com/celestiaorg/optimint/blob/main/block/manager.go#L185 to be `info` not `debug`
cd ethermint && go mod edit -replace=github.com/celestiaorg/optimint=../optimint
make install

Get the Networks info

git clone https://github.com/celestiaorg/ethermint-networks.git

Setup the Ethermint node

mkdir .ethermintd/config
cp ~/ethermint-networks/ethermintd/config/config.toml .ethermintd/config 
cp ~/ethermint-networks/ethermintd/config/genesis.json .ethermintd/config

# Edit the .ethermintd/config/config.toml
# Set "aggregator" to "false" (https://github.com/celestiaorg/ethermint-networks/blob/main/ethermintd/config/config.toml#L404)
# Set "seeds" to "12D3KooWFjD8uAvxkY2scSgWN2qKyHHq96xFkJMV1PQmjuQkMD4F@35.208.160.145:26670" (https://github.com/celestiaorg/ethermint-networks/blob/main/ethermintd/config/config.toml#L185)

Start the node

You must allow Ingress to ports 8545 (RPC) and 26670 (P2P)

ethermintd start
@jbowen93
Copy link
Author

The current test deployment gets stuck at

ERR failed to retrieve block from DALC daHeight=49439 errors="failed to retrieve block: not found; failed to retrieve block: not found; failed to retrieve block: not found; failed to retrieve block: not found; failed to retrieve block: not found; failed to retrieve block: not found; failed to retrieve block: not found; failed to retrieve block: not found; failed to retrieve block: not found; failed to retrieve block: not found" module=BlockManager

The current height of the DA Layer is 51137 at time of writing

@jbowen93
Copy link
Author

This block is missing from my full node

curl localhost:26658/header/49439
"not found"

@jbowen93
Copy link
Author

Something was wrong when syncing the celestia-node full node. Restarting it resolved this.

@jbowen93
Copy link
Author

Attempting to send a metamask transaction using the ethermint full node (non sequencer) results in

9:41PM ERR failed to broadcast tx error="couldn't retrieve sender address ('') from the ethereum transaction: invalid chain id for signer: tx intended signer does not match the given signer: tx intended signer does not match the given signer" client=json-rpc
9:41PM INF Served eth_sendRawTransaction conn=37.120.19.165:50264 duration=1.54196 err="couldn't retrieve sender address ('') from the ethereum transaction: invalid chain id for signer: tx intended signer does not match the given signer: tx intended signer does not match the given signer" module=geth reqid=148588846534

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant