Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
169 changes: 90 additions & 79 deletions test/adapters/substrate/Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/adapters/substrate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "substrate-adapter"
version = "0.8.28-6aa73f2"
version = "0.8.28-e6fcc2a"
authors = ["Skalman <skalman@riseup.net>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions test/adapters/substrate/src/host_api/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use sc_executor::{
use sp_io::SubstrateHostFunctions;
use sp_core::{
offchain::testing::TestOffchainExt,
offchain::OffchainExt,
offchain::OffchainWorkerExt,
traits::MissingHostFunctions,
Blake2Hasher,
};
Expand Down Expand Up @@ -89,7 +89,7 @@ impl Runtime {
#[allow(dead_code)]
pub fn with_offchain(mut self) -> Self {
let (offchain, _) = TestOffchainExt::new();
self.ext.register_extension(OffchainExt::new(offchain));
self.ext.register_extension(OffchainWorkerExt::new(offchain));
self
}
pub fn call(&mut self, func: &str, args: &[u8]) -> Vec<u8> {
Expand Down
2 changes: 1 addition & 1 deletion test/hosts/substrate
Submodule substrate updated 152 files
Loading