Skip to content

Commit e986edc

Browse files
committed
try pending instead of latest
1 parent 376d078 commit e986edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl Environment {
6464

6565
/// Create a new [`AlloyDB`] for this environment using the given provider.
6666
pub fn alloy_db<N: Network, P: Provider<N>>(&self, provider: P) -> AlloyDB<N, P> {
67-
AlloyDB::new(provider, BlockId::latest())
67+
AlloyDB::new(provider, BlockId::pending())
6868
}
6969
}
7070

0 commit comments

Comments
 (0)