Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alfajores node from docker does not start syncing ( chain ID 44786 ) #934

Closed
astudnev opened this issue Mar 22, 2020 · 1 comment
Closed

Comments

@astudnev
Copy link

astudnev commented Mar 22, 2020

Unlike the documentation, chainID in genesis JSON is 44786, not 44785
The output does not show any errors, but it never start sync:

% echo $CELO_IMAGE 
us.gcr.io/celo-testnet/celo-node:alfajores

% docker run --name celo-fullnode -d --restart always -p 127.0.0.1:8545:8545 -p 127.0.0.1:8546:8546 -p 30303:30303 -p 30303:30303/udp -v $PWD:/root/.celo $CELO_IMAGE --networkid $NETWORK_ID --syncmode full --rpc --rpcaddr 0.0.0.0 --rpcapi eth,net,web3,debug,admin,personal --lightserv 90 --lightpeers 1000 --maxpeers 1100  --bootnodes $BOOTNODE_ENODES
ff729e71252f6a0fd2919d1388db4819c5be7bf9eef3b1214a1a660c2e9cf05c

% echo $NETWORK_ID                                                                         
44786

% echo $BOOTNODE_ENODES
enode://322f16487eb79832b66fe9091d8cc51cad861068d3e52f06ef391ecb89fe9342cfb8bd58020ece66ad8e081e9f08cb621201e4ad160092d7ff158cc03865d114@10.51.255.143:30303

% docker container logs ff729e71252f6a0fd2919d1388db4819c5be7bf9eef3b1214a1a660c2e9cf05c 
stty: standard input: Not a tty
WARN [03-22|09:52:23.443] Sanitizing cache to Go's GC limits       provided=1024 updated=663
INFO [03-22|09:52:23.443] Maximum peer count                       ETH=100 LES=1000 total=1100
INFO [03-22|09:52:23.453] Starting peer-to-peer node               instance=Geth/v1.8.23-stable-45859e59/linux-amd64/go1.11.13
INFO [03-22|09:52:23.454] Allocated cache and file handles         database=/root/.celo/geth/chaindata cache=331 handles=524288
INFO [03-22|09:52:23.500] Initialised chain configuration          config="{ChainID: 44786 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0  ConstantinopleFix: 0 Engine: istanbul}"
INFO [03-22|09:52:23.500] Open roundstate db                       func=newRoundStateDB type=roundStateDB rsdb_path=/root/.celo/geth/roundstates
INFO [03-22|09:52:23.559] Initialising Ethereum protocol           versions=[64] network=44786
INFO [03-22|09:52:23.604] Loaded most recent local header          number=0 hash=ec386d…604238 td=1 age=1y7mo2d
INFO [03-22|09:52:23.604] Loaded most recent local full block      number=0 hash=ec386d…604238 td=1 age=1y7mo2d
INFO [03-22|09:52:23.604] Loaded most recent local fast block      number=0 hash=ec386d…604238 td=1 age=1y7mo2d
INFO [03-22|09:52:23.608] Loaded local transaction journal         transactions=0 dropped=0
INFO [03-22|09:52:23.612] Regenerated local transaction journal    transactions=0 accounts=0
INFO [03-22|09:52:23.650] New local node record                    seq=2 id=babffa1795ac2fcf ip=127.0.0.1 udp=30303 tcp=30303
INFO [03-22|09:52:23.651] UDP listener up                          net=enode://4a5f7cfe81dcb67f87b32f89918ca1bdb2ff105249cde7e2b429a366666f360832c5f930d90672baf206526b44076c33788b31539eaa419c5ee11680337d831e@[::]:30303
INFO [03-22|09:52:23.652] Started P2P networking                   self=enode://4a5f7cfe81dcb67f87b32f89918ca1bdb2ff105249cde7e2b429a366666f360832c5f930d90672baf206526b44076c33788b31539eaa419c5ee11680337d831e@127.0.0.1:30303
INFO [03-22|09:52:23.653] Starting topic registration              topic=LES2@ec386d582b1e781c
INFO [03-22|09:52:23.659] IPC endpoint opened                      url=/root/.celo/geth.ipc
INFO [03-22|09:52:23.660] HTTP endpoint opened                     url=http://0.0.0.0:8545  cors= vhosts=localhost
@astudnev
Copy link
Author

After docker update and bootnode to enode://5aaf10664b12431c250597e980aacd7d5373cae00f128be5b00364344bb96bce7555b50973664bddebd1cb7a6d3fb927bec81527f80e22a26fa373c375fcdefc@34.82.45.71:30301 it worked fine!

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

No branches or pull requests

1 participant