Skip to content

Commit dfa0bd0

Browse files
authored
fix(anvil): return true of setStorageAt (#2698)
1 parent 6aa9047 commit dfa0bd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

anvil/src/eth/api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,10 +1284,10 @@ impl EthApi {
12841284
address: Address,
12851285
slot: U256,
12861286
val: H256,
1287-
) -> Result<()> {
1287+
) -> Result<bool> {
12881288
node_info!("anvil_setStorageAt");
12891289
self.backend.set_storage_at(address, slot, val).await;
1290-
Ok(())
1290+
Ok(true)
12911291
}
12921292

12931293
/// Enable or disable logging.

0 commit comments

Comments
 (0)