diff --git a/patches/@nomicfoundation+hardhat-viem+2.0.1.patch b/patches/@nomicfoundation+hardhat-viem+2.0.1.patch index 1c6aa123..814736a0 100644 --- a/patches/@nomicfoundation+hardhat-viem+2.0.1.patch +++ b/patches/@nomicfoundation+hardhat-viem+2.0.1.patch @@ -1,17 +1,18 @@ diff --git a/node_modules/@nomicfoundation/hardhat-viem/internal/clients.js b/node_modules/@nomicfoundation/hardhat-viem/internal/clients.js -index 9466df2..b3d2fd5 100644 +index 9466df2..e512716 100644 --- a/node_modules/@nomicfoundation/hardhat-viem/internal/clients.js +++ b/node_modules/@nomicfoundation/hardhat-viem/internal/clients.js -@@ -47,7 +47,7 @@ async function innerGetPublicClient(provider, chain, publicClientConfig) { +@@ -47,7 +47,8 @@ async function innerGetPublicClient(provider, chain, publicClientConfig) { const parameters = { ...defaultParameters, ...publicClientConfig }; const publicClient = viem.createPublicClient({ chain, - transport: viem.custom(provider), + transport: viem.custom(provider, { retryCount: 0 }), ++ ccipRead: false, ...parameters, }); return publicClient; -@@ -80,7 +80,7 @@ async function innerGetWalletClients(provider, chain, accounts, walletClientConf +@@ -80,7 +81,7 @@ async function innerGetWalletClients(provider, chain, accounts, walletClientConf const walletClients = accounts.map((account) => viem.createWalletClient({ chain, account, @@ -20,7 +21,7 @@ index 9466df2..b3d2fd5 100644 ...parameters, })); return walletClients; -@@ -123,7 +123,7 @@ async function innerGetTestClient(provider, chain, mode, testClientConfig) { +@@ -123,7 +124,7 @@ async function innerGetTestClient(provider, chain, mode, testClientConfig) { const testClient = viem.createTestClient({ mode, chain,