substrate-docs icon indicating copy to clipboard operation
substrate-docs copied to clipboard

Offchain worker to `latest` tag and maintain moving forward

Open nuke-web3 opened this issue 3 years ago • 3 comments

https://docs.substrate.io/how-to-guides/v3/ocw/transactions/ is presently broken and relies on monthly and external repos :grimacing:

https://github.com/jimmychu0807/substrate-offchain-worker-demo is referenced now, but we need a stand-alone way that the devhub owns that is as low-manitainance as possible to integrate https://github.com/paritytech/substrate/tree/master/frame/examples/offchain-worker into any latest tagged node template.

nuke-web3 avatar Jan 20 '22 18:01 nuke-web3

https://github.com/substrate-developer-hub/substrate-docs/pull/773 unfortunately needs to have some things reverted for just this content :frowning_face:

nuke-web3 avatar Jan 20 '22 18:01 nuke-web3

https://docs.substrate.io/how-to-guides/v3/ocw/transactions/ is presently broken and relies on monthly and external repos.

  1. What is it means by "presently broken"?
  2. So we always reference to devhub-latest in Substrate repo when referencing Substrate src now?

jimmychu0807 avatar Jan 22 '22 14:01 jimmychu0807

  1. The latest tag is untested, and your examples pin to a monthly that AFAIK is incompatible
  2. Yes: devnhub/latest on upstream repos latest in all devhub repos

nuke-web3 avatar Jan 24 '22 18:01 nuke-web3