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 46 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, 40 }, { MerkleTreeId::NOTE_HASH_TREE, 40 },
{ MerkleTreeId::PUBLIC_DATA_TREE, 40 }, { MerkleTreeId::L1_TO_L2_MESSAGE_TREE, 39 },
{ MerkleTreeId::ARCHIVE, 29 },
}

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 42 of file world_state.test.cpp.


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