Kagome
Polkadot Runtime Engine in C++17
|
#include <constant_code_provider.hpp>
Public Member Functions | |
ConstantCodeProvider (common::Buffer code) | |
outcome::result< gsl::span< const uint8_t > > | getCodeAt (const storage::trie::RootHash &at) const override |
Public Member Functions inherited from kagome::runtime::RuntimeCodeProvider | |
virtual | ~RuntimeCodeProvider ()=default |
Private Attributes | |
common::Buffer | code_ |
A code provider that serves only one fixed blob of code for any state
Definition at line 16 of file constant_code_provider.hpp.
|
explicit |
Definition at line 10 of file constant_code_provider.cpp.
|
overridevirtual |
Implements kagome::runtime::RuntimeCodeProvider.
Definition at line 13 of file constant_code_provider.cpp.
|
private |
Definition at line 24 of file constant_code_provider.hpp.