Skip to content

Commit dc37b0b

Browse files
committed
chore: fmt
1 parent 96376da commit dc37b0b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/payload/checkpoint.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ impl<P: Platform> Checkpoint<P> {
195195
Ok(self.apply_with(mutation, None))
196196
}
197197

198-
/// Executes transaction on top of the current checkpoint. The execution will use the
199-
/// cumulative state of all checkpoints in the current checkpoint history as
200-
/// its state.
198+
/// Executes transaction on top of the current checkpoint. The execution will
199+
/// use the cumulative state of all checkpoints in the current checkpoint
200+
/// history as its state.
201201
pub fn simulate<S>(
202202
&self,
203203
executable: impl IntoExecutable<P, S>,

src/payload/exec.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,7 @@ impl<P: Platform> Executable<P> {
299299
where
300300
DB: DatabaseRef<Error = ProviderError> + Debug,
301301
{
302-
let mut state = State::builder()
303-
.with_database(WrapDatabaseRef(db))
304-
.build();
302+
let mut state = State::builder().with_database(WrapDatabaseRef(db)).build();
305303

306304
let result = block
307305
.evm_config()

0 commit comments

Comments
 (0)