canontech / staking-payouts

CLI to make staking payout transactions for Substrate FRAME-based chains
Apache License 2.0
43 stars 14 forks source link

API/INIT: RPC methods not decorated #94

Closed minzak closed 1 year ago

minzak commented 1 year ago

When I run staking-payouts I got some errors:

2023-03-16 15:59:10        API/INIT: RPC methods not decorated: chainHead_unstable_body, chainHead_unstable_call, chainHead_unstable_follow, chainHead_unstable_genesisHash, chainHead_unstable_header, chainHead_unstable_stopBody, chainHead_unstable_stopCall, chainHead_unstable_stopStorage, chainHead_unstable_storage, chainHead_unstable_unfollow, chainHead_unstable_unpin, mmr_root, mmr_verifyProof, mmr_verifyProofStateless, transaction_unstable_submitAndWatch, transaction_unstable_unwatch
2023-03-16 15:59:10        API/INIT: polkadot/9370: Not decorating runtime apis without matching versions: TransactionPaymentApi/2 (1 known), TransactionPaymentCallApi/2 (1 known)
2023-03-16 15:59:13 [payouts] info: Exiting ...

In my case it was: node /opt/staking-payouts/build/index.js ls -w wss://rpc.polkadot.io -S /opt/addr.json

# node --version
v16.18.1

# yarn --version
1.22.19
emostov commented 1 year ago

Those are warnings and normally not an issue since we don't use those RPC methods. But try out the latest release I just cut, https://github.com/canontech/staking-payouts/releases/tag/v1.4.7, there should be less undecorated methods for polkadot

minzak commented 1 year ago

Yes, now is better, only left this: API/INIT: RPC methods not decorated: mmr_root, mmr_verifyProof, mmr_verifyProofStateless

emostov commented 1 year ago

Yup, thats ok. To clarify, do you see any issues with actually detecting payouts or submitting payout transaction?

minzak commented 1 year ago

For now can't check more details. When Stake is returned and will be issue, i write here, or in new ticket, but now is ok.