diff --git a/packages/common-testnets/src/anvil/AnvilTestnetFactory.ts b/packages/common-testnets/src/anvil/AnvilTestnetFactory.ts index c8f885e33..da589e3af 100644 --- a/packages/common-testnets/src/anvil/AnvilTestnetFactory.ts +++ b/packages/common-testnets/src/anvil/AnvilTestnetFactory.ts @@ -43,8 +43,9 @@ export class AnvilTestnetFactory implements TestnetFactory { const client = getAnvilClient(url) - await client.mineBlocks(1n) - await client.mineBlocks(1n) + const timestamp = (await client.getBlock()).timestamp + await client.setNextBlockTimestamp(timestamp + 1n) + await client.mineBlocks(2n) return { client,