Skip to content

Commit

Permalink
fix: increase arbitrary number
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaShWoof committed Dec 27, 2024
1 parent 9d67b33 commit 978dec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/scenario/utils/hreForBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export async function forkedHreForBase(base: ForkSpec): Promise<HardhatRuntimeEn

// noNetwork otherwise
if(!base.blockNumber && baseNetwork.url)
base.blockNumber = await provider.getBlockNumber() - 250; // arbitrary number of blocks to go back, about 1 hour
base.blockNumber = await provider.getBlockNumber() - 270; // arbitrary number of blocks to go back, about 1 hour

if (!baseNetwork) {
throw new Error(`cannot find network config for network: ${base.network}`);
Expand Down

0 comments on commit 978dec0

Please sign in to comment.