MCPcopy Create free account
hub / github.com/autonomys/subspace / fetch_runtime_code

Method fetch_runtime_code

domains/client/block-builder/src/custom_api.rs:220–222  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

218 Backend: backend::Backend<Block>,
219{
220 fn fetch_runtime_code(&self) -> Option<Cow<'_, [u8]>> {
221 Some(Cow::from(&self.runtime_code.code))
222 }
223}
224
225impl<Client, Block, Backend, Exec> TrieBackendApi<Client, Block, Backend, Exec>

Callers 2

set_new_code_should_workFunction · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by 1

set_new_code_should_workFunction · 0.36