New answers tagged

0 votes

Implementing Load Balancing for Multiple Validator Nodes on AWS: Seeking Suggestions

Normally load balancing would be done by services like nginx/haproxy (locally) or cloudflare (external). If you are using polkadot.js I suppose you have some kind of ssl enabled proxying already (...
stakeworld's user avatar
2 votes

What is the max value we can use for `--rpc-max-connections ` flag of substrate node template?

Each of these connections will occupy resources, if used. This means that basically your hardware is the limit, bandwidth, CPU power etc.
bkchr's user avatar
  • 11.1k
0 votes

How to send data from parachain to relaycahin

Please refer to this docs for the understanding
Arunjot Singh's user avatar
0 votes

Compilation Error with Substrate on Rust Nightly: #![feature] May Not Be Used on the Stable Release Channel

Remove the nightly features or use such command to compile with nightly toolchain: Method 1 // Please note that if a `rust-toolchain.toml` file exists in your project root, it will be overridden. ...
AurevoirXavier's user avatar
0 votes

Unable to connect to polkadot node running on wsl to polkadot js app

Polkadot.js needs a secure connection, so without a ssl enabled proxy before the rpc port it will not connect. See also this question for pointers.
stakeworld's user avatar
0 votes

Unable to connect to polkadot node running on wsl to polkadot js app

did you try using https://polkadot.js.org/apps/#/explorer? you can connect your local node at alternatively you can use https://github.com/substrate-developer-hub/substrate-front-end-template
muddlebee's user avatar
0 votes

Subsrate Node Build error: cannot find macro `thread_local` in this scope

I've fixed it by adding my new pallet' STD feature. So if you have your Cargo.toml like [dependencies] pallet-dummy = { git = "https://github.com/xxx", default-features = false } Then ...
clst's user avatar
  • 31
0 votes

Resolving "Bootnode on a Different Chain" Error in Substrate Network Setup

There are three ways to configure the bootnodes. Use the external chainspec file through passing --chain <PATH>. Use the built-in chainspec. When you boot a chain with --chain <NAME>. ...
AurevoirXavier's user avatar
2 votes

I want to Send data to relaychain from parachain?

You can place any payload you want in a Call and send it over as Transact. You can learn more about Transact here. But, as @liamaharon is asking, it is questionable whether you actually need to send a ...
kianenigma's user avatar
  • 2,789
1 vote

Would it be possible to make HTTP request on chain through pallet extrinsic?

It's not possible to make HTTP requests inside pallets calls, their execution must be deterministic.
liamaharon's user avatar
0 votes

How to implement `into_rpc` method in jsonrpsee's rpc macro

The trait bounds are most likely not satisfied for the into_rpc impl, that's why your code won't compile. You probably need additional trait bounds in your function for the params/return types satisfy ...
Niklas Adolfsson's user avatar
2 votes

Issues with Adding `subxt` Dependency to `node-template-runtime` in Substrate Project

Why does adding this dependency to the node-template-runtime module cause an error? The runtime must support compiling the code to no-std and subxt doesn't support that yet. There are ongoing work to ...
Niklas Adolfsson's user avatar
2 votes
Accepted

Substrate Offchain Worker - failed to fetch sample price

You need to allow http requests. https://github.com/paritytech/polkadot-sdk/blob/283d3cc5676417a29783786a41a01680d123f7bb/substrate/client/offchain/src/lib.rs#L112
muharem's user avatar
  • 409

Top 50 recent answers are included