nucleo issueshttps://gitlab.bfa.ar/blockchain/nucleo/-/issues2022-12-05T19:01:52Zhttps://gitlab.bfa.ar/blockchain/nucleo/-/issues/9Iniciando un nodo Fatal: open /home/bfa/bfa/network/config.localhost+full+arc...2022-12-05T19:01:52ZferromarianoIniciando un nodo Fatal: open /home/bfa/bfa/network/config.localhost+full+archive: no such file or directoryTengo el sigueinte problema en nodo, que instalando con docker
+ set +x
+ geth --config /home/bfa/bfa/network/config.localhost+full+archive
INFO [12-05|17:59:02.376] Starting Geth on Ethereum mainnet...
INFO [12-05|17:59:02.377] Bumping default cache on mainnet provided=1024 updated=4096
Fatal: open /home/bfa/bfa/network/config.localhost+full+archive: no such file or directory
Efectivamente el archivo /home/bfa/bfa/network/config.localhost+full+archive no esta
Pero esta ( simil nombre )
-rw-rw-r-- 1 bfa bfa 1739 Dec 4 22:49 config.full+archive+http.toml
-rw-rw-r-- 1 bfa bfa 1499 Dec 4 22:49 config.full+archive+nohttp.toml
busque dentro del codigo y el llamado es en la linea 192 de https://gitlab.bfa.ar/blockchain/nucleo/-/blob/master/bin/start.sh#L192
Pero no en que parte del proceso de instalacion se crea este archivo ( como para poder reportarlo o hacer un fix )
Buscando en el historial esto mismo le paso a alguien hace mas de año pero no encontre una respuesta.Tengo el sigueinte problema en nodo, que instalando con docker
+ set +x
+ geth --config /home/bfa/bfa/network/config.localhost+full+archive
INFO [12-05|17:59:02.376] Starting Geth on Ethereum mainnet...
INFO [12-05|17:59:02.377] Bumping default cache on mainnet provided=1024 updated=4096
Fatal: open /home/bfa/bfa/network/config.localhost+full+archive: no such file or directory
Efectivamente el archivo /home/bfa/bfa/network/config.localhost+full+archive no esta
Pero esta ( simil nombre )
-rw-rw-r-- 1 bfa bfa 1739 Dec 4 22:49 config.full+archive+http.toml
-rw-rw-r-- 1 bfa bfa 1499 Dec 4 22:49 config.full+archive+nohttp.toml
busque dentro del codigo y el llamado es en la linea 192 de https://gitlab.bfa.ar/blockchain/nucleo/-/blob/master/bin/start.sh#L192
Pero no en que parte del proceso de instalacion se crea este archivo ( como para poder reportarlo o hacer un fix )
Buscando en el historial esto mismo le paso a alguien hace mas de año pero no encontre una respuesta.https://gitlab.bfa.ar/blockchain/nucleo/-/issues/8Error en la instalación de nodo de pruebas2022-12-08T12:55:14ZMauro FornaroliError en la instalación de nodo de pruebasAl ejecutar el script (bfa/bin/installbfa.sh) para la instalación de un nodo de pruebas sobre un Ubuntu Server 20.04, se produce un error aparentemente durante la instalación de go-ethereum, ya que no se encuentran los archivos wnode, swarm y swarm-smoke. En consecuencia la instalación falla.
El detalle del error es el siguiente:
install: cannot stat '/home/root/new/go-ethereum/build/bin/wnode': No such file or directory
install: cannot stat '/home/root/new/go-ethereum/build/bin/swarm': No such file or directory
install: cannot stat '/home/root/new/go-ethereum/build/bin/swarm-smoke': No such file or directoryAl ejecutar el script (bfa/bin/installbfa.sh) para la instalación de un nodo de pruebas sobre un Ubuntu Server 20.04, se produce un error aparentemente durante la instalación de go-ethereum, ya que no se encuentran los archivos wnode, swarm y swarm-smoke. En consecuencia la instalación falla.
El detalle del error es el siguiente:
install: cannot stat '/home/root/new/go-ethereum/build/bin/wnode': No such file or directory
install: cannot stat '/home/root/new/go-ethereum/build/bin/swarm': No such file or directory
install: cannot stat '/home/root/new/go-ethereum/build/bin/swarm-smoke': No such file or directoryhttps://gitlab.bfa.ar/blockchain/nucleo/-/issues/7instalacion de go falla2021-08-22T00:27:31ZRobert Martin-Legeneinstalacion de go fallareportado por @JavierCharne:
Instalando sobre un Debian 10, al ejecutar el script `bfa/bin/installbfa.sh` eventualmente tira el error:
build github.com/ethereum/go-ethereum/build: cannot find module for path crypto/ed25519reportado por @JavierCharne:
Instalando sobre un Debian 10, al ejecutar el script `bfa/bin/installbfa.sh` eventualmente tira el error:
build github.com/ethereum/go-ethereum/build: cannot find module for path crypto/ed25519Robert Martin-LegeneRobert Martin-Legenehttps://gitlab.bfa.ar/blockchain/nucleo/-/issues/3rewind.js no ejecuta nunca el rewind.2019-03-06T19:43:46ZMiguel Montes rewind.js no ejecuta nunca el rewind.En el _script_ `rewind.js`, el cuerpo del `if` de la línea 17 nunca se ejecuta:
```javascript
17 if (eth.blockNumber.totalDifficulty+200<max) {
18 console.log(
19 "Max total difficulty is "
20 + max
21 + ", but mine is just "
22 + eth.blockNumber.totalDifficulty
23 + " (in block "
24 + eth.blockNumber
25 + "). Rolling "
26 + backstep+" blocks back, to block "
27 + web3.toHex(eth.blockNumber-backstep)
28 )
29 // Rollback a bit and see if we weren't stuck just because we were stuck in a side fork.
30 debug.setHead(web3.toHex(eth.blockNumber-backstep))
31 }
```
`eth.blockNumber.totalDifficulty` evalúa a `NaN`, por lo que la expresión es siempre falsa.
Entiendo que la expresión correcta, tanto en la línea 17 como en la 22, debería ser `eth.getBlock(eth.blockNumber).totalDifficuly`En el _script_ `rewind.js`, el cuerpo del `if` de la línea 17 nunca se ejecuta:
```javascript
17 if (eth.blockNumber.totalDifficulty+200<max) {
18 console.log(
19 "Max total difficulty is "
20 + max
21 + ", but mine is just "
22 + eth.blockNumber.totalDifficulty
23 + " (in block "
24 + eth.blockNumber
25 + "). Rolling "
26 + backstep+" blocks back, to block "
27 + web3.toHex(eth.blockNumber-backstep)
28 )
29 // Rollback a bit and see if we weren't stuck just because we were stuck in a side fork.
30 debug.setHead(web3.toHex(eth.blockNumber-backstep))
31 }
```
`eth.blockNumber.totalDifficulty` evalúa a `NaN`, por lo que la expresión es siempre falsa.
Entiendo que la expresión correcta, tanto en la línea 17 como en la 22, debería ser `eth.getBlock(eth.blockNumber).totalDifficuly`