Kagome
Polkadot Runtime Engine in C++17
|
#include <raw_executor.hpp>
Public Types | |
using | Buffer = common::Buffer |
using | BlockHash = primitives::BlockHash |
Public Member Functions | |
virtual | ~RawExecutor ()=default |
virtual outcome::result< Buffer > | callAtRaw (const BlockHash &block_hash, std::string_view name, const Buffer &encoded_args)=0 |
Definition at line 15 of file raw_executor.hpp.
Definition at line 18 of file raw_executor.hpp.
Definition at line 17 of file raw_executor.hpp.
|
virtualdefault |
|
pure virtual |
Call a runtime method
name | at state on block |
block_hash | in an ephemeral environment, e. g. the storage changes, made by this call, will NOT persist in the node's Trie storage The call will be done with the runtime code from |
block_info | state Arguments for the call are expected to be scale-encoded into single buffer |
encoded_args | beforehand |
Implemented in kagome::runtime::Executor.