dyne / fabchain

FABchain network based on geth + clique
https://fabchain.net
GNU Affero General Public License v3.0
8 stars 4 forks source link

Fabchain testnet node not syncing #9

Open sargue opened 2 years ago

sargue commented 2 years ago

Trying the latest commit (2b3e5b0cc7c28178f4a544243bbec9314b230500) and just running make run starts the node but it's not syncing.

$ make run

░█▀▀░█▀█░█▀▄░░░█▀▀░█░█░█▀█░▀█▀░█▀█
░█▀▀░█▀█░█▀▄░░░█░░░█▀█░█▀█░░█░░█░█
░▀░░░▀░▀░▀▀░░░░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀

No account created
try: make account
UPNP client not found, unable to open P2P port forwarding
Using image: dyne/dyneth:0.8.0-5ae168ab95d9bf98a380d107f7ad8a4ce29f4e5c
Launching docker container for the HTTP API service:
P2P networking through port 30303
HTTP API available at http://127.0.0.1:8545
run 'make console' to attach the geth console
run 'make shell' to attach the running docker
docker  run --restart unless-stopped -d \
--mount "type=bind,source=/home/sargue/testnet/contracts,destination=/contracts" \
--mount "type=bind,source=/home/sargue/testnet/data,destination=/home/geth/.ethereum" \
-p 8545:8545 dyne/dyneth:0.8.0-5ae168ab95d9bf98a380d107f7ad8a4ce29f4e5c \
  bash /start-geth-api.sh "" "--syncmode snap --http.vhosts "*" --http.corsdomain "*""
b420ea0c392f1e12103d6402f33194f650fb36962b9aa597a6c25a6db0c2f789
$ make logs

░█▀▀░█▀█░█▀▄░░░█▀▀░█░█░█▀█░▀█▀░█▀█
░█▀▀░█▀█░█▀▄░░░█░░░█▀█░█▀█░░█░░█░█
░▀░░░▀░▀░▀▀░░░░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀

No account created
try: make account
Container running: b420ea0c392f
docker logs b420ea0c392f -f
Public address:
Bootnodes: enr:-KO4QCI4-nPHAzSi07K9XaTUkKGd9yeNUeFl_z0nRF5CbR7iE-OMqF9zQzwHZUkv6uN9xV-RIjxEcyW7TbM9FtnmYjGGAX8jtfSkg2V0aMfGhCO-XOSAgmlkgnY0gmlwhJ9F0KSJc2VjcDI1NmsxoQJiITeT_7ThS6_nqM53Z5gvfr29ztrgZ0GWx1H5jOeVyIRzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QMmx9c5KEs7AfmVg_l_pFpK6AJlu5HhI_iXVXVS5cJFlYGzUPYjpXUVwzA__RkUfHsChX2s3xDmY5_sqI6zP21SGAX8jtfZXg2V0aMfGhCO-XOSAgmlkgnY0gmlwhDEMT9uJc2VjcDI1NmsxoQPOPkps-dyuNkMeeFGg16lR7Qr42UqGmutHd26a_ccZ_oRzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QBiz8RzvPTKbP6t1Sdc0FPcxP7JPRfY5xtbRktM5ydPVROVYtGwOeikdg2P7TtqdW1sgistCZ9cjaJFJONc1qrWGAX8jtfcWg2V0aMfGhCO-XOSAgmlkgnY0gmlwhEEV8IaJc2VjcDI1NmsxoQNBS_Lb98z-J00sCnmjw47lJFEOpOeqBudo9nys00E9UYRzbmFwwIN0Y3CCdl-DdWRwgnZf
Public IP: [redacted]
[*] Zenroom v2.0.0 - secure crypto language VM
 .  Zenroom is Copyright (C) 2017-2021 by the Dyne.org foundation
 .  For the original source code and documentation go to https://zenroom.org
 .  Zenroom is free software: you can redistribute it and/or modify
 .  it under the terms of the GNU Affero General Public License as
 .  published by the Free Software Foundation, either version 3 of the
 .  License, or (at your option) any later version.
 .  Zenroom is distributed in the hope that it will be useful,
 .  but WITHOUT ANY WARRANTY; without even the implied warranty of
 .  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 .  GNU Affero General Public License for more details.
 .  You should have received a copy of the GNU Affero General Public License
 .  along with this program.  If not, see http://www.gnu.org/licenses/
 .  using default configuration
 .  Release version: 2.0.0
 .  Build commit hash: 01deffee
 .  ECDH curve is SECP256K1
 .  ECP curve is BLS381
 .  Memory in use: 489 KB
 .  reading Zencode from stdin
 .  loaded file (55 bytes)
[*] Script successfully executed
[*] Zenroom teardown.
 .  Memory used: 491 KB
 .  Time used: 9398
Starting geth for chainID: fabt (1717658228)

It just sits there. There seems to be not connecting to any node:

$ make console

░█▀▀░█▀█░█▀▄░░░█▀▀░█░█░█▀█░▀█▀░█▀█
░█▀▀░█▀█░█▀▄░░░█░░░█▀█░█▀█░░█░░█░█
░▀░░░▀░▀░▀▀░░░░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀

No account created
try: make account
Console starting
docker exec -it --user geth b420ea0c392f geth attach
Welcome to the Geth JavaScript console!

instance: Geth/v1.10.16-stable/linux-amd64/go1.17.6
at block: 0 (Thu Jan 01 1970 00:00:00 GMT+0000 (UTC))
 datadir: /home/geth/.ethereum
 modules: admin:1.0 debug:1.0 eth:1.0 ethash:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0

To exit, press ctrl-d or type exit
> eth.blockNumber
0
> net.peerCount
0
>eth.syncing
false

Is the testnet network working right now? The website seems to be down (https://fabchain.net/).

jaromil commented 2 years ago

WIP