Skip to content

Commit

Permalink
update patch
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Jun 13, 2024
1 parent 211307a commit a345020
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions patches/@nomicfoundation+hardhat-viem+2.0.1.patch
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit a345020

Please sign in to comment.