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

Commit

Permalink
patch to get master back to running properly (#5)
Browse files Browse the repository at this point in the history
The "host functions" were never registered with the runtime resulting in a runtime failure to start the node. The white checkmark was given in spite of this because the build succeeds.
  • Loading branch information
waynenilsen authored Nov 18, 2020
1 parent 1deecad commit 2353bc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ structopt = '0.3.8'

# local dependencies
compound-chain-runtime = { path = '../runtime', version = '1.0.0' }
runtime-interfaces = { path = '../pallets/runtime-interfaces', version = '1.0.0' }

# Substrate dependencies
frame-benchmarking = '2.0.0'
Expand Down
2 changes: 1 addition & 1 deletion node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ native_executor_instance!(
pub Executor,
compound_chain_runtime::api::dispatch,
compound_chain_runtime::native_version,
frame_benchmarking::benchmarking::HostFunctions,
(frame_benchmarking::benchmarking::HostFunctions, runtime_interfaces::config_interface::HostFunctions)
);

type FullClient = sc_service::TFullClient<Block, RuntimeApi, Executor>;
Expand Down

0 comments on commit 2353bc9

Please sign in to comment.