Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
WorldStateTest Class Reference
Inheritance diagram for WorldStateTest:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Protected Attributes

uint64_t map_size = 10240
 
uint64_t thread_pool_size = 1
 
std::unordered_map< MerkleTreeId, uint32_t > tree_heights
 
std::unordered_map< MerkleTreeId, index_ttree_prefill
 
uint32_t initial_header_generator_point = 28
 

Static Protected Attributes

static std::string data_dir
 

Detailed Description

Definition at line 22 of file world_state.test.cpp.

Member Function Documentation

◆ SetUp()

void WorldStateTest::SetUp ( )
inlineoverrideprotected

Definition at line 24 of file world_state.test.cpp.

◆ TearDown()

void WorldStateTest::TearDown ( )
inlineoverrideprotected

Definition at line 30 of file world_state.test.cpp.

Member Data Documentation

◆ data_dir

std::string WorldStateTest::data_dir
staticprotected

Definition at line 32 of file world_state.test.cpp.

◆ initial_header_generator_point

uint32_t WorldStateTest::initial_header_generator_point = 28
protected

Definition at line 48 of file world_state.test.cpp.

◆ map_size

uint64_t WorldStateTest::map_size = 10240
protected

Definition at line 33 of file world_state.test.cpp.

◆ thread_pool_size

uint64_t WorldStateTest::thread_pool_size = 1
protected

Definition at line 34 of file world_state.test.cpp.

◆ tree_heights

std::unordered_map<MerkleTreeId, uint32_t> WorldStateTest::tree_heights
protected
Initial value:
{
{ MerkleTreeId::NULLIFIER_TREE, NULLIFIER_TREE_HEIGHT },
{ MerkleTreeId::NOTE_HASH_TREE, NOTE_HASH_TREE_HEIGHT },
{ MerkleTreeId::PUBLIC_DATA_TREE, PUBLIC_DATA_TREE_HEIGHT },
{ MerkleTreeId::L1_TO_L2_MESSAGE_TREE, L1_TO_L2_MSG_TREE_HEIGHT },
{ MerkleTreeId::ARCHIVE, ARCHIVE_HEIGHT },
}
#define ARCHIVE_HEIGHT
#define L1_TO_L2_MSG_TREE_HEIGHT
#define NULLIFIER_TREE_HEIGHT
#define NOTE_HASH_TREE_HEIGHT
#define PUBLIC_DATA_TREE_HEIGHT

Definition at line 37 of file world_state.test.cpp.

◆ tree_prefill

std::unordered_map<MerkleTreeId, index_t> WorldStateTest::tree_prefill
protected
Initial value:
{
{ MerkleTreeId::NULLIFIER_TREE, 128 },
{ MerkleTreeId::PUBLIC_DATA_TREE, 128 },
}

Definition at line 44 of file world_state.test.cpp.


The documentation for this class was generated from the following file: