5 votes

How can I create OCW that won't activates every block, but will activates only when I call function that it represents?

There are 3 levels of answer to this question. As OCW being a commonly misunderstood topic, it is a very good question. Simple Answer First, a crude and objectively inefficient answer. You can use the ...
kianenigma's user avatar
  • 2,719
1 vote

How can I change --rpc-max-connections on already running substrate-based node?

To the best of my knowledge, this can only be modified during startup. At present, this flag does not support dynamic updates.
AurevoirXavier's user avatar
1 vote

Is there any oracle solutions available for substrate based relay chain?

This link can help you: https://wiki.polkadot.network/docs/build-oracle Here is a copy of the content linked: In the blockchain context, an oracle is a way to bring real-world data onto the blockchain ...
gui's user avatar
  • 221
1 vote

Wrong Proposal Weight in collective pallet tests

Take a closer look at the values you have set for MaxProposalWeight and WeightInfo types in the pallet_collectives::Config. It's highly likely that you have different values set for production and ...
dastansam's user avatar
  • 446

Only top scored, non community-wiki answers of a minimum length are eligible