From 3f1fafa710a1535c4a0c483473b0e1095ab6ac79 Mon Sep 17 00:00:00 2001 From: katspaugh <381895+katspaugh@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:45:42 +0200 Subject: [PATCH] Refactor: static network in JsonRpcProvider (#955) --- packages/protocol-kit/src/SafeProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol-kit/src/SafeProvider.ts b/packages/protocol-kit/src/SafeProvider.ts index bef5784e9..4a836e9fc 100644 --- a/packages/protocol-kit/src/SafeProvider.ts +++ b/packages/protocol-kit/src/SafeProvider.ts @@ -62,7 +62,7 @@ class SafeProvider { signer?: SafeSigner }) { if (typeof provider === 'string') { - this.#externalProvider = new JsonRpcProvider(provider) + this.#externalProvider = new JsonRpcProvider(provider, undefined, { staticNetwork: true }) } else { this.#externalProvider = new BrowserProvider(provider) }