Skip to content

Commit

Permalink
more query -> view function renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
ascjones committed Nov 22, 2024
1 parent 6acc73f commit 282ce5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions substrate/bin/node/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2924,8 +2924,8 @@ impl_runtime_apis! {
}

impl sp_api::RuntimeViewFunction<Block> for Runtime {
fn execute_view_function(query_id: QueryId, query: Vec<u8>) -> Result<Vec<u8>, ViewFunctionDispatchError> {
Runtime::execute_query(query_id, query)
fn execute_view_function(id: ViewFunctionId, input: Vec<u8>) -> Result<Vec<u8>, ViewFunctionDispatchError> {
Runtime::execute_view_function(id, input)
}
}

Expand Down

0 comments on commit 282ce5e

Please sign in to comment.