Skip to content

initWalletProvider - Cannot read property '0' of undefined #140

@MysticRyuujin

Description

@MysticRyuujin

I just tried to upgrade running the quickstart.sh script and now I see this:

/fuse-validator # docker logs fuseapp 
[2022-12-09 14:39:28.843 +0000] INFO  (1 on 45a5aee389fe): runMain
[2022-12-09 14:39:28.845 +0000] INFO  (1 on 45a5aee389fe): initWalletProvider
[2022-12-09 14:39:28.856 +0000] ERROR (1 on 45a5aee389fe): Cannot read property '0' of undefined
    TypeError: Cannot read property '0' of undefined
        at initWalletProvider (/index.js:35:39)
        at runMain (/index.js:143:7)
        at Object.<anonymous> (/index.js:168:1)
        at Module._compile (internal/modules/cjs/loader.js:778:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
        at Module.load (internal/modules/cjs/loader.js:653:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
        at Function.Module._load (internal/modules/cjs/loader.js:585:3)
        at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
        at startup (internal/bootstrap/node.js:283:19)

I assume this is somehow related to the wallet/keystore. The only thing I change in the quickstart.sh file is the BASE_DIR (BASE_DIR=/data/volumes/fusenet)

.env:

VALIDATOR_KEYSTORE_DIR=/data/volumes/fusenet/config/keys/FuseNetwork

Directory content:

# ls /data/volumes/fusenet/config/keys/FuseNetwork
address_book.json  UTC--2021-05-07T20-07-46Z--22ef1982-1e70-4a6c-7046-e25b40ecdd9f

Not sure where to go next.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions