File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,26 +8,26 @@ use revm::{
8
8
Database ,
9
9
} ;
10
10
11
- /// A helper trait responsible for providing that necessary state for the EVM execution.
11
+ /// A helper trait responsible for providing state necessary for EVM execution.
12
12
///
13
- /// This servers as the data layer for [Database].
13
+ /// This serves as the data layer for [` Database` ].
14
14
pub trait EvmStateProvider : Send + Sync {
15
15
/// Get basic account information.
16
16
///
17
- /// Returns `None` if the account doesn't exist.
17
+ /// Returns [ `None`] if the account doesn't exist.
18
18
fn basic_account ( & self , address : Address ) -> ProviderResult < Option < Account > > ;
19
19
20
- /// Get the hash of the block with the given number. Returns `None` if no block with this number
21
- /// exists.
20
+ /// Get the hash of the block with the given number. Returns [ `None`] if no block with this
21
+ /// number exists.
22
22
fn block_hash ( & self , number : BlockNumber ) -> ProviderResult < Option < B256 > > ;
23
23
24
- /// Get account code by its hash
24
+ /// Get account code by hash.
25
25
fn bytecode_by_hash (
26
26
& self ,
27
27
code_hash : B256 ,
28
28
) -> ProviderResult < Option < reth_primitives:: Bytecode > > ;
29
29
30
- /// Get storage of given account.
30
+ /// Get storage of the given account.
31
31
fn storage (
32
32
& self ,
33
33
account : Address ,
You can’t perform that action at this time.
0 commit comments