New answers tagged

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

execute_block, initialize_block, apply_extrinsic, finalize_block, offchain_worker exists for struct `Executive` but its trait bound were not satisfied

If you look at the impl Checkable for UncheckedExtrinsic, you can see that this impl block is only present if a specific list of where clauses are met. The error you are getting is telling you that ...
kianenigma's user avatar
  • 2,789
2 votes

Substrate Offchain Worker - failed to fetch sample price

You need to allow http requests.
muharem's user avatar
  • 409

Top 50 recent answers are included