Questions tagged [runtime-interface]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers

Calling std-based host function from a pallet

Based on: Use std only rust library to extend substrate runtime interface? How to understand [runtime-interface] and `Externalities`? I understand that I should be able to: have a crate that is not ...
pmikolajczyk41's user avatar
0 votes
0 answers

runtime requires function imports which are not present on the host: 'env:_critical_section_1_0_acquire', 'env:_critical_section_1_0_release'

I wanted to add a runtime interface, which can be simplified to the following: #[sp_runtime_interface::runtime_interface] pub trait Test { fn some_bytes() -> Vec<u8> { vec![] }...
nazar-pc's user avatar
  • 539