stakeconomy / solanamonitoring

GNU General Public License v3.0
212 stars 49 forks source link

not work #10

Closed cheverev closed 2 years ago

cheverev commented 2 years ago

script not work on version solana v1.9.6 when execute monitor.sh got error in 2 locations

first if [ -z $voteAccount ]; then voteAccount=$($cli validators --url $rpcURL --output json-compact | jq -r 'first (.validators[] | select(.identityPubkey == '\"$identityPubkey\"')) | .voteAccountPubkey'); fi

second validatorCheck=$($cli validators --url $rpcURL)

the error is the same /root/.local/share/solana/install/active_release/bin/solana validators --url http://127.0.0.1:8899 Error: RPC response error -32601: Method not found

cheverev commented 2 years ago

need add --full-rpc-api when start solana