Closed lxyhcx closed 3 years ago
command "sudo phala status" returns gas account balance is 0
use "wss://para2-api.phala.network/ws" as the --substrate-ws-endpoint parameter in status.sh can get correct balance:
the tested command: $ node /opt/phala/console.js --substrate-ws-endpoint "wss://khala.api.onfinality.io/public-ws" chain free-balance 43cAJWN2gCu8ds5bJgq3nFuJhBAbJKMMgDXr8fPuFq46Q7YF 2021-09-20 06:37:41 API-WS: disconnected from wss://khala.api.onfinality.io/public-ws: 1006:: connection failed 2021-09-20 06:37:44 API-WS: disconnected from wss://khala.api.onfinality.io/public-ws: 1006:: connection failed 2021-09-20 06:37:48 API-WS: disconnected from wss://khala.api.onfinality.io/public-ws: 1006:: connection failed 2021-09-20 06:37:51 API-WS: disconnected from wss://khala.api.onfinality.io/public-ws: 1006:: connection failed 2021-09-20 06:37:58 REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect 2021-09-20 06:37:58 API/INIT: RPC methods not decorated: pha_getMqNextSequence, pha_getStorageChanges 0 $ node /opt/phala/console.js --substrate-ws-endpoint "wss://para2-api.phala.network/ws" chain free-balance 43cAJWN2gCu8ds5bJgq3nFuJhBAbJKMMgDXr8fPuFq46Q7YF 2021-09-20 06:39:13 REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect 2021-09-20 06:39:13 API/INIT: RPC methods not decorated: pha_getMqNextSequence, pha_getStorageChanges 99999859263693441
Please check is there other codes should be modified.
para2-api.phala.network is testnet
Yes. It seems the para branch is for testnet. I mean the ws-endpoint in status.sh of testnet should be "wss://para2-api.phala.network/ws" @zozyo
command "sudo phala status" returns gas account balance is 0
use "wss://para2-api.phala.network/ws" as the --substrate-ws-endpoint parameter in status.sh can get correct balance:
the tested command: $ node /opt/phala/console.js --substrate-ws-endpoint "wss://khala.api.onfinality.io/public-ws" chain free-balance 43cAJWN2gCu8ds5bJgq3nFuJhBAbJKMMgDXr8fPuFq46Q7YF 2021-09-20 06:37:41 API-WS: disconnected from wss://khala.api.onfinality.io/public-ws: 1006:: connection failed 2021-09-20 06:37:44 API-WS: disconnected from wss://khala.api.onfinality.io/public-ws: 1006:: connection failed 2021-09-20 06:37:48 API-WS: disconnected from wss://khala.api.onfinality.io/public-ws: 1006:: connection failed 2021-09-20 06:37:51 API-WS: disconnected from wss://khala.api.onfinality.io/public-ws: 1006:: connection failed 2021-09-20 06:37:58 REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect 2021-09-20 06:37:58 API/INIT: RPC methods not decorated: pha_getMqNextSequence, pha_getStorageChanges 0 $ node /opt/phala/console.js --substrate-ws-endpoint "wss://para2-api.phala.network/ws" chain free-balance 43cAJWN2gCu8ds5bJgq3nFuJhBAbJKMMgDXr8fPuFq46Q7YF 2021-09-20 06:39:13 REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect 2021-09-20 06:39:13 API/INIT: RPC methods not decorated: pha_getMqNextSequence, pha_getStorageChanges 99999859263693441
Please check is there other codes should be modified.