Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
raw_executor.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_RUNTIME_RAW_EXECUTOR_HPP
7
#define KAGOME_CORE_RUNTIME_RAW_EXECUTOR_HPP
8
9
#include "
common/buffer.hpp
"
10
#include "
outcome/outcome.hpp
"
11
#include "
primitives/common.hpp
"
12
13
namespace
kagome::runtime
{
14
15
class
RawExecutor
{
16
public
:
17
using
Buffer
=
common::Buffer
;
18
using
BlockHash
=
primitives::BlockHash
;
19
virtual
~RawExecutor
() =
default
;
20
29
virtual
outcome::result<Buffer>
callAtRaw
(
const
BlockHash
&block_hash,
30
std::string_view name,
31
const
Buffer
&encoded_args) = 0;
32
};
33
34
}
// namespace kagome::runtime
35
36
#endif // KAGOME_CORE_RUNTIME_RAW_EXECUTOR_HPP
common.hpp
kagome::common::SLBuffer
Class represents arbitrary (including empty) byte buffer.
Definition:
buffer.hpp:29
kagome::common::Blob< 32 >
kagome::runtime::RawExecutor::callAtRaw
virtual outcome::result< Buffer > callAtRaw(const BlockHash &block_hash, std::string_view name, const Buffer &encoded_args)=0
kagome::runtime
Definition:
author_api_impl.hpp:43
outcome.hpp
kagome::runtime::RawExecutor
Definition:
raw_executor.hpp:15
kagome::common::Buffer
SLBuffer< std::numeric_limits< size_t >::max()> Buffer
Definition:
buffer.hpp:244
kagome::primitives::BlockHash
common::Hash256 BlockHash
Definition:
block_id.hpp:15
kagome::runtime::RawExecutor::~RawExecutor
virtual ~RawExecutor()=default
buffer.hpp
core
runtime
raw_executor.hpp
Generated by
1.8.11