We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31cba15 commit 5bbc09cCopy full SHA for 5bbc09c
crates/anvil/src/eth/backend/db.rs
@@ -119,7 +119,7 @@ pub trait Db:
119
Ok(())
120
}
121
122
- /// Sets the balance of the given address
+ /// Sets the code of the given address
123
fn set_code(&mut self, address: Address, code: Bytes) -> DatabaseResult<()> {
124
let mut info = self.basic(address)?.unwrap_or_default();
125
let code_hash = if code.as_ref().is_empty() {
@@ -133,7 +133,7 @@ pub trait Db:
133
134
135
136
+ /// Sets the storage value at the given slot for the address
137
fn set_storage_at(&mut self, address: Address, slot: B256, val: B256) -> DatabaseResult<()>;
138
139
/// inserts a blockhash for the given number
0 commit comments