Refactors the offchain worker api (#3150)

* Update offchain primitives.

* Update offchain worker.

* Update im-online.

* Update service.

* Update node and node-template.

* Update runtime version.

* Fix build.

* Fix offchain worker tests.

* Generalize authority_pubkey.

* Add test.

* Update lib.rs
This commit is contained in:
David Craven authored and Gavin Wood committed 2019-07-22 17:20:57 +08:00
1 parent 2edeef5825
commit a3d19baea3
17 files changed
+509 -327

No files matched your search

+2 -2
View File
@@ -74,8 +74,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to equal spec_version. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 115,
impl_version: 115,
spec_version: 116,
impl_version: 116,
apis: RUNTIME_API_VERSIONS,
};