You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem with the current code. Debug needs to be implemented manually, or only if all dependent types have implemented Debug, automatic derivation can be successful.
The text was updated successfully, but these errors were encountered:
#[derive(Debug)]pubstructDatabaseComponents<S,BH>{pubstate:S,pubblock_hash:BH,}#[derive(Debug)]pubstructState<DB>{/// Cached state contains both changed from evm execution and cached/loaded account/storages/// from database. This allows us to have only one layer of cache where we can fetch data./// Additionally we can introduce some preloading of data from database.pubcache:CacheState,/// Optional database that we use to fetch data from. If database is not present, we will/// return not existing account and storage.////// Note: It is marked as Send so database can be shared between threads.pubdatabase:DB,/// Block state, it aggregates transactions transitions into one state.////// Build reverts and state that gets applied to the state.pubtransition_state:Option<TransitionState>,/// After block is finishes we merge those changes inside bundle./// Bundle is used to update database and create changesets./// Bundle state can be set on initialization if we want to use preloaded bundle.pubbundle_state:BundleState,/// Addition layer that is going to be used to fetched values before fetching values/// from database.////// Bundle is the main output of the state execution and this allows setting previous bundle/// and using its values for execution.pubuse_preloaded_bundle:bool,/// If EVM asks for block hash we will first check if they are found here./// and then ask the database.////// This map can be used to give different values for block hashes if in case/// The fork block is different or some blocks are not saved inside database.pubblock_hashes:BTreeMap<u64,B256>,}
such as
DatabaseComponents
/State
/StateDBBox
.There is a problem with the current code.
Debug
needs to be implemented manually, or only if all dependent types have implementedDebug
, automatic derivation can be successful.The text was updated successfully, but these errors were encountered: