Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
noop_calldata_hashing.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/simulation/interfaces/calldata_hashing.hpp
"
4
5
namespace
bb::avm2::simulation
{
6
7
class
NoopCalldataHasher
:
public
CalldataHashingInterface
{
8
public
:
9
void
assert_calldata_hash
(
const
FF
&
/*cd_hash*/
,
std::span<const FF>
/*calldata*/
)
override
{}
10
};
11
12
class
NoopCalldataHashingProvider
:
public
CalldataHashingProviderInterface
{
13
public
:
14
std::unique_ptr<CalldataHashingInterface>
make_calldata_hasher
(uint32_t
/*context_id*/
)
override
15
{
16
return
std::make_unique<NoopCalldataHasher>
();
17
}
18
};
19
20
}
// namespace bb::avm2::simulation
bb::avm2::simulation::CalldataHashingInterface
Definition
calldata_hashing.hpp:11
bb::avm2::simulation::CalldataHashingProviderInterface
Definition
calldata_hashing.hpp:17
bb::avm2::simulation::NoopCalldataHasher
Definition
noop_calldata_hashing.hpp:7
bb::avm2::simulation::NoopCalldataHasher::assert_calldata_hash
void assert_calldata_hash(const FF &, std::span< const FF >) override
Definition
noop_calldata_hashing.hpp:9
bb::avm2::simulation::NoopCalldataHashingProvider
Definition
noop_calldata_hashing.hpp:12
bb::avm2::simulation::NoopCalldataHashingProvider::make_calldata_hasher
std::unique_ptr< CalldataHashingInterface > make_calldata_hasher(uint32_t) override
Definition
noop_calldata_hashing.hpp:14
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::FF
AvmFlavorSettings::FF FF
Definition
field.hpp:10
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
calldata_hashing.hpp
src
barretenberg
vm2
simulation
standalone
noop_calldata_hashing.hpp
Generated by
1.9.8