Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
retrieved_bytecodes_tree.test.cpp
Go to the documentation of this file.
2
3#include <gtest/gtest.h>
4
5namespace bb::avm2::simulation {
6
7namespace {
8
9TEST(AvmRetrievedBytecodesTree, CorrectRoot)
10{
12 EXPECT_EQ(snapshot.root, FF(AVM_RETRIEVED_BYTECODES_TREE_INITIAL_ROOT));
13 EXPECT_EQ(snapshot.nextAvailableLeafIndex, AVM_RETRIEVED_BYTECODES_TREE_INITIAL_SIZE);
14}
15
16} // namespace
17
18} // namespace bb::avm2::simulation
#define AVM_RETRIEVED_BYTECODES_TREE_INITIAL_ROOT
#define AVM_RETRIEVED_BYTECODES_TREE_INITIAL_SIZE
AppendOnlyTreeSnapshot get_snapshot() const
TEST(EmitUnencryptedLogTest, Basic)
RetrievedBytecodesTree build_retrieved_bytecodes_tree()
typename Flavor::FF FF