Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
rpc runtime_version safe
  • Loading branch information
niklasad1 committed Sep 15, 2021
commit b1d11b4171ce5c106a02d1b21cdee2b75635b480
3 changes: 1 addition & 2 deletions client/rpc/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ where
return Err(JsonRpseeError::to_call_error(Error::InvalidCount {
value: count,
max: STORAGE_KEYS_PAGED_MAX_COUNT,
}))
}));
}
self.backend
.storage_keys_paged(block, prefix, count, start_key)
Expand Down Expand Up @@ -342,7 +342,6 @@ where
}

async fn runtime_version(&self, at: Option<Block::Hash>) -> JsonRpcResult<RuntimeVersion> {
self.deny_unsafe.check_if_safe()?;
self.backend
.runtime_version(at)
.await
Expand Down