Skip to content

Commit c9786ae

Browse files
committed
pin block number
1 parent 6c04f60 commit c9786ae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

contracts-core/hardhat.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ const config: HardhatUserConfig = {
5353
hardhat: {
5454
forking: {
5555
url: String(process.env.SEPOLIA_RPC_URL),
56+
// Pin block for deterministic tests and to avoid post-merge totalDifficulty RPC issues in CI.
57+
blockNumber: 5_500_000,
5658
},
5759
chainId: chainIds.hardhat,
5860
accounts: {

0 commit comments

Comments
 (0)