Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Rename OffchainWorker internal method. #4267

Merged
merged 2 commits into from
Dec 3, 2019
Merged

Rename OffchainWorker internal method. #4267

merged 2 commits into from
Dec 3, 2019

Conversation

tomusdrw
Copy link
Contributor

@tomusdrw tomusdrw commented Dec 2, 2019

For some obscure historical reason (and most likely my laziness), the method of OffchainWorker trait is called generate_extrinsics. This PR renames it to just offchain_worker.

Note this trait is rarely (rather close to never) implemented manually, it's auto-implemented via decl_module macro, so this change should be non-breaking.

@tomusdrw tomusdrw added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). M4-core labels Dec 2, 2019
@gavofyork gavofyork merged commit f637962 into master Dec 3, 2019
@gavofyork gavofyork deleted the td-offchain-renam branch December 3, 2019 17:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants